v1alpha1

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

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

View Source
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

func (in *Kruize) DeepCopy() *Kruize

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kruize.

func (*Kruize) DeepCopyInto

func (in *Kruize) DeepCopyInto(out *Kruize)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Kruize) DeepCopyObject

func (in *Kruize) DeepCopyObject() runtime.Object

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL