package core

import "k8s.io/kubernetes/federation/apis/core"

Index

Constants

const GroupName = ""

GroupName is the group name use in this package

Variables

var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
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.

var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

var Unversioned = schema.GroupVersion{Group: "", Version: "v1"}

Unversioned is group version for unversioned API objects TODO: this should be v1 probably

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Source Files

register.go

Directories

PathSynopsis
federation/apis/core/install
federation/apis/core/v1
Version
v1.7.7
Published
Sep 28, 2017
Platform
windows/amd64
Imports
8 packages
Last checked
19 minutes ago

Tools for package owners.