scheme

package
v1.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2018 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Codecs provides access to encoding and decoding for the scheme

View Source
var GroupFactoryRegistry = make(announced.APIGroupFactoryRegistry)

GroupFactoryRegistry is the APIGroupFactoryRegistry (overlaps a bit with Registry, see comments in package for details)

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

View Source
var Registry = registered.NewOrDie(os.Getenv("KUBE_API_VERSIONS"))

Registry is an instance of an API registry.

View Source
var Scheme = runtime.NewScheme()

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

View Source
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

func DefaultJSONEncoder() runtime.Encoder

DefaultJSONEncoder returns a default encoder for our scheme

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL