package
0.14.0
Repository: https://github.com/jsafrane/kubernetes.git
Documentation: pkg.go.dev

# Functions

CodecFor returns a Codec that invokes Encode with the provided version.
EncodeOrDie is a version of Encode which will panic instead of returning an error.
ExtractList returns obj's Items element as an array of runtime.Objects.
fieldPtr puts the address of fieldName, which must be a member of v, into dest, which must be an address of a variable to which this field's address can be assigned.
GetItemsPtr returns a pointer to the list object's Items member.
TODO: move me to pkg/api/meta.
IsMissingKind returns true if the error indicates that the provided object is missing a 'Kind' field.
IsMissingVersion returns true if the error indicates that the provided object is missing a 'Versioj' field.
IsNotRegisteredError returns true if the error indicates the provided object or input data is not registered.
JSONKeyMapper uses the struct tags on a conversion to determine the key value for the other side.
NewScheme creates a new Scheme.
SetList sets the given list object's Items member have the elements given in objects.
YAMLDecoder adds YAML decoding support to a codec that supports JSON.

# Variables

DefaultStringConversions are helpers for converting []string and string to real values.

# Structs

EmbeddedObject has appropriate encoder and decoder functions, such that on the wire, it's stored as a []byte, but in memory, the contained object is accessible as an Object via the Get() function.
PluginBase is like TypeMeta, but it's intended for plugin objects that won't ever be encoded except while embedded in other objects.
RawExtension is used with EmbeddedObject to do a two-phase encoding of extension objects.
Scheme defines methods for serializing and deserializing API objects.
TypeMeta is shared by all top level objects.
Unknown allows api objects with unknown types to be passed-through.

# Interfaces

Codec defines methods for serializing and deserializing API objects.
Decoder defines methods for deserializing API objects into a given type.
Encoder defines methods for serializing API objects into bytes.
All api types must support the Object interface.
ObjectConvertor converts an object to a different version.
ObjectCreater contains methods for instantiating an object by kind and version.
ObjectTyper contains methods for extracting the APIVersion and Kind of objects.
ResourceVersioner provides methods for setting and retrieving the resource version from an API object.
SelfLinker provides methods for setting and retrieving the SelfLink field of an API object.

# Type aliases

Function to convert a field selector to internal representation.