Documentation ¶
Index ¶
- func NewDynamicRESTMapper(cfg *rest.Config) (meta.RESTMapper, error)deprecated
- type DynamicRESTMapperdeprecated
- func (drm *DynamicRESTMapper) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error)deprecated
- func (drm *DynamicRESTMapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error)deprecated
- func (drm *DynamicRESTMapper) RESTMapping(gk schema.GroupKind, versions ...string) (*meta.RESTMapping, error)deprecated
- func (drm *DynamicRESTMapper) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error)deprecated
- func (drm *DynamicRESTMapper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error)deprecated
- func (drm *DynamicRESTMapper) ResourceSingularizer(resource string) (singular string, err error)deprecated
- func (drm *DynamicRESTMapper) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error)deprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDynamicRESTMapper
deprecated
func NewDynamicRESTMapper(cfg *rest.Config) (meta.RESTMapper, error)
NewDynamicRESTMapper returns a RESTMapper that dynamically discovers resource types at runtime. This is in contrast to controller-manager's default RESTMapper, which only checks resource types at startup, and so can't handle the case of first creating a CRD and then creating an instance of that CRD.
Deprecated: NewDynamicRESTMapper exists for historical compatibility and should not be used. See that it was implemented in the controller-runtime. More info: https://github.com/kubernetes-sigs/controller-runtime/pull/554
Types ¶
type DynamicRESTMapper
deprecated
type DynamicRESTMapper struct {
// contains filtered or unexported fields
}
Deprecated: DynamicRESTMapper exists for historical compatibility and should not be used. See that it was implemented in the controller-runtime. More info: https://github.com/kubernetes-sigs/controller-runtime/pull/554
func (*DynamicRESTMapper) KindFor
deprecated
func (drm *DynamicRESTMapper) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error)
Deprecated: KindFor exists for historical compatibility and should not be used. See that it was implemented in the controller-runtime. More info: https://github.com/kubernetes-sigs/controller-runtime/pull/554
func (*DynamicRESTMapper) KindsFor
deprecated
func (drm *DynamicRESTMapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
Deprecated: KindsFor exists for historical compatibility and should not be used. See that it was implemented in the controller-runtime. More info: https://github.com/kubernetes-sigs/controller-runtime/pull/554
func (*DynamicRESTMapper) RESTMapping
deprecated
func (drm *DynamicRESTMapper) RESTMapping(gk schema.GroupKind, versions ...string) (*meta.RESTMapping, error)
Deprecated: RESTMapping exists for historical compatibility and should not be used. See that it was implemented in the controller-runtime. More info: https://github.com/kubernetes-sigs/controller-runtime/pull/554
func (*DynamicRESTMapper) RESTMappings
deprecated
func (drm *DynamicRESTMapper) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error)
Deprecated: RESTMappings exists for historical compatibility and should not be used. See that it was implemented in the controller-runtime. More info: https://github.com/kubernetes-sigs/controller-runtime/pull/554
func (*DynamicRESTMapper) ResourceFor
deprecated
func (drm *DynamicRESTMapper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error)
Deprecated: ResourceFor exists for historical compatibility and should not be used. See that it was implemented in the controller-runtime. More info: https://github.com/kubernetes-sigs/controller-runtime/pull/554
func (*DynamicRESTMapper) ResourceSingularizer
deprecated
func (drm *DynamicRESTMapper) ResourceSingularizer(resource string) (singular string, err error)
Deprecated: ResourceSingularizer exists for historical compatibility and should not be used. See that it was implemented in the controller-runtime. More info: https://github.com/kubernetes-sigs/controller-runtime/pull/554
func (*DynamicRESTMapper) ResourcesFor
deprecated
func (drm *DynamicRESTMapper) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
Deprecated: ResourcesFor exists for historical compatibility and should not be used. See that it was implemented in the controller-runtime. More info: https://github.com/kubernetes-sigs/controller-runtime/pull/554