Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the test v1alpha1 API group +kubebuilder:object:generate=true +groupName=test.example.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "test.example.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type TestOperator ¶
type TestOperator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TestOperatorSpec `json:"spec,omitempty"` Status TestOperatorStatus `json:"status,omitempty"` }
TestOperator is the Schema for the testoperators API
func (*TestOperator) DeepCopy ¶
func (in *TestOperator) DeepCopy() *TestOperator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestOperator.
func (*TestOperator) DeepCopyInto ¶
func (in *TestOperator) DeepCopyInto(out *TestOperator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestOperator) DeepCopyObject ¶
func (in *TestOperator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestOperatorList ¶
type TestOperatorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TestOperator `json:"items"` }
TestOperatorList contains a list of TestOperator
func (*TestOperatorList) DeepCopy ¶
func (in *TestOperatorList) DeepCopy() *TestOperatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestOperatorList.
func (*TestOperatorList) DeepCopyInto ¶
func (in *TestOperatorList) DeepCopyInto(out *TestOperatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TestOperatorList) DeepCopyObject ¶
func (in *TestOperatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TestOperatorSpec ¶
type TestOperatorSpec struct { //+kubebuilder:validation:Minimum=0 // Size is the size of the testoperator deployment Size int32 `json:"size"` }
TestOperatorSpec defines the desired state of TestOperator
func (*TestOperatorSpec) DeepCopy ¶
func (in *TestOperatorSpec) DeepCopy() *TestOperatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestOperatorSpec.
func (*TestOperatorSpec) DeepCopyInto ¶
func (in *TestOperatorSpec) DeepCopyInto(out *TestOperatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestOperatorStatus ¶
type TestOperatorStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file // Nodes are the names of the memcached pods Nodes []string `json:"nodes"` }
TestOperatorStatus defines the observed state of TestOperator
func (*TestOperatorStatus) DeepCopy ¶
func (in *TestOperatorStatus) DeepCopy() *TestOperatorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestOperatorStatus.
func (*TestOperatorStatus) DeepCopyInto ¶
func (in *TestOperatorStatus) DeepCopyInto(out *TestOperatorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.