type resourceMapEntry …
type fakeDiscovery …
func (c *fakeDiscovery) ServerResourcesForGroupVersion(groupVersion string) (*metav1.APIResourceList, error) { … }
func (c *fakeDiscovery) ServerGroups() (*metav1.APIGroupList, error) { … }
func TestClient(t *testing.T) { … }
func TestServerGroupsFails(t *testing.T) { … }
func TestPartialPermanentFailure(t *testing.T) { … }
func TestPartialRetryableFailure(t *testing.T) { … }
func TestOpenAPIMemCache(t *testing.T) { … }
func TestMemCacheGroupsAndMaybeResources(t *testing.T) { … }
func TestAggregatedMemCacheGroupsAndMaybeResources(t *testing.T) { … }
func TestMemCacheAggregatedServerGroups(t *testing.T) { … }
func groupNamesFromList(groups *metav1.APIGroupList) []string { … }
func preferredVersionsFromList(groups *metav1.APIGroupList) []string { … }
func groupVersionsFromGroups(groups *metav1.APIGroupList) []string { … }
func groupVersionKinds(resources []*metav1.APIResourceList) []string { … }
func failedGroupVersions(gvs map[schema.GroupVersion]error) []string { … }