Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=my.domain
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "my.domain", 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 Kruize ¶
type Kruize struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec KruizeSpec `json:"spec,omitempty"`
Status KruizeStatus `json:"status,omitempty"`
}
Kruize is the Schema for the kruizes API +kubebuilder:object:root=true +kubebuilder:subresource:status
func (*Kruize) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kruize.
func (*Kruize) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Kruize) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KruizeList ¶
type KruizeList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Kruize `json:"items"`
}
KruizeList contains a list of Kruize
func (*KruizeList) DeepCopy ¶
func (in *KruizeList) DeepCopy() *KruizeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KruizeList.
func (*KruizeList) DeepCopyInto ¶
func (in *KruizeList) DeepCopyInto(out *KruizeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KruizeList) DeepCopyObject ¶
func (in *KruizeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KruizeSpec ¶
type KruizeSpec struct {
// Foo is an example field of Kruize. Edit kruize_types.go to remove/update
Size int32 `json:"size"`
Cluster_type string `json:"cluster_type"`
Autotune_version string `json:"autotune_version"`
Autotune_ui_version string `json:"autotune_ui_version"`
Autotune_configmaps string `json:"autotune_configmaps"`
Non_interactive int32 `json:"non_interactive"`
Use_yaml_build int32 `json:"use_yaml_build"`
Namespace string `json:"namespace"`
}
KruizeSpec defines the desired state of Kruize
func (*KruizeSpec) DeepCopy ¶
func (in *KruizeSpec) DeepCopy() *KruizeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KruizeSpec.
func (*KruizeSpec) DeepCopyInto ¶
func (in *KruizeSpec) DeepCopyInto(out *KruizeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KruizeStatus ¶
type KruizeStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
Nodes []string `json:"nodes"`
}
KruizeStatus defines the observed state of Kruize
func (*KruizeStatus) DeepCopy ¶
func (in *KruizeStatus) DeepCopy() *KruizeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KruizeStatus.
func (*KruizeStatus) DeepCopyInto ¶
func (in *KruizeStatus) DeepCopyInto(out *KruizeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.