Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=example2.k8s.io
package example2 contains an example API whose internal version is defined in another group ("example"). This happens if a type is moved to a different group. It's not recommended to move types across groups, though Kubernetes have a few cases due to historical reasons. This package is for tests.
Index ¶
Constants ¶
View Source
const GroupName = "example2.apiserver.k8s.io"
GroupName is the group name use in this package
Variables ¶
View Source
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
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.
Directories ¶
Path | Synopsis |
---|---|
Package install installs the example2 API group, making it available as an option to all of the API encoding/decoding machinery.
|
Package install installs the example2 API group, making it available as an option to all of the API encoding/decoding machinery. |
+groupName=example2.apiserver.k8s.io
|
+groupName=example2.apiserver.k8s.io |
Click to show internal directories.
Click to hide internal directories.