restmapper

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

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

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL