Documentation ¶
Index ¶
- func New(cfg *rest.Config) (meta.RESTMapper, error)
- type RESTMapperGlobalCache
- func (m *RESTMapperGlobalCache) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error)
- func (m *RESTMapperGlobalCache) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
- func (m *RESTMapperGlobalCache) RESTMapping(gk schema.GroupKind, versions ...string) (*meta.RESTMapping, error)
- func (m *RESTMapperGlobalCache) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error)
- func (m *RESTMapperGlobalCache) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error)
- func (m *RESTMapperGlobalCache) ResourceSingularizer(resource string) (string, error)
- func (m *RESTMapperGlobalCache) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RESTMapperGlobalCache ¶
type RESTMapperGlobalCache struct {
// contains filtered or unexported fields
}
func (*RESTMapperGlobalCache) KindFor ¶
func (m *RESTMapperGlobalCache) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error)
func (*RESTMapperGlobalCache) KindsFor ¶
func (m *RESTMapperGlobalCache) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
func (*RESTMapperGlobalCache) RESTMapping ¶
func (m *RESTMapperGlobalCache) RESTMapping(gk schema.GroupKind, versions ...string) (*meta.RESTMapping, error)
func (*RESTMapperGlobalCache) RESTMappings ¶
func (m *RESTMapperGlobalCache) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error)
func (*RESTMapperGlobalCache) ResourceFor ¶
func (m *RESTMapperGlobalCache) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error)
func (*RESTMapperGlobalCache) ResourceSingularizer ¶
func (m *RESTMapperGlobalCache) ResourceSingularizer(resource string) (string, error)
func (*RESTMapperGlobalCache) ResourcesFor ¶
func (m *RESTMapperGlobalCache) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
Click to show internal directories.
Click to hide internal directories.