Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the example v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=example.io
Package v1alpha1 contains API Schema definitions for the example v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=example.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "example.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type MyCRD ¶
type MyCRD struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MyCRDSpec `json:"spec,omitempty"` Status MyCRDStatus `json:"status,omitempty"` }
MyCRD is the Schema for the mycrds API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*MyCRD) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyCRD.
func (*MyCRD) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MyCRD) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MyCRD) GetReconcileStatus ¶
func (m *MyCRD) GetReconcileStatus() apis.ReconcileStatus
func (*MyCRD) SetReconcileStatus ¶
func (m *MyCRD) SetReconcileStatus(reconcileStatus apis.ReconcileStatus)
type MyCRDList ¶
type MyCRDList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MyCRD `json:"items"` }
MyCRDList contains a list of MyCRD
func (*MyCRDList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyCRDList.
func (*MyCRDList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MyCRDList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MyCRDSpec ¶
type MyCRDSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html Initialized bool `json:"initialized"` Valid bool `json:"valid"` Error bool `json:"error"` }
MyCRDSpec defines the desired state of MyCRD +k8s:openapi-gen=true
func (*MyCRDSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyCRDSpec.
func (*MyCRDSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MyCRDStatus ¶
type MyCRDStatus struct {
apis.ReconcileStatus `json:",inline"`
}
MyCRDStatus defines the observed state of MyCRD +k8s:openapi-gen=true
func (*MyCRDStatus) DeepCopy ¶
func (in *MyCRDStatus) DeepCopy() *MyCRDStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyCRDStatus.
func (*MyCRDStatus) DeepCopyInto ¶
func (in *MyCRDStatus) DeepCopyInto(out *MyCRDStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.