kubernetes: k8s.io/kubernetes/pkg/kubectl/scheme Index | Files

package scheme

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


Package Files

install.go scheme.go


var Codecs = serializer.NewCodecFactory(Scheme)

Codecs provides access to encoding and decoding for the scheme

var ParameterCodec = runtime.NewParameterCodec(Scheme)

ParameterCodec handles versioning of objects that are converted to query parameters.

var Scheme = runtime.NewScheme()

Scheme is the default instance of runtime.Scheme to which types in the Kubernetes API are already registered.

func DefaultJSONEncoder Uses

func DefaultJSONEncoder() runtime.Encoder

DefaultJSONEncoder returns a default encoder for our scheme

Package scheme imports 36 packages (graph) and is imported by 324 packages. Updated 2019-07-14. Refresh now. Tools for package owners.