kubernetes/staging/src/k8s.io/client-go/discovery/cached/disk/cached_discovery_test.go

func TestCachedDiscoveryClient_Fresh(t *testing.T) {}

func TestNewCachedDiscoveryClient_TTL(t *testing.T) {}

func TestNewCachedDiscoveryClient_PathPerm(t *testing.T) {}

// Tests that schema instances returned by openapi cached and returned after
// successive calls
func TestOpenAPIDiskCache(t *testing.T) {}

// Tests function "ServerGroups" when the "unaggregated" discovery is returned.
func TestCachedDiscoveryClientUnaggregatedServerGroups(t *testing.T) {}

// Aggregated discovery format returned
func TestCachedDiscoveryClientAggregatedServerGroups(t *testing.T) {}

func numFilesFound(dir string, filename string) (int, error) {}

type fakeDiscoveryClient

var _

func (c *fakeDiscoveryClient) RESTClient() restclient.Interface {}

func (c *fakeDiscoveryClient) ServerGroups() (*metav1.APIGroupList, error) {}

func (c *fakeDiscoveryClient) serverGroups() (*metav1.APIGroupList, error) {}

func (c *fakeDiscoveryClient) ServerResourcesForGroupVersion(groupVersion string) (*metav1.APIResourceList, error) {}

func (c *fakeDiscoveryClient) ServerGroupsAndResources() ([]*metav1.APIGroup, []*metav1.APIResourceList, error) {}

func (c *fakeDiscoveryClient) ServerPreferredResources() ([]*metav1.APIResourceList, error) {}

func (c *fakeDiscoveryClient) ServerPreferredNamespacedResources() ([]*metav1.APIResourceList, error) {}

func (c *fakeDiscoveryClient) ServerVersion() (*version.Info, error) {}

func (c *fakeDiscoveryClient) OpenAPISchema() (*openapi_v2.Document, error) {}

func (d *fakeDiscoveryClient) OpenAPIV3() openapi.Client {}

func (d *fakeDiscoveryClient) WithLegacy() discovery.DiscoveryInterface {}

func groupNamesFromList(groups *metav1.APIGroupList) []string {}

func preferredVersionsFromList(groups *metav1.APIGroupList) []string {}

func groupVersionsFromGroups(groups *metav1.APIGroupList) []string {}