package
0.21.4
Repository: https://github.com/openai/kubernetes.git
Documentation: pkg.go.dev

# Packages

Package queryparams provides conversion from versioned runtime objects to URL query values.

# Functions

EnforcePtr ensures that obj is a pointer of some sort.
For convenience, panics on errrors.
No description provided by the author
No description provided by the author
IsNotRegisteredError returns true if the error indicates the provided object or input data is not registered.
NewCloner creates a new Cloner object.
NewConverter creates a new Converter object.
No description provided by the author
No description provided by the author
NewScheme manufactures a new scheme.
UpdateVersionAndKind uses reflection to find and set the versionField and kindField fields on a pointer to a struct to version and kind.

# Constants

Don't require type names to match.
Loop through destination fields, search for matching source field to copy it from.
Don't treat it as an error if the corresponding source or dest field can't be found.
Loop through source fields, search for matching dest field to copy it into.

# Variables

DefaultMetaFactory is a default factory for versioning objects in JSON.

# Structs

Cloner knows how to copy one type to another.
Converter knows how to convert one type to another.
The code for this type must be located in third_party, since it forks from go std lib.
Meta is supplied by Scheme, when it calls Convert.
Scheme defines an entire encoding and decoding scheme.
SimpleMetaFactory provides default methods for retrieving the type and version of objects that are identified with an "apiVersion" and "kind" fields in their JSON serialization.

# Interfaces

DebugLogger allows you to get debugging messages if necessary.
MetaFactory is used to store and retrieve the version and kind information for all objects in a scheme.
Scope is passed to conversion funcs to allow them to continue an ongoing conversion.

# Type aliases

FieldMappingFunc can convert an input field value into different values, depending on the value of the source or destination struct tags.
FieldMatchingFlags contains a list of ways in which struct fields could be copied.