package
2.0.0+incompatible
Repository: https://github.com/kmodules/k8s-client-go.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 'Version' field.
NewMultiGroupVersioner returns the provided group version for any kind that matches one of the provided group kinds.
NewNotRegisteredErr is exposed for testing.
NewParameterCodec creates a ParameterCodec capable of transforming url values into versioned objects and back.
NewScheme creates a new Scheme.
NewSchemeBuilder calls Register for you.
ParseDocumentationFrom gets all types' documentation and returns them as an array.
SerializerInfoForMediaType returns the first info in types that has a matching media type (which cannot include media-type parameters), or the first info with an empty media type, or false if no type matches.
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.
DisabledGroupVersioner will reject all kinds passed to it.
No description provided by the author
No description provided by the author
InternalGroupVersioner will always prefer the internal version for a given group version kind.
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

DefaultingSerializer invokes defaulting after decoding.
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

Decoders attempt to load an object from data.
Encoders write objects to a serialized form.
Framer is a factory for creating readers and writers that obey a particular framing pattern.
GroupVersioner refines a set of possible conversion targets into a single option.
NegotiatedSerializer is an interface used for obtaining encoders, decoders, and serializers for multiple supported media types.
NestedObjectDecoder is an optional interface that objects may implement to be given an opportunity to decode any nested Objects / RawExtensions during serialization.
NestedObjectEncoder is an optional interface that objects may implement to be given an opportunity to encode any nested Objects / RawExtensions during serialization.
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.
No description provided by the author
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.
GroupVersioners implements GroupVersioner and resolves to the first exact match for any kind.
KubeTypes is an array to represent all available types in a parsed file.
MultiObjectTyper returns the types of objects across multiple schemes in order.
SchemeBuilder collects functions that add things to a scheme.