kubernetesk8s.io/kubernetes/pkg/kubectl/scheme Index | Files

package scheme

import "k8s.io/kubernetes/pkg/kubectl/scheme"

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.

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

func DefaultJSONEncoder() runtime.Encoder

DefaultJSONEncoder returns a default encoder for our scheme

Source Files

install.go scheme.go

Version
v1.10.10
Published
Nov 8, 2018
Platform
js/wasm
Imports
36 packages
Last checked
3 minutes ago

Tools for package owners.