package
0.21.4
Repository: https://github.com/jerpeter1/kubernetes.git
Documentation: pkg.go.dev

# Functions

Accessor takes an arbitrary object pointer and returns meta.Interface.
NewAccessor returns a MetadataAccessor that can retrieve or manipulate resource version on objects derived from core API metadata concepts.
NewDefaultRESTMapper initializes a mapping between Kind and APIVersion to a resource name and back based on the objects in a runtime.Scheme and the Kubernetes API conventions.
TypeAccessor returns an interface that allows retrieving and modifying the APIVersion and Kind of an in-memory internal object.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

DefaultRESTMapper exposes mappings between the types defined in a runtime.Scheme.
RESTMapping contains the information needed to deal with objects of a specific resource and kind in a RESTful manner.
VersionInterfaces contains the interfaces one should use for dealing with types of a particular version.

# Interfaces

Interface lets you work with object and list metadata from any of the versioned or internal API objects.
MetadataAccessor lets you work with object and list metadata from any of the versioned or internal API objects.
RESTMapper allows clients to map resources to kind, and map kind and version to interfaces for manipulating those objects.
RESTScope contains the information needed to deal with REST resources that are in a resource hierarchy TODO After we deprecate v1beta1 and v1beta2, we can look a supporting removing the flexibility of supporting either a query or path param, and instead just support path param.
TypeInterface exposes the type and APIVersion of versioned or internal API objects.

# Type aliases

MultiRESTMapper is a wrapper for multiple RESTMappers.
No description provided by the author
VersionInterfacesFunc returns the appropriate codec, typer, and metadata accessor for a given api version, or false if no such api version exists.