v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Overview

+groupName=cs.alicloud.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: cs.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Application

type Application struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApplicationSpec   `json:"spec,omitempty"`
	Status            ApplicationStatus `json:"status,omitempty"`
}

func (*Application) DeepCopy

func (in *Application) DeepCopy() *Application

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

func (*Application) DeepCopyInto

func (in *Application) DeepCopyInto(out *Application)

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

func (*Application) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Application) SetupWebhookWithManager

func (r *Application) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Application) ValidateCreate

func (r *Application) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Application) ValidateDelete

func (r *Application) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Application) ValidateUpdate

func (r *Application) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ApplicationList

type ApplicationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Application CRD objects
	Items []Application `json:"items,omitempty"`
}

ApplicationList is a list of Applications

func (*ApplicationList) DeepCopy

func (in *ApplicationList) DeepCopy() *ApplicationList

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

func (*ApplicationList) DeepCopyInto

func (in *ApplicationList) DeepCopyInto(out *ApplicationList)

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

func (*ApplicationList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ApplicationSpec

type ApplicationSpec struct {
	State *ApplicationSpecResource `json:"state,omitempty" tf:"-"`

	Resource ApplicationSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ApplicationSpec) DeepCopy

func (in *ApplicationSpec) DeepCopy() *ApplicationSpec

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

func (*ApplicationSpec) DeepCopyInto

func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)

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

type ApplicationSpecResource

type ApplicationSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	BlueGreen *bool `json:"blueGreen,omitempty" tf:"blue_green"`
	// +optional
	BlueGreenConfirm *bool   `json:"blueGreenConfirm,omitempty" tf:"blue_green_confirm"`
	ClusterName      *string `json:"clusterName" tf:"cluster_name"`
	// +optional
	DefaultDomain *string `json:"defaultDomain,omitempty" tf:"default_domain"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	Environment map[string]string `json:"environment,omitempty" tf:"environment"`
	// +optional
	LatestImage *bool   `json:"latestImage,omitempty" tf:"latest_image"`
	Name        *string `json:"name" tf:"name"`
	// +optional
	Services []ApplicationSpecServices `json:"services,omitempty" tf:"services"`
	Template *string                   `json:"template" tf:"template"`
	// +optional
	Version *string `json:"version,omitempty" tf:"version"`
}

func (*ApplicationSpecResource) DeepCopy

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

func (*ApplicationSpecResource) DeepCopyInto

func (in *ApplicationSpecResource) DeepCopyInto(out *ApplicationSpecResource)

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

type ApplicationSpecServices

type ApplicationSpecServices struct {
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Version *string `json:"version,omitempty" tf:"version"`
}

func (*ApplicationSpecServices) DeepCopy

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

func (*ApplicationSpecServices) DeepCopyInto

func (in *ApplicationSpecServices) DeepCopyInto(out *ApplicationSpecServices)

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

type ApplicationStatus

type ApplicationStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ApplicationStatus) DeepCopy

func (in *ApplicationStatus) DeepCopy() *ApplicationStatus

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

func (*ApplicationStatus) DeepCopyInto

func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)

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

type AutoscalingConfig

type AutoscalingConfig struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AutoscalingConfigSpec   `json:"spec,omitempty"`
	Status            AutoscalingConfigStatus `json:"status,omitempty"`
}

func (*AutoscalingConfig) DeepCopy

func (in *AutoscalingConfig) DeepCopy() *AutoscalingConfig

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

func (*AutoscalingConfig) DeepCopyInto

func (in *AutoscalingConfig) DeepCopyInto(out *AutoscalingConfig)

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

func (*AutoscalingConfig) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AutoscalingConfig) SetupWebhookWithManager

func (r *AutoscalingConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AutoscalingConfig) ValidateCreate

func (r *AutoscalingConfig) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AutoscalingConfig) ValidateDelete

func (r *AutoscalingConfig) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AutoscalingConfig) ValidateUpdate

func (r *AutoscalingConfig) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AutoscalingConfigList

type AutoscalingConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of AutoscalingConfig CRD objects
	Items []AutoscalingConfig `json:"items,omitempty"`
}

AutoscalingConfigList is a list of AutoscalingConfigs

func (*AutoscalingConfigList) DeepCopy

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

func (*AutoscalingConfigList) DeepCopyInto

func (in *AutoscalingConfigList) DeepCopyInto(out *AutoscalingConfigList)

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

func (*AutoscalingConfigList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AutoscalingConfigSpec

type AutoscalingConfigSpec struct {
	State *AutoscalingConfigSpecResource `json:"state,omitempty" tf:"-"`

	Resource AutoscalingConfigSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*AutoscalingConfigSpec) DeepCopy

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

func (*AutoscalingConfigSpec) DeepCopyInto

func (in *AutoscalingConfigSpec) DeepCopyInto(out *AutoscalingConfigSpec)

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

type AutoscalingConfigSpecResource

type AutoscalingConfigSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	ClusterID *string `json:"clusterID,omitempty" tf:"cluster_id"`
	// +optional
	CoolDownDuration *string `json:"coolDownDuration,omitempty" tf:"cool_down_duration"`
	// +optional
	GpuUtilizationThreshold *string `json:"gpuUtilizationThreshold,omitempty" tf:"gpu_utilization_threshold"`
	// +optional
	ScanInterval *string `json:"scanInterval,omitempty" tf:"scan_interval"`
	// +optional
	UnneededDuration *string `json:"unneededDuration,omitempty" tf:"unneeded_duration"`
	// +optional
	UtilizationThreshold *string `json:"utilizationThreshold,omitempty" tf:"utilization_threshold"`
}

func (*AutoscalingConfigSpecResource) DeepCopy

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

func (*AutoscalingConfigSpecResource) DeepCopyInto

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

type AutoscalingConfigStatus

type AutoscalingConfigStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*AutoscalingConfigStatus) DeepCopy

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

func (*AutoscalingConfigStatus) DeepCopyInto

func (in *AutoscalingConfigStatus) DeepCopyInto(out *AutoscalingConfigStatus)

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

type EdgeKubernetes

type EdgeKubernetes struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EdgeKubernetesSpec   `json:"spec,omitempty"`
	Status            EdgeKubernetesStatus `json:"status,omitempty"`
}

func (*EdgeKubernetes) DeepCopy

func (in *EdgeKubernetes) DeepCopy() *EdgeKubernetes

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

func (*EdgeKubernetes) DeepCopyInto

func (in *EdgeKubernetes) DeepCopyInto(out *EdgeKubernetes)

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

func (*EdgeKubernetes) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*EdgeKubernetes) SetupWebhookWithManager

func (r *EdgeKubernetes) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*EdgeKubernetes) ValidateCreate

func (r *EdgeKubernetes) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*EdgeKubernetes) ValidateDelete

func (r *EdgeKubernetes) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*EdgeKubernetes) ValidateUpdate

func (r *EdgeKubernetes) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type EdgeKubernetesList

type EdgeKubernetesList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of EdgeKubernetes CRD objects
	Items []EdgeKubernetes `json:"items,omitempty"`
}

EdgeKubernetesList is a list of EdgeKubernetess

func (*EdgeKubernetesList) DeepCopy

func (in *EdgeKubernetesList) DeepCopy() *EdgeKubernetesList

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

func (*EdgeKubernetesList) DeepCopyInto

func (in *EdgeKubernetesList) DeepCopyInto(out *EdgeKubernetesList)

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

func (*EdgeKubernetesList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EdgeKubernetesSpec

type EdgeKubernetesSpec struct {
	State *EdgeKubernetesSpecResource `json:"state,omitempty" tf:"-"`

	Resource EdgeKubernetesSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*EdgeKubernetesSpec) DeepCopy

func (in *EdgeKubernetesSpec) DeepCopy() *EdgeKubernetesSpec

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

func (*EdgeKubernetesSpec) DeepCopyInto

func (in *EdgeKubernetesSpec) DeepCopyInto(out *EdgeKubernetesSpec)

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

type EdgeKubernetesSpecAddons

type EdgeKubernetesSpecAddons struct {
	// +optional
	Config *string `json:"config,omitempty" tf:"config"`
	// +optional
	Disabled *bool `json:"disabled,omitempty" tf:"disabled"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
}

func (*EdgeKubernetesSpecAddons) DeepCopy

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

func (*EdgeKubernetesSpecAddons) DeepCopyInto

func (in *EdgeKubernetesSpecAddons) DeepCopyInto(out *EdgeKubernetesSpecAddons)

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

type EdgeKubernetesSpecCertificateAuthority

type EdgeKubernetesSpecCertificateAuthority struct {
	// +optional
	ClientCert *string `json:"clientCert,omitempty" tf:"client_cert"`
	// +optional
	ClientKey *string `json:"clientKey,omitempty" tf:"client_key"`
	// +optional
	ClusterCert *string `json:"clusterCert,omitempty" tf:"cluster_cert"`
}

func (*EdgeKubernetesSpecCertificateAuthority) DeepCopy

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

func (*EdgeKubernetesSpecCertificateAuthority) DeepCopyInto

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

type EdgeKubernetesSpecConnections

type EdgeKubernetesSpecConnections struct {
	// +optional
	ApiServerInternet *string `json:"apiServerInternet,omitempty" tf:"api_server_internet"`
	// +optional
	ApiServerIntranet *string `json:"apiServerIntranet,omitempty" tf:"api_server_intranet"`
	// +optional
	MasterPublicIP *string `json:"masterPublicIP,omitempty" tf:"master_public_ip"`
	// +optional
	ServiceDomain *string `json:"serviceDomain,omitempty" tf:"service_domain"`
}

func (*EdgeKubernetesSpecConnections) DeepCopy

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

func (*EdgeKubernetesSpecConnections) DeepCopyInto

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

type EdgeKubernetesSpecLogConfig

type EdgeKubernetesSpecLogConfig struct {
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	Type    *string `json:"type" tf:"type"`
}

func (*EdgeKubernetesSpecLogConfig) DeepCopy

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

func (*EdgeKubernetesSpecLogConfig) DeepCopyInto

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

type EdgeKubernetesSpecLogConfigCodec

type EdgeKubernetesSpecLogConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (EdgeKubernetesSpecLogConfigCodec) Decode

func (EdgeKubernetesSpecLogConfigCodec) Encode

func (EdgeKubernetesSpecLogConfigCodec) IsEmpty

type EdgeKubernetesSpecResource

type EdgeKubernetesSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Addons []EdgeKubernetesSpecAddons `json:"addons,omitempty" tf:"addons"`
	// +optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone"`
	// +optional
	CertificateAuthority map[string]EdgeKubernetesSpecCertificateAuthority `json:"certificateAuthority,omitempty" tf:"certificate_authority"`
	// +optional
	ClientCert *string `json:"clientCert,omitempty" tf:"client_cert"`
	// +optional
	ClientKey *string `json:"clientKey,omitempty" tf:"client_key"`
	// +optional
	ClusterCaCert *string `json:"clusterCaCert,omitempty" tf:"cluster_ca_cert"`
	// +optional
	Connections map[string]EdgeKubernetesSpecConnections `json:"connections,omitempty" tf:"connections"`
	// +optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection"`
	// +optional
	ForceUpdate *bool `json:"forceUpdate,omitempty" tf:"force_update"`
	// +optional
	InstallCloudMonitor *bool `json:"installCloudMonitor,omitempty" tf:"install_cloud_monitor"`
	// +optional
	IsEnterpriseSecurityGroup *bool `json:"isEnterpriseSecurityGroup,omitempty" tf:"is_enterprise_security_group"`
	// +optional
	KeyName *string `json:"keyName,omitempty" tf:"key_name"`
	// +optional
	KubeConfig *string `json:"kubeConfig,omitempty" tf:"kube_config"`
	// +optional
	LogConfig *EdgeKubernetesSpecLogConfig `json:"logConfig,omitempty" tf:"log_config"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	NamePrefix *string `json:"namePrefix,omitempty" tf:"name_prefix"`
	// +optional
	NatGatewayID *string `json:"natGatewayID,omitempty" tf:"nat_gateway_id"`
	// +optional
	NewNATGateway *bool `json:"newNATGateway,omitempty" tf:"new_nat_gateway"`
	// +optional
	NodeCIDRMask *int64 `json:"nodeCIDRMask,omitempty" tf:"node_cidr_mask"`
	// +optional
	Password *string `json:"-" sensitive:"true" tf:"password"`
	// +optional
	PodCIDR *string `json:"podCIDR,omitempty" tf:"pod_cidr"`
	// +optional
	ProxyMode *string `json:"proxyMode,omitempty" tf:"proxy_mode"`
	// +optional
	RdsInstances []string `json:"rdsInstances,omitempty" tf:"rds_instances"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	RetainResources []string `json:"retainResources,omitempty" tf:"retain_resources"`
	// +optional
	SecurityGroupID *string `json:"securityGroupID,omitempty" tf:"security_group_id"`
	// +optional
	ServiceCIDR *string `json:"serviceCIDR,omitempty" tf:"service_cidr"`
	// +optional
	SlbInternet *string `json:"slbInternet,omitempty" tf:"slb_internet"`
	// +optional
	SlbInternetEnabled *bool `json:"slbInternetEnabled,omitempty" tf:"slb_internet_enabled"`
	// +optional
	SlbIntranet *string `json:"slbIntranet,omitempty" tf:"slb_intranet"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	UserData *string `json:"userData,omitempty" tf:"user_data"`
	// +optional
	Version *string `json:"version,omitempty" tf:"version"`
	// +optional
	VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"`
	// +optional
	WorkerDataDisks []EdgeKubernetesSpecWorkerDataDisks `json:"workerDataDisks,omitempty" tf:"worker_data_disks"`
	// +optional
	WorkerDiskCategory *string `json:"workerDiskCategory,omitempty" tf:"worker_disk_category"`
	// +optional
	WorkerDiskPerformanceLevel *string `json:"workerDiskPerformanceLevel,omitempty" tf:"worker_disk_performance_level"`
	// +optional
	WorkerDiskSize *int64 `json:"workerDiskSize,omitempty" tf:"worker_disk_size"`
	// +optional
	WorkerDiskSnapshotPolicyID *string `json:"workerDiskSnapshotPolicyID,omitempty" tf:"worker_disk_snapshot_policy_id"`
	// +optional
	WorkerInstanceChargeType *string `json:"workerInstanceChargeType,omitempty" tf:"worker_instance_charge_type"`
	// +kubebuilder:validation:MaxItems=10
	// +kubebuilder:validation:MinItems=1
	WorkerInstanceTypes []string `json:"workerInstanceTypes" tf:"worker_instance_types"`
	// +optional
	WorkerNodes  []EdgeKubernetesSpecWorkerNodes `json:"workerNodes,omitempty" tf:"worker_nodes"`
	WorkerNumber *int64                          `json:"workerNumber" tf:"worker_number"`
	// +kubebuilder:validation:MinItems=1
	WorkerVswitchIDS []string `json:"workerVswitchIDS" tf:"worker_vswitch_ids"`
}

func (*EdgeKubernetesSpecResource) DeepCopy

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

func (*EdgeKubernetesSpecResource) DeepCopyInto

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

type EdgeKubernetesSpecWorkerDataDisks

type EdgeKubernetesSpecWorkerDataDisks struct {
	// +optional
	AutoSnapshotPolicyID *string `json:"autoSnapshotPolicyID,omitempty" tf:"auto_snapshot_policy_id"`
	// +optional
	Category *string `json:"category,omitempty" tf:"category"`
	// +optional
	Device *string `json:"device,omitempty" tf:"device"`
	// +optional
	Encrypted *string `json:"encrypted,omitempty" tf:"encrypted"`
	// +optional
	KmsKeyID *string `json:"kmsKeyID,omitempty" tf:"kms_key_id"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	PerformanceLevel *string `json:"performanceLevel,omitempty" tf:"performance_level"`
	// +optional
	Size *string `json:"size,omitempty" tf:"size"`
	// +optional
	SnapshotID *string `json:"snapshotID,omitempty" tf:"snapshot_id"`
}

func (*EdgeKubernetesSpecWorkerDataDisks) DeepCopy

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

func (*EdgeKubernetesSpecWorkerDataDisks) DeepCopyInto

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

type EdgeKubernetesSpecWorkerNodes

type EdgeKubernetesSpecWorkerNodes struct {
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	PrivateIP *string `json:"privateIP,omitempty" tf:"private_ip"`
}

func (*EdgeKubernetesSpecWorkerNodes) DeepCopy

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

func (*EdgeKubernetesSpecWorkerNodes) DeepCopyInto

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

type EdgeKubernetesStatus

type EdgeKubernetesStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*EdgeKubernetesStatus) DeepCopy

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

func (*EdgeKubernetesStatus) DeepCopyInto

func (in *EdgeKubernetesStatus) DeepCopyInto(out *EdgeKubernetesStatus)

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

type Kubernetes

type Kubernetes struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              KubernetesSpec   `json:"spec,omitempty"`
	Status            KubernetesStatus `json:"status,omitempty"`
}

func (*Kubernetes) DeepCopy

func (in *Kubernetes) DeepCopy() *Kubernetes

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

func (*Kubernetes) DeepCopyInto

func (in *Kubernetes) DeepCopyInto(out *Kubernetes)

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

func (*Kubernetes) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Kubernetes) SetupWebhookWithManager

func (r *Kubernetes) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Kubernetes) ValidateCreate

func (r *Kubernetes) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Kubernetes) ValidateDelete

func (r *Kubernetes) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Kubernetes) ValidateUpdate

func (r *Kubernetes) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type KubernetesAddon added in v0.5.0

type KubernetesAddon struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              KubernetesAddonSpec   `json:"spec,omitempty"`
	Status            KubernetesAddonStatus `json:"status,omitempty"`
}

func (*KubernetesAddon) DeepCopy added in v0.5.0

func (in *KubernetesAddon) DeepCopy() *KubernetesAddon

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

func (*KubernetesAddon) DeepCopyInto added in v0.5.0

func (in *KubernetesAddon) DeepCopyInto(out *KubernetesAddon)

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

func (*KubernetesAddon) DeepCopyObject added in v0.5.0

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KubernetesAddon) SetupWebhookWithManager added in v0.5.0

func (r *KubernetesAddon) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*KubernetesAddon) ValidateCreate added in v0.5.0

func (r *KubernetesAddon) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*KubernetesAddon) ValidateDelete added in v0.5.0

func (r *KubernetesAddon) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*KubernetesAddon) ValidateUpdate added in v0.5.0

func (r *KubernetesAddon) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type KubernetesAddonList added in v0.5.0

type KubernetesAddonList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of KubernetesAddon CRD objects
	Items []KubernetesAddon `json:"items,omitempty"`
}

KubernetesAddonList is a list of KubernetesAddons

func (*KubernetesAddonList) DeepCopy added in v0.5.0

func (in *KubernetesAddonList) DeepCopy() *KubernetesAddonList

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

func (*KubernetesAddonList) DeepCopyInto added in v0.5.0

func (in *KubernetesAddonList) DeepCopyInto(out *KubernetesAddonList)

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

func (*KubernetesAddonList) DeepCopyObject added in v0.5.0

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KubernetesAddonSpec added in v0.5.0

type KubernetesAddonSpec struct {
	State *KubernetesAddonSpecResource `json:"state,omitempty" tf:"-"`

	Resource KubernetesAddonSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*KubernetesAddonSpec) DeepCopy added in v0.5.0

func (in *KubernetesAddonSpec) DeepCopy() *KubernetesAddonSpec

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

func (*KubernetesAddonSpec) DeepCopyInto added in v0.5.0

func (in *KubernetesAddonSpec) DeepCopyInto(out *KubernetesAddonSpec)

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

type KubernetesAddonSpecResource added in v0.5.0

type KubernetesAddonSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	CanUpgrade *bool   `json:"canUpgrade,omitempty" tf:"can_upgrade"`
	ClusterID  *string `json:"clusterID" tf:"cluster_id"`
	Name       *string `json:"name" tf:"name"`
	// +optional
	NextVersion *string `json:"nextVersion,omitempty" tf:"next_version"`
	// +optional
	Required *bool   `json:"required,omitempty" tf:"required"`
	Version  *string `json:"version" tf:"version"`
}

func (*KubernetesAddonSpecResource) DeepCopy added in v0.5.0

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

func (*KubernetesAddonSpecResource) DeepCopyInto added in v0.5.0

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

type KubernetesAddonStatus added in v0.5.0

type KubernetesAddonStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*KubernetesAddonStatus) DeepCopy added in v0.5.0

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

func (*KubernetesAddonStatus) DeepCopyInto added in v0.5.0

func (in *KubernetesAddonStatus) DeepCopyInto(out *KubernetesAddonStatus)

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

type KubernetesAutoscaler

type KubernetesAutoscaler struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              KubernetesAutoscalerSpec   `json:"spec,omitempty"`
	Status            KubernetesAutoscalerStatus `json:"status,omitempty"`
}

func (*KubernetesAutoscaler) DeepCopy

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

func (*KubernetesAutoscaler) DeepCopyInto

func (in *KubernetesAutoscaler) DeepCopyInto(out *KubernetesAutoscaler)

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

func (*KubernetesAutoscaler) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KubernetesAutoscaler) SetupWebhookWithManager

func (r *KubernetesAutoscaler) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*KubernetesAutoscaler) ValidateCreate

func (r *KubernetesAutoscaler) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*KubernetesAutoscaler) ValidateDelete

func (r *KubernetesAutoscaler) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*KubernetesAutoscaler) ValidateUpdate

func (r *KubernetesAutoscaler) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type KubernetesAutoscalerList

type KubernetesAutoscalerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of KubernetesAutoscaler CRD objects
	Items []KubernetesAutoscaler `json:"items,omitempty"`
}

KubernetesAutoscalerList is a list of KubernetesAutoscalers

func (*KubernetesAutoscalerList) DeepCopy

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

func (*KubernetesAutoscalerList) DeepCopyInto

func (in *KubernetesAutoscalerList) DeepCopyInto(out *KubernetesAutoscalerList)

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

func (*KubernetesAutoscalerList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KubernetesAutoscalerSpec

type KubernetesAutoscalerSpec struct {
	State *KubernetesAutoscalerSpecResource `json:"state,omitempty" tf:"-"`

	Resource KubernetesAutoscalerSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*KubernetesAutoscalerSpec) DeepCopy

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

func (*KubernetesAutoscalerSpec) DeepCopyInto

func (in *KubernetesAutoscalerSpec) DeepCopyInto(out *KubernetesAutoscalerSpec)

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

type KubernetesAutoscalerSpecNodepools

type KubernetesAutoscalerSpecNodepools struct {
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// +optional
	Labels *string `json:"labels,omitempty" tf:"labels"`
	// +optional
	Taints *string `json:"taints,omitempty" tf:"taints"`
}

func (*KubernetesAutoscalerSpecNodepools) DeepCopy

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

func (*KubernetesAutoscalerSpecNodepools) DeepCopyInto

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

type KubernetesAutoscalerSpecResource

type KubernetesAutoscalerSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	ClusterID            *string `json:"clusterID" tf:"cluster_id"`
	CoolDownDuration     *string `json:"coolDownDuration" tf:"cool_down_duration"`
	DeferScaleInDuration *string `json:"deferScaleInDuration" tf:"defer_scale_in_duration"`
	// +optional
	// +kubebuilder:validation:MaxItems=30
	// +kubebuilder:validation:MinItems=1
	Nodepools []KubernetesAutoscalerSpecNodepools `json:"nodepools,omitempty" tf:"nodepools"`
	// +optional
	UseEcsRAMRoleToken *bool   `json:"useEcsRAMRoleToken,omitempty" tf:"use_ecs_ram_role_token"`
	Utilization        *string `json:"utilization" tf:"utilization"`
}

func (*KubernetesAutoscalerSpecResource) DeepCopy

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

func (*KubernetesAutoscalerSpecResource) DeepCopyInto

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

type KubernetesAutoscalerStatus

type KubernetesAutoscalerStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*KubernetesAutoscalerStatus) DeepCopy

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

func (*KubernetesAutoscalerStatus) DeepCopyInto

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

type KubernetesList

type KubernetesList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Kubernetes CRD objects
	Items []Kubernetes `json:"items,omitempty"`
}

KubernetesList is a list of Kubernetess

func (*KubernetesList) DeepCopy

func (in *KubernetesList) DeepCopy() *KubernetesList

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

func (*KubernetesList) DeepCopyInto

func (in *KubernetesList) DeepCopyInto(out *KubernetesList)

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

func (*KubernetesList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KubernetesNodePool

type KubernetesNodePool struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              KubernetesNodePoolSpec   `json:"spec,omitempty"`
	Status            KubernetesNodePoolStatus `json:"status,omitempty"`
}

func (*KubernetesNodePool) DeepCopy

func (in *KubernetesNodePool) DeepCopy() *KubernetesNodePool

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

func (*KubernetesNodePool) DeepCopyInto

func (in *KubernetesNodePool) DeepCopyInto(out *KubernetesNodePool)

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

func (*KubernetesNodePool) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KubernetesNodePool) SetupWebhookWithManager

func (r *KubernetesNodePool) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*KubernetesNodePool) ValidateCreate

func (r *KubernetesNodePool) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*KubernetesNodePool) ValidateDelete

func (r *KubernetesNodePool) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*KubernetesNodePool) ValidateUpdate

func (r *KubernetesNodePool) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type KubernetesNodePoolList

type KubernetesNodePoolList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of KubernetesNodePool CRD objects
	Items []KubernetesNodePool `json:"items,omitempty"`
}

KubernetesNodePoolList is a list of KubernetesNodePools

func (*KubernetesNodePoolList) DeepCopy

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

func (*KubernetesNodePoolList) DeepCopyInto

func (in *KubernetesNodePoolList) DeepCopyInto(out *KubernetesNodePoolList)

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

func (*KubernetesNodePoolList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KubernetesNodePoolSpec

type KubernetesNodePoolSpec struct {
	State *KubernetesNodePoolSpecResource `json:"state,omitempty" tf:"-"`

	Resource KubernetesNodePoolSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*KubernetesNodePoolSpec) DeepCopy

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

func (*KubernetesNodePoolSpec) DeepCopyInto

func (in *KubernetesNodePoolSpec) DeepCopyInto(out *KubernetesNodePoolSpec)

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

type KubernetesNodePoolSpecDataDisks

type KubernetesNodePoolSpecDataDisks struct {
	// +optional
	AutoSnapshotPolicyID *string `json:"autoSnapshotPolicyID,omitempty" tf:"auto_snapshot_policy_id"`
	// +optional
	Category *string `json:"category,omitempty" tf:"category"`
	// +optional
	Device *string `json:"device,omitempty" tf:"device"`
	// +optional
	Encrypted *string `json:"encrypted,omitempty" tf:"encrypted"`
	// +optional
	KmsKeyID *string `json:"kmsKeyID,omitempty" tf:"kms_key_id"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	PerformanceLevel *string `json:"performanceLevel,omitempty" tf:"performance_level"`
	// +optional
	Size *int64 `json:"size,omitempty" tf:"size"`
	// +optional
	SnapshotID *string `json:"snapshotID,omitempty" tf:"snapshot_id"`
}

func (*KubernetesNodePoolSpecDataDisks) DeepCopy

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

func (*KubernetesNodePoolSpecDataDisks) DeepCopyInto

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

type KubernetesNodePoolSpecLabels

type KubernetesNodePoolSpecLabels struct {
	Key *string `json:"key" tf:"key"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*KubernetesNodePoolSpecLabels) DeepCopy

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

func (*KubernetesNodePoolSpecLabels) DeepCopyInto

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

type KubernetesNodePoolSpecManagement

type KubernetesNodePoolSpecManagement struct {
	// +optional
	AutoRepair *bool `json:"autoRepair,omitempty" tf:"auto_repair"`
	// +optional
	AutoUpgrade    *bool  `json:"autoUpgrade,omitempty" tf:"auto_upgrade"`
	MaxUnavailable *int64 `json:"maxUnavailable" tf:"max_unavailable"`
	// +optional
	Surge *int64 `json:"surge,omitempty" tf:"surge"`
	// +optional
	SurgePercentage *int64 `json:"surgePercentage,omitempty" tf:"surge_percentage"`
}

func (*KubernetesNodePoolSpecManagement) DeepCopy

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

func (*KubernetesNodePoolSpecManagement) DeepCopyInto

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

type KubernetesNodePoolSpecManagementCodec

type KubernetesNodePoolSpecManagementCodec struct {
}

+k8s:deepcopy-gen=false

func (KubernetesNodePoolSpecManagementCodec) Decode

func (KubernetesNodePoolSpecManagementCodec) Encode

func (KubernetesNodePoolSpecManagementCodec) IsEmpty

type KubernetesNodePoolSpecResource

type KubernetesNodePoolSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	AutoRenew *bool `json:"autoRenew,omitempty" tf:"auto_renew"`
	// +optional
	AutoRenewPeriod *int64  `json:"autoRenewPeriod,omitempty" tf:"auto_renew_period"`
	ClusterID       *string `json:"clusterID" tf:"cluster_id"`
	// +optional
	DataDisks []KubernetesNodePoolSpecDataDisks `json:"dataDisks,omitempty" tf:"data_disks"`
	// +optional
	DeploymentSetID *string `json:"deploymentSetID,omitempty" tf:"deployment_set_id"`
	// +optional
	DesiredSize *int64 `json:"desiredSize,omitempty" tf:"desired_size"`
	// +optional
	FormatDisk *bool `json:"formatDisk,omitempty" tf:"format_disk"`
	// +optional
	ImageID *string `json:"imageID,omitempty" tf:"image_id"`
	// +optional
	ImageType *string `json:"imageType,omitempty" tf:"image_type"`
	// +optional
	InstallCloudMonitor *bool `json:"installCloudMonitor,omitempty" tf:"install_cloud_monitor"`
	// +optional
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type"`
	// +kubebuilder:validation:MaxItems=10
	// +kubebuilder:validation:MinItems=1
	InstanceTypes []string `json:"instanceTypes" tf:"instance_types"`
	// +optional
	// +kubebuilder:validation:MaxItems=100
	Instances []string `json:"instances,omitempty" tf:"instances"`
	// +optional
	InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type"`
	// +optional
	InternetMaxBandwidthOut *int64 `json:"internetMaxBandwidthOut,omitempty" tf:"internet_max_bandwidth_out"`
	// +optional
	KeepInstanceName *bool `json:"keepInstanceName,omitempty" tf:"keep_instance_name"`
	// +optional
	KeyName *string `json:"keyName,omitempty" tf:"key_name"`
	// +optional
	KmsEncryptedPassword *string `json:"kmsEncryptedPassword,omitempty" tf:"kms_encrypted_password"`
	// +optional
	Labels []KubernetesNodePoolSpecLabels `json:"labels,omitempty" tf:"labels"`
	// +optional
	Management *KubernetesNodePoolSpecManagement `json:"management,omitempty" tf:"management"`
	Name       *string                           `json:"name" tf:"name"`
	// +optional
	// Deprecated
	NodeCount *int64 `json:"nodeCount,omitempty" tf:"node_count"`
	// +optional
	NodeNameMode *string `json:"nodeNameMode,omitempty" tf:"node_name_mode"`
	// +optional
	Password *string `json:"-" sensitive:"true" tf:"password"`
	// +optional
	Period *int64 `json:"period,omitempty" tf:"period"`
	// +optional
	PeriodUnit *string `json:"periodUnit,omitempty" tf:"period_unit"`
	// +optional
	// Deprecated
	Platform *string `json:"platform,omitempty" tf:"platform"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	RuntimeName *string `json:"runtimeName,omitempty" tf:"runtime_name"`
	// +optional
	RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version"`
	// +optional
	ScalingConfig *KubernetesNodePoolSpecScalingConfig `json:"scalingConfig,omitempty" tf:"scaling_config"`
	// +optional
	ScalingGroupID *string `json:"scalingGroupID,omitempty" tf:"scaling_group_id"`
	// +optional
	ScalingPolicy *string `json:"scalingPolicy,omitempty" tf:"scaling_policy"`
	// +optional
	// Deprecated
	SecurityGroupID *string `json:"securityGroupID,omitempty" tf:"security_group_id"`
	// +optional
	// +kubebuilder:validation:MaxItems=5
	SecurityGroupIDS []string `json:"securityGroupIDS,omitempty" tf:"security_group_ids"`
	// +optional
	SpotPriceLimit []KubernetesNodePoolSpecSpotPriceLimit `json:"spotPriceLimit,omitempty" tf:"spot_price_limit"`
	// +optional
	SpotStrategy *string `json:"spotStrategy,omitempty" tf:"spot_strategy"`
	// +optional
	SystemDiskCategory *string `json:"systemDiskCategory,omitempty" tf:"system_disk_category"`
	// +optional
	SystemDiskPerformanceLevel *string `json:"systemDiskPerformanceLevel,omitempty" tf:"system_disk_performance_level"`
	// +optional
	SystemDiskSize *int64 `json:"systemDiskSize,omitempty" tf:"system_disk_size"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	Taints []KubernetesNodePoolSpecTaints `json:"taints,omitempty" tf:"taints"`
	// +optional
	Unschedulable *bool `json:"unschedulable,omitempty" tf:"unschedulable"`
	// +optional
	UserData *string `json:"userData,omitempty" tf:"user_data"`
	// +optional
	VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"`
	// +kubebuilder:validation:MinItems=1
	VswitchIDS []string `json:"vswitchIDS" tf:"vswitch_ids"`
}

func (*KubernetesNodePoolSpecResource) DeepCopy

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

func (*KubernetesNodePoolSpecResource) DeepCopyInto

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

type KubernetesNodePoolSpecScalingConfig

type KubernetesNodePoolSpecScalingConfig struct {
	// +optional
	EipBandwidth *int64 `json:"eipBandwidth,omitempty" tf:"eip_bandwidth"`
	// +optional
	EipInternetChargeType *string `json:"eipInternetChargeType,omitempty" tf:"eip_internet_charge_type"`
	// +optional
	IsBondEip *bool  `json:"isBondEip,omitempty" tf:"is_bond_eip"`
	MaxSize   *int64 `json:"maxSize" tf:"max_size"`
	MinSize   *int64 `json:"minSize" tf:"min_size"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*KubernetesNodePoolSpecScalingConfig) DeepCopy

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

func (*KubernetesNodePoolSpecScalingConfig) DeepCopyInto

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

type KubernetesNodePoolSpecScalingConfigCodec

type KubernetesNodePoolSpecScalingConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (KubernetesNodePoolSpecScalingConfigCodec) Decode

func (KubernetesNodePoolSpecScalingConfigCodec) Encode

func (KubernetesNodePoolSpecScalingConfigCodec) IsEmpty

type KubernetesNodePoolSpecSpotPriceLimit

type KubernetesNodePoolSpecSpotPriceLimit struct {
	// +optional
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type"`
	// +optional
	PriceLimit *string `json:"priceLimit,omitempty" tf:"price_limit"`
}

func (*KubernetesNodePoolSpecSpotPriceLimit) DeepCopy

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

func (*KubernetesNodePoolSpecSpotPriceLimit) DeepCopyInto

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

type KubernetesNodePoolSpecTaints

type KubernetesNodePoolSpecTaints struct {
	// +optional
	Effect *string `json:"effect,omitempty" tf:"effect"`
	Key    *string `json:"key" tf:"key"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*KubernetesNodePoolSpecTaints) DeepCopy

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

func (*KubernetesNodePoolSpecTaints) DeepCopyInto

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

type KubernetesNodePoolStatus

type KubernetesNodePoolStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*KubernetesNodePoolStatus) DeepCopy

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

func (*KubernetesNodePoolStatus) DeepCopyInto

func (in *KubernetesNodePoolStatus) DeepCopyInto(out *KubernetesNodePoolStatus)

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

type KubernetesPermissions

type KubernetesPermissions struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              KubernetesPermissionsSpec   `json:"spec,omitempty"`
	Status            KubernetesPermissionsStatus `json:"status,omitempty"`
}

func (*KubernetesPermissions) DeepCopy

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

func (*KubernetesPermissions) DeepCopyInto

func (in *KubernetesPermissions) DeepCopyInto(out *KubernetesPermissions)

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

func (*KubernetesPermissions) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*KubernetesPermissions) SetupWebhookWithManager

func (r *KubernetesPermissions) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*KubernetesPermissions) ValidateCreate

func (r *KubernetesPermissions) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*KubernetesPermissions) ValidateDelete

func (r *KubernetesPermissions) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*KubernetesPermissions) ValidateUpdate

func (r *KubernetesPermissions) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type KubernetesPermissionsList

type KubernetesPermissionsList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of KubernetesPermissions CRD objects
	Items []KubernetesPermissions `json:"items,omitempty"`
}

KubernetesPermissionsList is a list of KubernetesPermissionss

func (*KubernetesPermissionsList) DeepCopy

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

func (*KubernetesPermissionsList) DeepCopyInto

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

func (*KubernetesPermissionsList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KubernetesPermissionsSpec

type KubernetesPermissionsSpec struct {
	State *KubernetesPermissionsSpecResource `json:"state,omitempty" tf:"-"`

	Resource KubernetesPermissionsSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*KubernetesPermissionsSpec) DeepCopy

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

func (*KubernetesPermissionsSpec) DeepCopyInto

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

type KubernetesPermissionsSpecPermissions

type KubernetesPermissionsSpecPermissions struct {
	Cluster *string `json:"cluster" tf:"cluster"`
	// +optional
	IsCustom *bool `json:"isCustom,omitempty" tf:"is_custom"`
	// +optional
	IsRAMRole *bool `json:"isRAMRole,omitempty" tf:"is_ram_role"`
	// +optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace"`
	RoleName  *string `json:"roleName" tf:"role_name"`
	RoleType  *string `json:"roleType" tf:"role_type"`
}

func (*KubernetesPermissionsSpecPermissions) DeepCopy

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

func (*KubernetesPermissionsSpecPermissions) DeepCopyInto

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

type KubernetesPermissionsSpecResource

type KubernetesPermissionsSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Permissions []KubernetesPermissionsSpecPermissions `json:"permissions,omitempty" tf:"permissions"`
	Uid         *string                                `json:"uid" tf:"uid"`
}

func (*KubernetesPermissionsSpecResource) DeepCopy

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

func (*KubernetesPermissionsSpecResource) DeepCopyInto

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

type KubernetesPermissionsStatus

type KubernetesPermissionsStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*KubernetesPermissionsStatus) DeepCopy

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

func (*KubernetesPermissionsStatus) DeepCopyInto

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

type KubernetesSpec

type KubernetesSpec struct {
	State *KubernetesSpecResource `json:"state,omitempty" tf:"-"`

	Resource KubernetesSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*KubernetesSpec) DeepCopy

func (in *KubernetesSpec) DeepCopy() *KubernetesSpec

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

func (*KubernetesSpec) DeepCopyInto

func (in *KubernetesSpec) DeepCopyInto(out *KubernetesSpec)

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

type KubernetesSpecAddons

type KubernetesSpecAddons struct {
	// +optional
	Config *string `json:"config,omitempty" tf:"config"`
	// +optional
	Disabled *bool `json:"disabled,omitempty" tf:"disabled"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
}

func (*KubernetesSpecAddons) DeepCopy

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

func (*KubernetesSpecAddons) DeepCopyInto

func (in *KubernetesSpecAddons) DeepCopyInto(out *KubernetesSpecAddons)

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

type KubernetesSpecCertificateAuthority

type KubernetesSpecCertificateAuthority struct {
	// +optional
	ClientCert *string `json:"clientCert,omitempty" tf:"client_cert"`
	// +optional
	ClientKey *string `json:"clientKey,omitempty" tf:"client_key"`
	// +optional
	ClusterCert *string `json:"clusterCert,omitempty" tf:"cluster_cert"`
}

func (*KubernetesSpecCertificateAuthority) DeepCopy

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

func (*KubernetesSpecCertificateAuthority) DeepCopyInto

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

type KubernetesSpecConnections

type KubernetesSpecConnections struct {
	// +optional
	ApiServerInternet *string `json:"apiServerInternet,omitempty" tf:"api_server_internet"`
	// +optional
	ApiServerIntranet *string `json:"apiServerIntranet,omitempty" tf:"api_server_intranet"`
	// +optional
	MasterPublicIP *string `json:"masterPublicIP,omitempty" tf:"master_public_ip"`
	// +optional
	ServiceDomain *string `json:"serviceDomain,omitempty" tf:"service_domain"`
}

func (*KubernetesSpecConnections) DeepCopy

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

func (*KubernetesSpecConnections) DeepCopyInto

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

type KubernetesSpecLogConfig

type KubernetesSpecLogConfig struct {
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	Type    *string `json:"type" tf:"type"`
}

func (*KubernetesSpecLogConfig) DeepCopy

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

func (*KubernetesSpecLogConfig) DeepCopyInto

func (in *KubernetesSpecLogConfig) DeepCopyInto(out *KubernetesSpecLogConfig)

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

type KubernetesSpecLogConfigCodec

type KubernetesSpecLogConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (KubernetesSpecLogConfigCodec) Decode

func (KubernetesSpecLogConfigCodec) Encode

func (KubernetesSpecLogConfigCodec) IsEmpty

type KubernetesSpecMasterNodes

type KubernetesSpecMasterNodes struct {
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	PrivateIP *string `json:"privateIP,omitempty" tf:"private_ip"`
}

func (*KubernetesSpecMasterNodes) DeepCopy

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

func (*KubernetesSpecMasterNodes) DeepCopyInto

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

type KubernetesSpecResource

type KubernetesSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Addons []KubernetesSpecAddons `json:"addons,omitempty" tf:"addons"`
	// +optional
	ApiAudiences []string `json:"apiAudiences,omitempty" tf:"api_audiences"`
	// +optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone"`
	// +optional
	CertificateAuthority map[string]KubernetesSpecCertificateAuthority `json:"certificateAuthority,omitempty" tf:"certificate_authority"`
	// +optional
	ClientCert *string `json:"clientCert,omitempty" tf:"client_cert"`
	// +optional
	ClientKey *string `json:"clientKey,omitempty" tf:"client_key"`
	// +optional
	ClusterCaCert *string `json:"clusterCaCert,omitempty" tf:"cluster_ca_cert"`
	// cluster local domain
	// +optional
	ClusterDomain *string `json:"clusterDomain,omitempty" tf:"cluster_domain"`
	// +optional
	ClusterNetworkType *string `json:"clusterNetworkType,omitempty" tf:"cluster_network_type"`
	// +optional
	Connections map[string]KubernetesSpecConnections `json:"connections,omitempty" tf:"connections"`
	// +optional
	CpuPolicy *string `json:"cpuPolicy,omitempty" tf:"cpu_policy"`
	// +optional
	CustomSan *string `json:"customSan,omitempty" tf:"custom_san"`
	// +optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection"`
	// +optional
	EnableSSH *bool `json:"enableSSH,omitempty" tf:"enable_ssh"`
	// +optional
	ExcludeAutoscalerNodes *bool `json:"excludeAutoscalerNodes,omitempty" tf:"exclude_autoscaler_nodes"`
	// +optional
	ForceUpdate *bool `json:"forceUpdate,omitempty" tf:"force_update"`
	// +optional
	ImageID *string `json:"imageID,omitempty" tf:"image_id"`
	// +optional
	InstallCloudMonitor *bool `json:"installCloudMonitor,omitempty" tf:"install_cloud_monitor"`
	// +optional
	IsEnterpriseSecurityGroup *bool `json:"isEnterpriseSecurityGroup,omitempty" tf:"is_enterprise_security_group"`
	// +optional
	KeyName *string `json:"keyName,omitempty" tf:"key_name"`
	// +optional
	KmsEncryptedPassword *string `json:"kmsEncryptedPassword,omitempty" tf:"kms_encrypted_password"`
	// +optional
	KmsEncryptionContext map[string]string `json:"kmsEncryptionContext,omitempty" tf:"kms_encryption_context"`
	// +optional
	KubeConfig *string `json:"kubeConfig,omitempty" tf:"kube_config"`
	// +optional
	LoadBalancerSpec *string `json:"loadBalancerSpec,omitempty" tf:"load_balancer_spec"`
	// +optional
	LogConfig *KubernetesSpecLogConfig `json:"logConfig,omitempty" tf:"log_config"`
	// +optional
	MasterAutoRenew *bool `json:"masterAutoRenew,omitempty" tf:"master_auto_renew"`
	// +optional
	MasterAutoRenewPeriod *int64 `json:"masterAutoRenewPeriod,omitempty" tf:"master_auto_renew_period"`
	// +optional
	MasterDiskCategory *string `json:"masterDiskCategory,omitempty" tf:"master_disk_category"`
	// +optional
	MasterDiskPerformanceLevel *string `json:"masterDiskPerformanceLevel,omitempty" tf:"master_disk_performance_level"`
	// +optional
	MasterDiskSize *int64 `json:"masterDiskSize,omitempty" tf:"master_disk_size"`
	// +optional
	MasterDiskSnapshotPolicyID *string `json:"masterDiskSnapshotPolicyID,omitempty" tf:"master_disk_snapshot_policy_id"`
	// +optional
	MasterInstanceChargeType *string `json:"masterInstanceChargeType,omitempty" tf:"master_instance_charge_type"`
	// +optional
	MasterInstanceType *string `json:"masterInstanceType,omitempty" tf:"master_instance_type"`
	// +kubebuilder:validation:MaxItems=5
	// +kubebuilder:validation:MinItems=3
	MasterInstanceTypes []string `json:"masterInstanceTypes" tf:"master_instance_types"`
	// +optional
	MasterNodes []KubernetesSpecMasterNodes `json:"masterNodes,omitempty" tf:"master_nodes"`
	// +optional
	MasterPeriod *int64 `json:"masterPeriod,omitempty" tf:"master_period"`
	// +optional
	MasterPeriodUnit *string `json:"masterPeriodUnit,omitempty" tf:"master_period_unit"`
	// +kubebuilder:validation:MaxItems=5
	// +kubebuilder:validation:MinItems=3
	MasterVswitchIDS []string `json:"masterVswitchIDS" tf:"master_vswitch_ids"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	// Deprecated
	NamePrefix *string `json:"namePrefix,omitempty" tf:"name_prefix"`
	// +optional
	NatGatewayID *string `json:"natGatewayID,omitempty" tf:"nat_gateway_id"`
	// +optional
	NewNATGateway *bool `json:"newNATGateway,omitempty" tf:"new_nat_gateway"`
	// +optional
	NodeCIDRMask *int64 `json:"nodeCIDRMask,omitempty" tf:"node_cidr_mask"`
	// +optional
	NodeNameMode *string `json:"nodeNameMode,omitempty" tf:"node_name_mode"`
	// +optional
	NodePortRange *string `json:"nodePortRange,omitempty" tf:"node_port_range"`
	// +optional
	Nodes []string `json:"nodes,omitempty" tf:"nodes"`
	// +optional
	OsType *string `json:"osType,omitempty" tf:"os_type"`
	// +optional
	Password *string `json:"-" sensitive:"true" tf:"password"`
	// +optional
	Platform *string `json:"platform,omitempty" tf:"platform"`
	// +optional
	PodCIDR *string `json:"podCIDR,omitempty" tf:"pod_cidr"`
	// +optional
	// +kubebuilder:validation:MaxItems=10
	PodVswitchIDS []string `json:"podVswitchIDS,omitempty" tf:"pod_vswitch_ids"`
	// +optional
	ProxyMode *string `json:"proxyMode,omitempty" tf:"proxy_mode"`
	// +optional
	RdsInstances []string `json:"rdsInstances,omitempty" tf:"rds_instances"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	RetainResources []string `json:"retainResources,omitempty" tf:"retain_resources"`
	// +optional
	Runtime map[string]KubernetesSpecRuntime `json:"runtime,omitempty" tf:"runtime"`
	// +optional
	SecurityGroupID *string `json:"securityGroupID,omitempty" tf:"security_group_id"`
	// +optional
	ServiceAccountIssuer *string `json:"serviceAccountIssuer,omitempty" tf:"service_account_issuer"`
	// +optional
	ServiceCIDR *string `json:"serviceCIDR,omitempty" tf:"service_cidr"`
	// +optional
	// Deprecated
	SlbID *string `json:"slbID,omitempty" tf:"slb_id"`
	// +optional
	SlbInternet *string `json:"slbInternet,omitempty" tf:"slb_internet"`
	// +optional
	SlbInternetEnabled *bool `json:"slbInternetEnabled,omitempty" tf:"slb_internet_enabled"`
	// +optional
	SlbIntranet *string `json:"slbIntranet,omitempty" tf:"slb_intranet"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	Taints []KubernetesSpecTaints `json:"taints,omitempty" tf:"taints"`
	// +optional
	Timezone *string `json:"timezone,omitempty" tf:"timezone"`
	// +optional
	UserCa *string `json:"userCa,omitempty" tf:"user_ca"`
	// +optional
	UserData *string `json:"userData,omitempty" tf:"user_data"`
	// +optional
	Version *string `json:"version,omitempty" tf:"version"`
	// +optional
	VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"`
	// +optional
	VswitchID *string `json:"vswitchID,omitempty" tf:"vswitch_id"`
	// +optional
	// +kubebuilder:validation:MaxItems=5
	// +kubebuilder:validation:MinItems=3
	VswitchIDS []string `json:"vswitchIDS,omitempty" tf:"vswitch_ids"`
	// +optional
	WorkerAutoRenew *bool `json:"workerAutoRenew,omitempty" tf:"worker_auto_renew"`
	// +optional
	WorkerAutoRenewPeriod *int64 `json:"workerAutoRenewPeriod,omitempty" tf:"worker_auto_renew_period"`
	// +optional
	WorkerDataDiskCategory *string `json:"workerDataDiskCategory,omitempty" tf:"worker_data_disk_category"`
	// +optional
	WorkerDataDiskSize *int64 `json:"workerDataDiskSize,omitempty" tf:"worker_data_disk_size"`
	// +optional
	WorkerDataDisks []KubernetesSpecWorkerDataDisks `json:"workerDataDisks,omitempty" tf:"worker_data_disks"`
	// +optional
	WorkerDiskCategory *string `json:"workerDiskCategory,omitempty" tf:"worker_disk_category"`
	// +optional
	WorkerDiskPerformanceLevel *string `json:"workerDiskPerformanceLevel,omitempty" tf:"worker_disk_performance_level"`
	// +optional
	WorkerDiskSize *int64 `json:"workerDiskSize,omitempty" tf:"worker_disk_size"`
	// +optional
	WorkerDiskSnapshotPolicyID *string `json:"workerDiskSnapshotPolicyID,omitempty" tf:"worker_disk_snapshot_policy_id"`
	// +optional
	WorkerInstanceChargeType *string `json:"workerInstanceChargeType,omitempty" tf:"worker_instance_charge_type"`
	// +optional
	WorkerInstanceType *string `json:"workerInstanceType,omitempty" tf:"worker_instance_type"`
	// +kubebuilder:validation:MaxItems=10
	// +kubebuilder:validation:MinItems=1
	WorkerInstanceTypes []string `json:"workerInstanceTypes" tf:"worker_instance_types"`
	// +optional
	WorkerNodes  []KubernetesSpecWorkerNodes `json:"workerNodes,omitempty" tf:"worker_nodes"`
	WorkerNumber *int64                      `json:"workerNumber" tf:"worker_number"`
	// +optional
	// +kubebuilder:validation:MaxItems=3
	// +kubebuilder:validation:MinItems=1
	WorkerNumbers []int64 `json:"workerNumbers,omitempty" tf:"worker_numbers"`
	// +optional
	WorkerPeriod *int64 `json:"workerPeriod,omitempty" tf:"worker_period"`
	// +optional
	WorkerPeriodUnit *string `json:"workerPeriodUnit,omitempty" tf:"worker_period_unit"`
	// +optional
	WorkerRAMRoleName *string `json:"workerRAMRoleName,omitempty" tf:"worker_ram_role_name"`
	// +kubebuilder:validation:MinItems=1
	WorkerVswitchIDS []string `json:"workerVswitchIDS" tf:"worker_vswitch_ids"`
}

func (*KubernetesSpecResource) DeepCopy

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

func (*KubernetesSpecResource) DeepCopyInto

func (in *KubernetesSpecResource) DeepCopyInto(out *KubernetesSpecResource)

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

type KubernetesSpecRuntime

type KubernetesSpecRuntime struct {
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Version *string `json:"version,omitempty" tf:"version"`
}

func (*KubernetesSpecRuntime) DeepCopy

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

func (*KubernetesSpecRuntime) DeepCopyInto

func (in *KubernetesSpecRuntime) DeepCopyInto(out *KubernetesSpecRuntime)

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

type KubernetesSpecTaints

type KubernetesSpecTaints struct {
	// +optional
	Effect *string `json:"effect,omitempty" tf:"effect"`
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*KubernetesSpecTaints) DeepCopy

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

func (*KubernetesSpecTaints) DeepCopyInto

func (in *KubernetesSpecTaints) DeepCopyInto(out *KubernetesSpecTaints)

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

type KubernetesSpecWorkerDataDisks

type KubernetesSpecWorkerDataDisks struct {
	// +optional
	AutoSnapshotPolicyID *string `json:"autoSnapshotPolicyID,omitempty" tf:"auto_snapshot_policy_id"`
	// +optional
	Category *string `json:"category,omitempty" tf:"category"`
	// +optional
	Device *string `json:"device,omitempty" tf:"device"`
	// +optional
	Encrypted *string `json:"encrypted,omitempty" tf:"encrypted"`
	// +optional
	KmsKeyID *string `json:"kmsKeyID,omitempty" tf:"kms_key_id"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	PerformanceLevel *string `json:"performanceLevel,omitempty" tf:"performance_level"`
	// +optional
	Size *string `json:"size,omitempty" tf:"size"`
	// +optional
	SnapshotID *string `json:"snapshotID,omitempty" tf:"snapshot_id"`
}

func (*KubernetesSpecWorkerDataDisks) DeepCopy

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

func (*KubernetesSpecWorkerDataDisks) DeepCopyInto

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

type KubernetesSpecWorkerNodes

type KubernetesSpecWorkerNodes struct {
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	PrivateIP *string `json:"privateIP,omitempty" tf:"private_ip"`
}

func (*KubernetesSpecWorkerNodes) DeepCopy

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

func (*KubernetesSpecWorkerNodes) DeepCopyInto

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

type KubernetesStatus

type KubernetesStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*KubernetesStatus) DeepCopy

func (in *KubernetesStatus) DeepCopy() *KubernetesStatus

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

func (*KubernetesStatus) DeepCopyInto

func (in *KubernetesStatus) DeepCopyInto(out *KubernetesStatus)

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

type ManagedKubernetes

type ManagedKubernetes struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ManagedKubernetesSpec   `json:"spec,omitempty"`
	Status            ManagedKubernetesStatus `json:"status,omitempty"`
}

func (*ManagedKubernetes) DeepCopy

func (in *ManagedKubernetes) DeepCopy() *ManagedKubernetes

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

func (*ManagedKubernetes) DeepCopyInto

func (in *ManagedKubernetes) DeepCopyInto(out *ManagedKubernetes)

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

func (*ManagedKubernetes) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ManagedKubernetes) SetupWebhookWithManager

func (r *ManagedKubernetes) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ManagedKubernetes) ValidateCreate

func (r *ManagedKubernetes) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ManagedKubernetes) ValidateDelete

func (r *ManagedKubernetes) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ManagedKubernetes) ValidateUpdate

func (r *ManagedKubernetes) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ManagedKubernetesList

type ManagedKubernetesList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ManagedKubernetes CRD objects
	Items []ManagedKubernetes `json:"items,omitempty"`
}

ManagedKubernetesList is a list of ManagedKubernetess

func (*ManagedKubernetesList) DeepCopy

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

func (*ManagedKubernetesList) DeepCopyInto

func (in *ManagedKubernetesList) DeepCopyInto(out *ManagedKubernetesList)

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

func (*ManagedKubernetesList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ManagedKubernetesSpec

type ManagedKubernetesSpec struct {
	State *ManagedKubernetesSpecResource `json:"state,omitempty" tf:"-"`

	Resource ManagedKubernetesSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ManagedKubernetesSpec) DeepCopy

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

func (*ManagedKubernetesSpec) DeepCopyInto

func (in *ManagedKubernetesSpec) DeepCopyInto(out *ManagedKubernetesSpec)

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

type ManagedKubernetesSpecAddons

type ManagedKubernetesSpecAddons struct {
	// +optional
	Config *string `json:"config,omitempty" tf:"config"`
	// +optional
	Disabled *bool `json:"disabled,omitempty" tf:"disabled"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
}

func (*ManagedKubernetesSpecAddons) DeepCopy

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

func (*ManagedKubernetesSpecAddons) DeepCopyInto

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

type ManagedKubernetesSpecCertificateAuthority

type ManagedKubernetesSpecCertificateAuthority struct {
	// +optional
	ClientCert *string `json:"clientCert,omitempty" tf:"client_cert"`
	// +optional
	ClientKey *string `json:"clientKey,omitempty" tf:"client_key"`
	// +optional
	ClusterCert *string `json:"clusterCert,omitempty" tf:"cluster_cert"`
}

func (*ManagedKubernetesSpecCertificateAuthority) DeepCopy

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

func (*ManagedKubernetesSpecCertificateAuthority) DeepCopyInto

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

type ManagedKubernetesSpecConnections

type ManagedKubernetesSpecConnections struct {
	// +optional
	ApiServerInternet *string `json:"apiServerInternet,omitempty" tf:"api_server_internet"`
	// +optional
	ApiServerIntranet *string `json:"apiServerIntranet,omitempty" tf:"api_server_intranet"`
	// +optional
	MasterPublicIP *string `json:"masterPublicIP,omitempty" tf:"master_public_ip"`
	// +optional
	ServiceDomain *string `json:"serviceDomain,omitempty" tf:"service_domain"`
}

func (*ManagedKubernetesSpecConnections) DeepCopy

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

func (*ManagedKubernetesSpecConnections) DeepCopyInto

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

type ManagedKubernetesSpecLogConfig

type ManagedKubernetesSpecLogConfig struct {
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	Type    *string `json:"type" tf:"type"`
}

func (*ManagedKubernetesSpecLogConfig) DeepCopy

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

func (*ManagedKubernetesSpecLogConfig) DeepCopyInto

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

type ManagedKubernetesSpecLogConfigCodec

type ManagedKubernetesSpecLogConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagedKubernetesSpecLogConfigCodec) Decode

func (ManagedKubernetesSpecLogConfigCodec) Encode

func (ManagedKubernetesSpecLogConfigCodec) IsEmpty

type ManagedKubernetesSpecMaintenanceWindow

type ManagedKubernetesSpecMaintenanceWindow struct {
	Duration        *string `json:"duration" tf:"duration"`
	Enable          *bool   `json:"enable" tf:"enable"`
	MaintenanceTime *string `json:"maintenanceTime" tf:"maintenance_time"`
	WeeklyPeriod    *string `json:"weeklyPeriod" tf:"weekly_period"`
}

func (*ManagedKubernetesSpecMaintenanceWindow) DeepCopy

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

func (*ManagedKubernetesSpecMaintenanceWindow) DeepCopyInto

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

type ManagedKubernetesSpecMaintenanceWindowCodec

type ManagedKubernetesSpecMaintenanceWindowCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagedKubernetesSpecMaintenanceWindowCodec) Decode

func (ManagedKubernetesSpecMaintenanceWindowCodec) Encode

func (ManagedKubernetesSpecMaintenanceWindowCodec) IsEmpty

type ManagedKubernetesSpecResource

type ManagedKubernetesSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Addons []ManagedKubernetesSpecAddons `json:"addons,omitempty" tf:"addons"`
	// +optional
	ApiAudiences []string `json:"apiAudiences,omitempty" tf:"api_audiences"`
	// +optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone"`
	// +optional
	CertificateAuthority map[string]ManagedKubernetesSpecCertificateAuthority `json:"certificateAuthority,omitempty" tf:"certificate_authority"`
	// +optional
	ClientCert *string `json:"clientCert,omitempty" tf:"client_cert"`
	// +optional
	ClientKey *string `json:"clientKey,omitempty" tf:"client_key"`
	// +optional
	ClusterCaCert *string `json:"clusterCaCert,omitempty" tf:"cluster_ca_cert"`
	// cluster local domain
	// +optional
	ClusterDomain *string `json:"clusterDomain,omitempty" tf:"cluster_domain"`
	// +optional
	ClusterNetworkType *string `json:"clusterNetworkType,omitempty" tf:"cluster_network_type"`
	// +optional
	ClusterSpec *string `json:"clusterSpec,omitempty" tf:"cluster_spec"`
	// +optional
	Connections map[string]ManagedKubernetesSpecConnections `json:"connections,omitempty" tf:"connections"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	ControlPlaneLogComponents []string `json:"controlPlaneLogComponents,omitempty" tf:"control_plane_log_components"`
	// +optional
	ControlPlaneLogProject *string `json:"controlPlaneLogProject,omitempty" tf:"control_plane_log_project"`
	// +optional
	ControlPlaneLogTtl *string `json:"controlPlaneLogTtl,omitempty" tf:"control_plane_log_ttl"`
	// +optional
	CpuPolicy *string `json:"cpuPolicy,omitempty" tf:"cpu_policy"`
	// +optional
	CustomSan *string `json:"customSan,omitempty" tf:"custom_san"`
	// +optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection"`
	// +optional
	EnableSSH *bool `json:"enableSSH,omitempty" tf:"enable_ssh"`
	// disk encryption key, only in ack-pro
	// +optional
	EncryptionProviderKey *string `json:"encryptionProviderKey,omitempty" tf:"encryption_provider_key"`
	// +optional
	ExcludeAutoscalerNodes *bool `json:"excludeAutoscalerNodes,omitempty" tf:"exclude_autoscaler_nodes"`
	// +optional
	ForceUpdate *bool `json:"forceUpdate,omitempty" tf:"force_update"`
	// +optional
	ImageID *string `json:"imageID,omitempty" tf:"image_id"`
	// +optional
	InstallCloudMonitor *bool `json:"installCloudMonitor,omitempty" tf:"install_cloud_monitor"`
	// +optional
	IsEnterpriseSecurityGroup *bool `json:"isEnterpriseSecurityGroup,omitempty" tf:"is_enterprise_security_group"`
	// +optional
	KeyName *string `json:"keyName,omitempty" tf:"key_name"`
	// +optional
	KmsEncryptedPassword *string `json:"kmsEncryptedPassword,omitempty" tf:"kms_encrypted_password"`
	// +optional
	KmsEncryptionContext map[string]string `json:"kmsEncryptionContext,omitempty" tf:"kms_encryption_context"`
	// +optional
	KubeConfig *string `json:"kubeConfig,omitempty" tf:"kube_config"`
	// +optional
	LoadBalancerSpec *string `json:"loadBalancerSpec,omitempty" tf:"load_balancer_spec"`
	// +optional
	LogConfig *ManagedKubernetesSpecLogConfig `json:"logConfig,omitempty" tf:"log_config"`
	// +optional
	MaintenanceWindow *ManagedKubernetesSpecMaintenanceWindow `json:"maintenanceWindow,omitempty" tf:"maintenance_window"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	NamePrefix *string `json:"namePrefix,omitempty" tf:"name_prefix"`
	// +optional
	NatGatewayID *string `json:"natGatewayID,omitempty" tf:"nat_gateway_id"`
	// +optional
	NewNATGateway *bool `json:"newNATGateway,omitempty" tf:"new_nat_gateway"`
	// +optional
	NodeCIDRMask *int64 `json:"nodeCIDRMask,omitempty" tf:"node_cidr_mask"`
	// +optional
	NodeNameMode *string `json:"nodeNameMode,omitempty" tf:"node_name_mode"`
	// +optional
	NodePortRange *string `json:"nodePortRange,omitempty" tf:"node_port_range"`
	// +optional
	OsType *string `json:"osType,omitempty" tf:"os_type"`
	// +optional
	Password *string `json:"-" sensitive:"true" tf:"password"`
	// +optional
	Platform *string `json:"platform,omitempty" tf:"platform"`
	// +optional
	PodCIDR *string `json:"podCIDR,omitempty" tf:"pod_cidr"`
	// +optional
	// +kubebuilder:validation:MaxItems=10
	PodVswitchIDS []string `json:"podVswitchIDS,omitempty" tf:"pod_vswitch_ids"`
	// +optional
	ProxyMode *string `json:"proxyMode,omitempty" tf:"proxy_mode"`
	// +optional
	RdsInstances []string `json:"rdsInstances,omitempty" tf:"rds_instances"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	RetainResources []string `json:"retainResources,omitempty" tf:"retain_resources"`
	// +optional
	Runtime map[string]ManagedKubernetesSpecRuntime `json:"runtime,omitempty" tf:"runtime"`
	// +optional
	SecurityGroupID *string `json:"securityGroupID,omitempty" tf:"security_group_id"`
	// +optional
	ServiceAccountIssuer *string `json:"serviceAccountIssuer,omitempty" tf:"service_account_issuer"`
	// +optional
	ServiceCIDR *string `json:"serviceCIDR,omitempty" tf:"service_cidr"`
	// +optional
	// Deprecated
	SlbID *string `json:"slbID,omitempty" tf:"slb_id"`
	// +optional
	SlbInternet *string `json:"slbInternet,omitempty" tf:"slb_internet"`
	// +optional
	SlbInternetEnabled *bool `json:"slbInternetEnabled,omitempty" tf:"slb_internet_enabled"`
	// +optional
	SlbIntranet *string `json:"slbIntranet,omitempty" tf:"slb_intranet"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	Taints []ManagedKubernetesSpecTaints `json:"taints,omitempty" tf:"taints"`
	// +optional
	Timezone *string `json:"timezone,omitempty" tf:"timezone"`
	// +optional
	UserCa *string `json:"userCa,omitempty" tf:"user_ca"`
	// +optional
	UserData *string `json:"userData,omitempty" tf:"user_data"`
	// +optional
	Version *string `json:"version,omitempty" tf:"version"`
	// +optional
	VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"`
	// +optional
	// +kubebuilder:validation:MaxItems=5
	// +kubebuilder:validation:MinItems=3
	VswitchIDS []string `json:"vswitchIDS,omitempty" tf:"vswitch_ids"`
	// +optional
	WorkerAutoRenew *bool `json:"workerAutoRenew,omitempty" tf:"worker_auto_renew"`
	// +optional
	WorkerAutoRenewPeriod *int64 `json:"workerAutoRenewPeriod,omitempty" tf:"worker_auto_renew_period"`
	// +optional
	WorkerDataDiskCategory *string `json:"workerDataDiskCategory,omitempty" tf:"worker_data_disk_category"`
	// +optional
	WorkerDataDiskSize *int64 `json:"workerDataDiskSize,omitempty" tf:"worker_data_disk_size"`
	// +optional
	WorkerDataDisks []ManagedKubernetesSpecWorkerDataDisks `json:"workerDataDisks,omitempty" tf:"worker_data_disks"`
	// +optional
	WorkerDiskCategory *string `json:"workerDiskCategory,omitempty" tf:"worker_disk_category"`
	// +optional
	WorkerDiskPerformanceLevel *string `json:"workerDiskPerformanceLevel,omitempty" tf:"worker_disk_performance_level"`
	// +optional
	WorkerDiskSize *int64 `json:"workerDiskSize,omitempty" tf:"worker_disk_size"`
	// +optional
	WorkerDiskSnapshotPolicyID *string `json:"workerDiskSnapshotPolicyID,omitempty" tf:"worker_disk_snapshot_policy_id"`
	// +optional
	WorkerInstanceChargeType *string `json:"workerInstanceChargeType,omitempty" tf:"worker_instance_charge_type"`
	// +optional
	WorkerInstanceType *string `json:"workerInstanceType,omitempty" tf:"worker_instance_type"`
	// +optional
	// +kubebuilder:validation:MaxItems=10
	WorkerInstanceTypes []string `json:"workerInstanceTypes,omitempty" tf:"worker_instance_types"`
	// +optional
	WorkerNodes []ManagedKubernetesSpecWorkerNodes `json:"workerNodes,omitempty" tf:"worker_nodes"`
	// +optional
	WorkerNumber *int64 `json:"workerNumber,omitempty" tf:"worker_number"`
	// +optional
	// +kubebuilder:validation:MaxItems=3
	// +kubebuilder:validation:MinItems=1
	WorkerNumbers []int64 `json:"workerNumbers,omitempty" tf:"worker_numbers"`
	// +optional
	WorkerPeriod *int64 `json:"workerPeriod,omitempty" tf:"worker_period"`
	// +optional
	WorkerPeriodUnit *string `json:"workerPeriodUnit,omitempty" tf:"worker_period_unit"`
	// +optional
	WorkerRAMRoleName *string `json:"workerRAMRoleName,omitempty" tf:"worker_ram_role_name"`
	// +kubebuilder:validation:MinItems=1
	WorkerVswitchIDS []string `json:"workerVswitchIDS" tf:"worker_vswitch_ids"`
}

func (*ManagedKubernetesSpecResource) DeepCopy

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

func (*ManagedKubernetesSpecResource) DeepCopyInto

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

type ManagedKubernetesSpecRuntime

type ManagedKubernetesSpecRuntime struct {
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Version *string `json:"version,omitempty" tf:"version"`
}

func (*ManagedKubernetesSpecRuntime) DeepCopy

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

func (*ManagedKubernetesSpecRuntime) DeepCopyInto

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

type ManagedKubernetesSpecTaints

type ManagedKubernetesSpecTaints struct {
	// +optional
	Effect *string `json:"effect,omitempty" tf:"effect"`
	// +optional
	Key *string `json:"key,omitempty" tf:"key"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*ManagedKubernetesSpecTaints) DeepCopy

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

func (*ManagedKubernetesSpecTaints) DeepCopyInto

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

type ManagedKubernetesSpecWorkerDataDisks

type ManagedKubernetesSpecWorkerDataDisks struct {
	// +optional
	AutoSnapshotPolicyID *string `json:"autoSnapshotPolicyID,omitempty" tf:"auto_snapshot_policy_id"`
	// +optional
	Category *string `json:"category,omitempty" tf:"category"`
	// +optional
	Device *string `json:"device,omitempty" tf:"device"`
	// +optional
	Encrypted *string `json:"encrypted,omitempty" tf:"encrypted"`
	// +optional
	KmsKeyID *string `json:"kmsKeyID,omitempty" tf:"kms_key_id"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	PerformanceLevel *string `json:"performanceLevel,omitempty" tf:"performance_level"`
	// +optional
	Size *string `json:"size,omitempty" tf:"size"`
	// +optional
	SnapshotID *string `json:"snapshotID,omitempty" tf:"snapshot_id"`
}

func (*ManagedKubernetesSpecWorkerDataDisks) DeepCopy

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

func (*ManagedKubernetesSpecWorkerDataDisks) DeepCopyInto

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

type ManagedKubernetesSpecWorkerNodes

type ManagedKubernetesSpecWorkerNodes struct {
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	PrivateIP *string `json:"privateIP,omitempty" tf:"private_ip"`
}

func (*ManagedKubernetesSpecWorkerNodes) DeepCopy

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

func (*ManagedKubernetesSpecWorkerNodes) DeepCopyInto

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

type ManagedKubernetesStatus

type ManagedKubernetesStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ManagedKubernetesStatus) DeepCopy

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

func (*ManagedKubernetesStatus) DeepCopyInto

func (in *ManagedKubernetesStatus) DeepCopyInto(out *ManagedKubernetesStatus)

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

type ServerlessKubernetes

type ServerlessKubernetes struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServerlessKubernetesSpec   `json:"spec,omitempty"`
	Status            ServerlessKubernetesStatus `json:"status,omitempty"`
}

func (*ServerlessKubernetes) DeepCopy

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

func (*ServerlessKubernetes) DeepCopyInto

func (in *ServerlessKubernetes) DeepCopyInto(out *ServerlessKubernetes)

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

func (*ServerlessKubernetes) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ServerlessKubernetes) SetupWebhookWithManager

func (r *ServerlessKubernetes) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ServerlessKubernetes) ValidateCreate

func (r *ServerlessKubernetes) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ServerlessKubernetes) ValidateDelete

func (r *ServerlessKubernetes) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ServerlessKubernetes) ValidateUpdate

func (r *ServerlessKubernetes) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ServerlessKubernetesList

type ServerlessKubernetesList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ServerlessKubernetes CRD objects
	Items []ServerlessKubernetes `json:"items,omitempty"`
}

ServerlessKubernetesList is a list of ServerlessKubernetess

func (*ServerlessKubernetesList) DeepCopy

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

func (*ServerlessKubernetesList) DeepCopyInto

func (in *ServerlessKubernetesList) DeepCopyInto(out *ServerlessKubernetesList)

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

func (*ServerlessKubernetesList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServerlessKubernetesSpec

type ServerlessKubernetesSpec struct {
	State *ServerlessKubernetesSpecResource `json:"state,omitempty" tf:"-"`

	Resource ServerlessKubernetesSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ServerlessKubernetesSpec) DeepCopy

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

func (*ServerlessKubernetesSpec) DeepCopyInto

func (in *ServerlessKubernetesSpec) DeepCopyInto(out *ServerlessKubernetesSpec)

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

type ServerlessKubernetesSpecAddons

type ServerlessKubernetesSpecAddons struct {
	// +optional
	Config *string `json:"config,omitempty" tf:"config"`
	// +optional
	Disabled *bool `json:"disabled,omitempty" tf:"disabled"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
}

func (*ServerlessKubernetesSpecAddons) DeepCopy

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

func (*ServerlessKubernetesSpecAddons) DeepCopyInto

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

type ServerlessKubernetesSpecResource

type ServerlessKubernetesSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Addons []ServerlessKubernetesSpecAddons `json:"addons,omitempty" tf:"addons"`
	// +optional
	ClientCert *string `json:"clientCert,omitempty" tf:"client_cert"`
	// +optional
	ClientKey *string `json:"clientKey,omitempty" tf:"client_key"`
	// +optional
	ClusterCaCert *string `json:"clusterCaCert,omitempty" tf:"cluster_ca_cert"`
	// +optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection"`
	// +optional
	EndpointPublicAccessEnabled *bool `json:"endpointPublicAccessEnabled,omitempty" tf:"endpoint_public_access_enabled"`
	// +optional
	ForceUpdate *bool `json:"forceUpdate,omitempty" tf:"force_update"`
	// +optional
	KubeConfig *string `json:"kubeConfig,omitempty" tf:"kube_config"`
	// +optional
	LoadBalancerSpec *string `json:"loadBalancerSpec,omitempty" tf:"load_balancer_spec"`
	// +optional
	LoggingType *string `json:"loggingType,omitempty" tf:"logging_type"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	NamePrefix *string `json:"namePrefix,omitempty" tf:"name_prefix"`
	// +optional
	NewNATGateway *bool `json:"newNATGateway,omitempty" tf:"new_nat_gateway"`
	// +optional
	// Deprecated
	PrivateZone *bool `json:"privateZone,omitempty" tf:"private_zone"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	RetainResources []string `json:"retainResources,omitempty" tf:"retain_resources"`
	// +optional
	SecurityGroupID *string `json:"securityGroupID,omitempty" tf:"security_group_id"`
	// +optional
	ServiceCIDR *string `json:"serviceCIDR,omitempty" tf:"service_cidr"`
	// +optional
	ServiceDiscoveryTypes []string `json:"serviceDiscoveryTypes,omitempty" tf:"service_discovery_types"`
	// +optional
	SlsProjectName *string `json:"slsProjectName,omitempty" tf:"sls_project_name"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TimeZone *string `json:"timeZone,omitempty" tf:"time_zone"`
	// +optional
	Version *string `json:"version,omitempty" tf:"version"`
	VpcID   *string `json:"vpcID" tf:"vpc_id"`
	// +optional
	// Deprecated
	VswitchID *string `json:"vswitchID,omitempty" tf:"vswitch_id"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	VswitchIDS []string `json:"vswitchIDS,omitempty" tf:"vswitch_ids"`
	// +optional
	ZoneID *string `json:"zoneID,omitempty" tf:"zone_id"`
}

func (*ServerlessKubernetesSpecResource) DeepCopy

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

func (*ServerlessKubernetesSpecResource) DeepCopyInto

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

type ServerlessKubernetesStatus

type ServerlessKubernetesStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*ServerlessKubernetesStatus) DeepCopy

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

func (*ServerlessKubernetesStatus) DeepCopyInto

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

type Swarm

type Swarm struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SwarmSpec   `json:"spec,omitempty"`
	Status            SwarmStatus `json:"status,omitempty"`
}

func (*Swarm) DeepCopy

func (in *Swarm) DeepCopy() *Swarm

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

func (*Swarm) DeepCopyInto

func (in *Swarm) DeepCopyInto(out *Swarm)

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

func (*Swarm) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Swarm) SetupWebhookWithManager

func (r *Swarm) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Swarm) ValidateCreate

func (r *Swarm) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Swarm) ValidateDelete

func (r *Swarm) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Swarm) ValidateUpdate

func (r *Swarm) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type SwarmList

type SwarmList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Swarm CRD objects
	Items []Swarm `json:"items,omitempty"`
}

SwarmList is a list of Swarms

func (*SwarmList) DeepCopy

func (in *SwarmList) DeepCopy() *SwarmList

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

func (*SwarmList) DeepCopyInto

func (in *SwarmList) DeepCopyInto(out *SwarmList)

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

func (*SwarmList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SwarmSpec

type SwarmSpec struct {
	State *SwarmSpecResource `json:"state,omitempty" tf:"-"`

	Resource SwarmSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*SwarmSpec) DeepCopy

func (in *SwarmSpec) DeepCopy() *SwarmSpec

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

func (*SwarmSpec) DeepCopyInto

func (in *SwarmSpec) DeepCopyInto(out *SwarmSpec)

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

type SwarmSpecNodes

type SwarmSpecNodes struct {
	// +optional
	Eip *string `json:"eip,omitempty" tf:"eip"`
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	PrivateIP *string `json:"privateIP,omitempty" tf:"private_ip"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*SwarmSpecNodes) DeepCopy

func (in *SwarmSpecNodes) DeepCopy() *SwarmSpecNodes

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

func (*SwarmSpecNodes) DeepCopyInto

func (in *SwarmSpecNodes) DeepCopyInto(out *SwarmSpecNodes)

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

type SwarmSpecResource

type SwarmSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	AgentVersion *string `json:"agentVersion,omitempty" tf:"agent_version"`
	CidrBlock    *string `json:"cidrBlock" tf:"cidr_block"`
	// +optional
	DiskCategory *string `json:"diskCategory,omitempty" tf:"disk_category"`
	// +optional
	DiskSize *int64 `json:"diskSize,omitempty" tf:"disk_size"`
	// +optional
	ImageID      *string `json:"imageID,omitempty" tf:"image_id"`
	InstanceType *string `json:"instanceType" tf:"instance_type"`
	// +optional
	IsOutdated *bool `json:"isOutdated,omitempty" tf:"is_outdated"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	NamePrefix *string `json:"namePrefix,omitempty" tf:"name_prefix"`
	// +optional
	NeedSlb *bool `json:"needSlb,omitempty" tf:"need_slb"`
	// +optional
	NodeNumber *int64 `json:"nodeNumber,omitempty" tf:"node_number"`
	// +optional
	Nodes    []SwarmSpecNodes `json:"nodes,omitempty" tf:"nodes"`
	Password *string          `json:"-" sensitive:"true" tf:"password"`
	// +optional
	ReleaseEip *bool `json:"releaseEip,omitempty" tf:"release_eip"`
	// +optional
	SecurityGroupID *string `json:"securityGroupID,omitempty" tf:"security_group_id"`
	// +optional
	// Deprecated
	Size *int64 `json:"size,omitempty" tf:"size"`
	// +optional
	SlbID *string `json:"slbID,omitempty" tf:"slb_id"`
	// +optional
	VpcID     *string `json:"vpcID,omitempty" tf:"vpc_id"`
	VswitchID *string `json:"vswitchID" tf:"vswitch_id"`
}

func (*SwarmSpecResource) DeepCopy

func (in *SwarmSpecResource) DeepCopy() *SwarmSpecResource

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

func (*SwarmSpecResource) DeepCopyInto

func (in *SwarmSpecResource) DeepCopyInto(out *SwarmSpecResource)

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

type SwarmStatus

type SwarmStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*SwarmStatus) DeepCopy

func (in *SwarmStatus) DeepCopy() *SwarmStatus

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

func (*SwarmStatus) DeepCopyInto

func (in *SwarmStatus) DeepCopyInto(out *SwarmStatus)

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