package
1.4.0-alpha.1
Repository: https://github.com/jbuberel/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CheckCodec makes sure that the codec can encode objects like internalType, decode all of the external types listed, and also decode them into the given object.
No description provided by the author
No description provided by the author
Conver_Slice_string_To_bool will convert a string parameter to boolean.
No description provided by the author
No description provided by the author
No description provided by the author
Decode is a convenience wrapper for decoding data into an Object.
DecodeInto performs a Decode into the provided object.
DecodeList alters the list in place, attempting to decode any objects found in the list that have the Unknown type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Encode is a convenience wrapper for encoding to a []byte from an Encoder.
EncodeList ensures that each object in an array is converted to a Unknown{} in serialized form.
EncodeOrDie is a version of Encode which will panic instead of returning an error.
Field puts the value of fieldName, which must be a member of v, into dest, which must be a variable to which this field's value can be assigned.
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.
IsMissingKind returns true if the error indicates that the provided object is missing a 'Kind' field.
No description provided by the author
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.
No description provided by the author
NewCodec creates a Codec from an Encoder and Decoder.
NewEncodable creates an object that will be encoded with the provided codec on demand.
NewEncodableList creates an object that will be encoded with the provided codec on demand.
No description provided by the author
IsMissingVersion returns true if the error indicates that the provided object is missing a 'Versioj' field.
NewNotRegisteredErr is exposed for testing.
NewParameterCodec creates a ParameterCodec capable of transforming url values into versioned objects and back.
NewScheme creates a new Scheme.
ParseDocumentationFrom gets all types' documentation and returns them as an array.
SetField puts the value of src, into fieldName, which must be a member of v.
SetZeroValue would set the object of objPtr to zero value of its type.
UnsafeObjectConvertor performs object conversion without copying the object structure, for use when the converted object will not be reused or mutated.
UseOrCreateObject returns obj if the canonical ObjectKind returned by the provided typer matches gvk, or invokes the ObjectCreator to instantiate a new gvk.
VerifySwaggerDocsExist writes in a io.Writer a list of structs and fields that are missing of documentation.
WriteSwaggerDocFunc writes a declaration of a function as a string.

# Constants

APIVersionInternal may be used if you are registering a type that should not be considered stable or serialized - it is a convention only and has no special behavior in this package.
No description provided by the author

# Variables

DefaultFramer is valid for any stream that can read objects serially without any separation in the stream.
DefaultStringConversions are helpers for converting []string and string to real values.
No description provided by the author
No description provided by the author
UnstructuredJSONScheme is capable of converting JSON data into the Unstructured type, which can be used for generic access to objects without a predefined scheme.

# Structs

NoopDecoder converts an Encoder to a Serializer or Codec for code that expects them but only uses encoding.
NoopEncoder converts an Decoder to a Serializer or Codec for code that expects them but only uses decoding.
Pair of strings.
RawExtension is used to hold extensions in external versions.
Scheme defines methods for serializing and deserializing API objects, a type registry for converting group, version, and kind information to and from Go schemas, and mappings between Go schemas of different versions.
SerializerInfo contains information about a specific serialization format.
StreamSerializerInfo contains information about a specific stream serialization format.
TypeMeta is shared by all top level objects.
Unknown allows api objects with unknown types to be passed-through.
Unstructured allows objects that do not have Golang structs registered to be manipulated generically.
UnstructuredList allows lists that do not have Golang structs registered to be manipulated generically.
UnstructuredObjectConverter is an ObjectConverter for use with Unstructured objects.
VersionedObjects is used by Decoders to give callers a way to access all versions of an object during the decoding process.

# Interfaces

No description provided by the author
No description provided by the author
Framer is a factory for creating readers and writers that obey a particular framing pattern.
NegotiatedSerializer is an interface used for obtaining encoders, decoders, and serializers for multiple supported media types.
All API types registered with Scheme must support the Object interface.
ObjectConvertor converts an object to a different version.
ObjectCopier duplicates an object.
ObjectCreater contains methods for instantiating an object by kind and version.
ObjectTyper contains methods for extracting the APIVersion and Kind of objects.
No description provided by the author
ParameterCodec defines methods for serializing and deserializing API objects to url.Values and performing any necessary conversion.
No description provided by the author
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.
Serializer is the core interface for transforming objects into a serialized format and back.
StorageSerializer is an interface used for obtaining encoders, decoders, and serializers that can read and write data at rest.

# Type aliases

Codec is a Serializer that deals with the details of versioning objects.
Function to convert a field selector to internal representation.
KubeTypes is an array to represent all available types in a parsed file.
MultiObjectTyper returns the types of objects across multiple schemes in order.