Documentation
¶
Index ¶
- func NewCached(config *rest.Config) (meta.RESTMapper, error)
- type Cached
- func (c *Cached) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error)
- func (c *Cached) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
- func (c *Cached) RESTMapping(gk schema.GroupKind, versions ...string) (*meta.RESTMapping, error)
- func (c *Cached) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error)
- func (c *Cached) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error)
- func (c *Cached) ResourceSingularizer(resource string) (singular string, err error)
- func (c *Cached) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cached ¶
func (*Cached) KindFor ¶
func (c *Cached) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error)
func (*Cached) KindsFor ¶
func (c *Cached) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
func (*Cached) RESTMapping ¶
func (*Cached) RESTMappings ¶
func (*Cached) ResourceFor ¶
func (c *Cached) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error)
func (*Cached) ResourceSingularizer ¶
func (*Cached) ResourcesFor ¶
func (c *Cached) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
Click to show internal directories.
Click to hide internal directories.