package core
import "k8s.io/kubernetes/federation/apis/core"
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
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.
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 ¶
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 ¶
Path | Synopsis |
---|---|
federation/apis/core/install | |
federation/apis/core/v1 |
- Version
- v1.7.5
- Published
- Aug 31, 2017
- Platform
- darwin/amd64
- Imports
- 8 packages
- Last checked
- 17 minutes ago –
Tools for package owners.