Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the mykind v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=mykind.mysample.com
Package v1alpha1 contains API Schema definitions for the mykind v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=mykind.mysample.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "mykind.mysample.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type Mykind ¶
type Mykind struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MykindSpec `json:"spec,omitempty"` Status MykindStatus `json:"status,omitempty"` }
Mykind is the Schema for the mykinds API +kubebuilder:subresource:status +kubebuilder:resource:path=mykinds,scope=Namespaced
func (*Mykind) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mykind.
func (*Mykind) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Mykind) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MykindList ¶
type MykindList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Mykind `json:"items"` }
MykindList contains a list of Mykind
func (*MykindList) DeepCopy ¶
func (in *MykindList) DeepCopy() *MykindList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MykindList.
func (*MykindList) DeepCopyInto ¶
func (in *MykindList) DeepCopyInto(out *MykindList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MykindList) DeepCopyObject ¶
func (in *MykindList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MykindSpec ¶
type MykindSpec struct { Size int32 `json:"size"` Image string `json:"Image"` EnvsValue string `json:"Envs"` }
MykindSpec defines the desired state of Mykind
func (*MykindSpec) DeepCopy ¶
func (in *MykindSpec) DeepCopy() *MykindSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MykindSpec.
func (*MykindSpec) DeepCopyInto ¶
func (in *MykindSpec) DeepCopyInto(out *MykindSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MykindStatus ¶
type MykindStatus struct {
Nodes []string `json:"nodes"`
}
MykindStatus defines the observed state of Mykind
func (*MykindStatus) DeepCopy ¶
func (in *MykindStatus) DeepCopy() *MykindStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MykindStatus.
func (*MykindStatus) DeepCopyInto ¶
func (in *MykindStatus) DeepCopyInto(out *MykindStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.