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

func TestReplaceAliases(t *testing.T) {}

func TestKindFor(t *testing.T) {}

func TestKindForWithNewCRDs(t *testing.T) {}

func TestWarnAmbigious(t *testing.T) {}

type fakeRESTMapper

func (f *fakeRESTMapper) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error) {}

func (f *fakeRESTMapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error) {}

func (f *fakeRESTMapper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error) {}

func (f *fakeRESTMapper) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error) {}

func (f *fakeRESTMapper) RESTMapping(gk schema.GroupKind, versions ...string) (*meta.RESTMapping, error) {}

func (f *fakeRESTMapper) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error) {}

func (f *fakeRESTMapper) ResourceSingularizer(resource string) (singular string, err error) {}

type fakeDiscoveryClient

var _

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

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 (c *fakeDiscoveryClient) OpenAPIV3() openapi.Client {}

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

type fakeCachedDiscoveryClient

var _

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

func (c *fakeCachedDiscoveryClient) Invalidate() {}