Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Codecs = serializer.NewCodecFactory(Scheme)
Codecs provides access to encoding and decoding for the scheme
var GroupFactoryRegistry = make(announced.APIGroupFactoryRegistry)
GroupFactoryRegistry is the APIGroupFactoryRegistry (overlaps a bit with Registry, see comments in package for details)
var ParameterCodec = runtime.NewParameterCodec(Scheme)
ParameterCodec handles versioning of objects that are converted to query parameters.
var Registry = registered.NewOrDie(os.Getenv("KUBE_API_VERSIONS"))
Registry is an instance of an API registry.
var Scheme = runtime.NewScheme()
Scheme is the default instance of runtime.Scheme to which types in the Kubernetes API are already registered.
var Versions = []schema.GroupVersion{}
Versions is a list of group versions in order of preferred serialization. This used to be discovered dynamically, from the server for use in the client, but that gives conflicting lists of non-existent versions. This only needs to live until we stop attempting to perform any conversion client-side and is only valid for items existent in our scheme.
Functions ¶
func DefaultJSONEncoder ¶ added in v1.10.0
DefaultJSONEncoder returns a default encoder for our scheme
Types ¶
This section is empty.