package
0.4.3
Repository: https://github.com/sub-mod/kubernetes.git
Documentation: pkg.go.dev

# Functions

CodecFor returns a Codec that invokes Encode with the provided version.
GetYAML implements the yaml.Getter interface.
MarshalJSON implements the json.Marshaler interface.
SetYAML implements the yaml.Setter interface.
UnmarshalJSON implements the json.Unmarshaler interface.
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.
FindTypeMeta takes an arbitary api type, returns pointer to its TypeMeta field.
GetItemsPtr returns a pointer to the list object's Items member.
NewScheme creates a new Scheme.
NewTypeMetaResourceVersioner returns a ResourceVersioner that can set or retrieve ResourceVersion on objects derived from TypeMeta.
NewTypeMetaSelfLinker returns a SelfLinker that works on all TypeMeta SelfLink fields.
SetList sets the given list object's Items member have the elements given in objects.

# 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.
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.
TypeMetaInterface lets you work with a TypeMeta from any of the versioned or internal APIObjects.