Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package,register +groupName=kubernetes.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder ... SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme ... AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{ Group: crd.GroupName, Version: crd.Version, }
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type Crd ¶
type Crd struct { metaV1.TypeMeta `json:",inline"` metaV1.ObjectMeta `json:"metadata,omitempty"` Spec CrdSpec `json:"spec,omitempty"` Status CrdStatus `json:"status,omitempty"` }
+genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Crd) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Crd.
func (*Crd) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Crd) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CrdCondition ¶
type CrdCondition struct { LastProbeTime string `json:"lastProbeTime,omitempty"` Status string `json:"status,omitempty"` Reason string `json:"reason,omitempty"` }
func (*CrdCondition) DeepCopy ¶
func (in *CrdCondition) DeepCopy() *CrdCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrdCondition.
func (*CrdCondition) DeepCopyInto ¶
func (in *CrdCondition) DeepCopyInto(out *CrdCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CrdList ¶
type CrdList struct { metaV1.TypeMeta `json:",inline"` metaV1.ListMeta `json:"metadata,omitempty"` Items []Crd `json:"items"` }
+genclient:nonNamespaced +kubebuilder:subresource:status +kubebuilder:object:root=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*CrdList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrdList.
func (*CrdList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CrdList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CrdSpec ¶
type CrdSpec struct { }
func (*CrdSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrdSpec.
func (*CrdSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CrdStatus ¶
type CrdStatus struct { Status string `json:"status,omitempty"` Conditions []CrdCondition `json:"conditions,omitempty"` }
func (*CrdStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrdStatus.
func (*CrdStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.