func TestMultiRESTMapperResourceFor(t *testing.T) { … } func TestMultiRESTMapperResourcesFor(t *testing.T) { … } func TestMultiRESTMapperKindsFor(t *testing.T) { … } func TestMultiRESTMapperKindFor(t *testing.T) { … } func TestMultiRESTMapperRESTMappings(t *testing.T) { … } type fixedRESTMapper … func (m fixedRESTMapper) ResourceSingularizer(resource string) (singular string, err error) { … } func (m fixedRESTMapper) ResourcesFor(resource schema.GroupVersionResource) ([]schema.GroupVersionResource, error) { … } func (m fixedRESTMapper) KindsFor(resource schema.GroupVersionResource) (gvk []schema.GroupVersionKind, err error) { … } func (m fixedRESTMapper) ResourceFor(resource schema.GroupVersionResource) (schema.GroupVersionResource, error) { … } func (m fixedRESTMapper) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error) { … } func (m fixedRESTMapper) RESTMapping(gk schema.GroupKind, versions ...string) (mapping *RESTMapping, err error) { … } func (m fixedRESTMapper) RESTMappings(gk schema.GroupKind, versions ...string) (mappings []*RESTMapping, err error) { … } func (m fixedRESTMapper) ResourceIsValid(resource schema.GroupVersionResource) bool { … }