kubernetes/staging/src/k8s.io/client-go/restmapper/discovery_test.go

func TestRESTMapper(t *testing.T) {}

func TestDeferredDiscoveryRESTMapper_CacheMiss(t *testing.T) {}

func TestGetAPIGroupResources(t *testing.T) {}

var _

type fakeFailingDiscovery

func (*fakeFailingDiscovery) RESTClient() restclient.Interface {}

func (d *fakeFailingDiscovery) ServerGroups() (*metav1.APIGroupList, error) {}

func (d *fakeFailingDiscovery) ServerGroupsAndResources() ([]*metav1.APIGroup, []*metav1.APIResourceList, error) {}

func (d *fakeFailingDiscovery) ServerResourcesForGroupVersion(groupVersion string) (*metav1.APIResourceList, error) {}

func (d *fakeFailingDiscovery) ServerPreferredResources() ([]*metav1.APIResourceList, error) {}

func (d *fakeFailingDiscovery) ServerPreferredNamespacedResources() ([]*metav1.APIResourceList, error) {}

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

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

func (c *fakeFailingDiscovery) OpenAPIV3() openapi.Client {}

func (c *fakeFailingDiscovery) WithLegacy() DiscoveryInterface {}

type fakeCachedDiscoveryInterface

var _

func (c *fakeCachedDiscoveryInterface) Fresh() bool {}

func (c *fakeCachedDiscoveryInterface) Invalidate() {}

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

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

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

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

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

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

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

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

func (c *fakeCachedDiscoveryInterface) OpenAPIV3() openapi.Client {}

func (c *fakeCachedDiscoveryInterface) WithLegacy() DiscoveryInterface {}

var aGroup

var bGroup

var aResources

var aFoo

var bResources

var bBar