Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package +k8s:defaulter-gen=TypeMeta +groupName=example.crd.code-generator.k8s.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "example.crd.code-generator.k8s.io", Version: "v1"}
Functions ¶
func RegisterDefaults ¶ added in v1.11.7
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ClusterTestType ¶ added in v1.11.7
type ClusterTestType struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Status ClusterTestTypeStatus `json:"status,omitempty"` }
func (*ClusterTestType) DeepCopy ¶ added in v1.11.7
func (in *ClusterTestType) DeepCopy() *ClusterTestType
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTestType.
func (*ClusterTestType) DeepCopyInto ¶ added in v1.11.7
func (in *ClusterTestType) DeepCopyInto(out *ClusterTestType)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterTestType) DeepCopyObject ¶ added in v1.11.7
func (in *ClusterTestType) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterTestTypeList ¶ added in v1.11.7
type ClusterTestTypeList struct { metav1.TypeMeta metav1.ListMeta Items []ClusterTestType }
func (*ClusterTestTypeList) DeepCopy ¶ added in v1.11.7
func (in *ClusterTestTypeList) DeepCopy() *ClusterTestTypeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTestTypeList.
func (*ClusterTestTypeList) DeepCopyInto ¶ added in v1.11.7
func (in *ClusterTestTypeList) DeepCopyInto(out *ClusterTestTypeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterTestTypeList) DeepCopyObject ¶ added in v1.11.7
func (in *ClusterTestTypeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterTestTypeStatus ¶ added in v1.11.7
type ClusterTestTypeStatus struct {
Blah string
}
func (*ClusterTestTypeStatus) DeepCopy ¶ added in v1.11.7
func (in *ClusterTestTypeStatus) DeepCopy() *ClusterTestTypeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTestTypeStatus.
func (*ClusterTestTypeStatus) DeepCopyInto ¶ added in v1.11.7
func (in *ClusterTestTypeStatus) DeepCopyInto(out *ClusterTestTypeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestType ¶
type TestType struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Status TestTypeStatus `json:"status,omitempty"` }
TestType is a top-level type. A client is created for it.
func (*TestType) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType.
func (*TestType) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestType) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestTypeList ¶
type TestTypeList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []TestType `json:"items"` }
TestTypeList is a top-level list type. The client methods for lists are automatically created. You are not supposed to create a separated client for this one.
func (*TestTypeList) DeepCopy ¶
func (in *TestTypeList) DeepCopy() *TestTypeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeList.
func (*TestTypeList) DeepCopyInto ¶
func (in *TestTypeList) DeepCopyInto(out *TestTypeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestTypeList) DeepCopyObject ¶
func (in *TestTypeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestTypeStatus ¶
type TestTypeStatus struct {
Blah string
}
func (*TestTypeStatus) DeepCopy ¶
func (in *TestTypeStatus) DeepCopy() *TestTypeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeStatus.
func (*TestTypeStatus) DeepCopyInto ¶
func (in *TestTypeStatus) DeepCopyInto(out *TestTypeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.