package
2.0.0+incompatible
Repository: https://github.com/szx-power/kubernetes-client-go.git
Documentation: pkg.go.dev

# Packages

The types defined in this package are used by the meta package to represent the in-memory version of objects.

# Functions

Accessor takes an arbitrary object pointer and returns meta.Interface.
EachListItem invokes fn on each runtime.Object in the list.
ExtractList returns obj's Items element as an array of runtime.Objects.
GetItemsPtr returns a pointer to the list object's Items member.
InterfacesForUnstructured returns VersionInterfaces suitable for dealing with runtime.Unstructured objects.
No description provided by the author
IsListType returns true if the provided Object has a slice called Items.
No description provided by the author
KindToResource converts Kind to a resource name.
ListAccessor returns a List interface for the provided object or an error if the object does not provide List.
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.
SetList sets the given list object's Items member have the elements given in objects.
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
No description provided by the author
No description provided by the author
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

AmbiguousKindError is returned if the RESTMapper finds multiple matches for a kind.
AmbiguousResourceError is returned if the RESTMapper finds multiple matches for a resource.
DefaultRESTMapper exposes mappings between the types defined in a runtime.Scheme.
FirstHitRESTMapper is a wrapper for multiple RESTMappers which returns the first successful result for the singular requests.
NoKindMatchError is returned if the RESTMapper can't find any match for a kind.
NoResourceMatchError is returned if the RESTMapper can't find any match for a resource.
PriorityRESTMapper is a wrapper for automatically choosing a particular Resource or Kind when multiple matches are possible.
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

No description provided by the author
MetadataAccessor lets you work with object and list metadata from any of the versioned or internal API objects.
Object lets you work with object metadata from any of the versioned or internal API objects.
No description provided by the author
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.

# Type aliases

List lets you work with list metadata from any of the versioned or internal API objects.
MultiRESTMapper is a wrapper for multiple RESTMappers.
No description provided by the author
Type exposes the type and APIVersion of versioned or internal API objects.
VersionInterfacesFunc returns the appropriate typer, and metadata accessor for a given api version, or an error if no such api version exists.