Documentation ¶
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 Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
This section is empty.