kubernetesk8s.io/kubernetes/pkg/api/legacyscheme Index | Files

package legacyscheme

import "k8s.io/kubernetes/pkg/api/legacyscheme"

Index

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. This is an interim step to start removing the idea of a global API registry.

var Scheme = runtime.NewScheme()

Scheme is the default instance of runtime.Scheme to which types in the Kubernetes API are already registered. NOTE: If you are copying this file to start a new api group, STOP! Copy the extensions group instead. This Scheme is special and should appear ONLY in the api group, unless you really know what you're doing. TODO(lavalamp): make the above error impossible.

Source Files

scheme.go

Version
v1.9.6
Published
Mar 20, 2018
Platform
js/wasm
Imports
5 packages
Last checked
1 minute ago

Tools for package owners.