Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package
Index ¶
- Constants
- Variables
- func DeepCopy_v1_Example(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_ExampleList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_ExampleSpec(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1_ExampleStatus(in interface{}, out interface{}, c *conversion.Cloner) error
- func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc
- func Resource(resource string) schema.GroupResource
- type Example
- type ExampleList
- type ExampleSpec
- type ExampleState
- type ExampleStatus
Constants ¶
View Source
const ExampleResourcePlural = "examples"
View Source
const GroupName = "cr.client-go.k8s.io"
GroupName is the group name used in this package.
Variables ¶
View Source
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is the group version used to register these objects.
Functions ¶
func DeepCopy_v1_Example ¶
func DeepCopy_v1_Example(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1_Example is an autogenerated deepcopy function.
func DeepCopy_v1_ExampleList ¶
func DeepCopy_v1_ExampleList(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1_ExampleList is an autogenerated deepcopy function.
func DeepCopy_v1_ExampleSpec ¶
func DeepCopy_v1_ExampleSpec(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1_ExampleSpec is an autogenerated deepcopy function.
func DeepCopy_v1_ExampleStatus ¶
func DeepCopy_v1_ExampleStatus(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1_ExampleStatus is an autogenerated deepcopy function.
func GetGeneratedDeepCopyFuncs ¶ added in v1.8.0
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc
GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group-qualified GroupResource.
Types ¶
type Example ¶
type Example struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ExampleSpec `json:"spec"` Status ExampleStatus `json:"status,omitempty"` }
type ExampleList ¶
type ExampleSpec ¶
type ExampleState ¶
type ExampleState string
const ( ExampleStateCreated ExampleState = "Created" ExampleStateProcessed ExampleState = "Processed" )
type ExampleStatus ¶
type ExampleStatus struct { State ExampleState `json:"state,omitempty"` Message string `json:"message,omitempty"` }
Click to show internal directories.
Click to hide internal directories.