Documentation ¶
Index ¶
- type Mapper
- func (m Mapper) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error)
- func (m Mapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
- func (m Mapper) RESTMapping(gk schema.GroupKind, versions ...string) (*meta.RESTMapping, error)
- func (m Mapper) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error)
- func (m Mapper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error)
- func (m Mapper) ResourceSingularizer(resource string) (singular string, err error)
- func (m Mapper) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mapper ¶
type Mapper struct { }
func (Mapper) KindFor ¶
func (m Mapper) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error)
func (Mapper) KindsFor ¶
func (m Mapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
func (Mapper) RESTMapping ¶
func (Mapper) RESTMappings ¶
func (Mapper) ResourceFor ¶
func (m Mapper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error)
func (Mapper) ResourceSingularizer ¶
func (Mapper) ResourcesFor ¶
func (m Mapper) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
Click to show internal directories.
Click to hide internal directories.