v1alpha1

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=containercluster.tencentcloud.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "containercluster.tencentcloud.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	ContainerCluster_Kind             = "ContainerCluster"
	ContainerCluster_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ContainerCluster_Kind}.String()
	ContainerCluster_KindAPIVersion   = ContainerCluster_Kind + "." + CRDGroupVersion.String()
	ContainerCluster_GroupVersionKind = CRDGroupVersion.WithKind(ContainerCluster_Kind)
)

Repository type metadata.

View Source
var (
	ContainerClusterInstance_Kind             = "ContainerClusterInstance"
	ContainerClusterInstance_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ContainerClusterInstance_Kind}.String()
	ContainerClusterInstance_KindAPIVersion   = ContainerClusterInstance_Kind + "." + CRDGroupVersion.String()
	ContainerClusterInstance_GroupVersionKind = CRDGroupVersion.WithKind(ContainerClusterInstance_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type ContainerCluster

type ContainerCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ContainerClusterSpec   `json:"spec"`
	Status            ContainerClusterStatus `json:"status,omitempty"`
}

ContainerCluster is the Schema for the ContainerClusters API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}

func (*ContainerCluster) DeepCopy

func (in *ContainerCluster) DeepCopy() *ContainerCluster

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

func (*ContainerCluster) DeepCopyInto

func (in *ContainerCluster) DeepCopyInto(out *ContainerCluster)

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

func (*ContainerCluster) DeepCopyObject

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

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

func (*ContainerCluster) GetCondition

func (mg *ContainerCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ContainerCluster.

func (*ContainerCluster) GetConnectionDetailsMapping

func (tr *ContainerCluster) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ContainerCluster

func (*ContainerCluster) GetDeletionPolicy

func (mg *ContainerCluster) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ContainerCluster.

func (*ContainerCluster) GetID

func (tr *ContainerCluster) GetID() string

GetID returns ID of underlying Terraform resource of this ContainerCluster

func (*ContainerCluster) GetObservation

func (tr *ContainerCluster) GetObservation() (map[string]interface{}, error)

GetObservation of this ContainerCluster

func (*ContainerCluster) GetParameters

func (tr *ContainerCluster) GetParameters() (map[string]interface{}, error)

GetParameters of this ContainerCluster

func (*ContainerCluster) GetProviderConfigReference

func (mg *ContainerCluster) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ContainerCluster.

func (*ContainerCluster) GetProviderReference

func (mg *ContainerCluster) GetProviderReference() *xpv1.Reference

GetProviderReference of this ContainerCluster. Deprecated: Use GetProviderConfigReference.

func (*ContainerCluster) GetPublishConnectionDetailsTo

func (mg *ContainerCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ContainerCluster.

func (*ContainerCluster) GetTerraformResourceType

func (mg *ContainerCluster) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ContainerCluster

func (*ContainerCluster) GetTerraformSchemaVersion

func (tr *ContainerCluster) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ContainerCluster) GetWriteConnectionSecretToReference

func (mg *ContainerCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ContainerCluster.

func (*ContainerCluster) LateInitialize

func (tr *ContainerCluster) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ContainerCluster using its observed tfState. returns True if there are any spec changes for the resource.

func (*ContainerCluster) SetConditions

func (mg *ContainerCluster) SetConditions(c ...xpv1.Condition)

SetConditions of this ContainerCluster.

func (*ContainerCluster) SetDeletionPolicy

func (mg *ContainerCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ContainerCluster.

func (*ContainerCluster) SetObservation

func (tr *ContainerCluster) SetObservation(obs map[string]interface{}) error

SetObservation for this ContainerCluster

func (*ContainerCluster) SetParameters

func (tr *ContainerCluster) SetParameters(params map[string]interface{}) error

SetParameters for this ContainerCluster

func (*ContainerCluster) SetProviderConfigReference

func (mg *ContainerCluster) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ContainerCluster.

func (*ContainerCluster) SetProviderReference

func (mg *ContainerCluster) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ContainerCluster. Deprecated: Use SetProviderConfigReference.

func (*ContainerCluster) SetPublishConnectionDetailsTo

func (mg *ContainerCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ContainerCluster.

func (*ContainerCluster) SetWriteConnectionSecretToReference

func (mg *ContainerCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ContainerCluster.

type ContainerClusterInstance

type ContainerClusterInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ContainerClusterInstanceSpec   `json:"spec"`
	Status            ContainerClusterInstanceStatus `json:"status,omitempty"`
}

ContainerClusterInstance is the Schema for the ContainerClusterInstances API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,tencentcloudjet}

func (*ContainerClusterInstance) DeepCopy

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

func (*ContainerClusterInstance) DeepCopyInto

func (in *ContainerClusterInstance) DeepCopyInto(out *ContainerClusterInstance)

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

func (*ContainerClusterInstance) DeepCopyObject

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

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

func (*ContainerClusterInstance) GetCondition

GetCondition of this ContainerClusterInstance.

func (*ContainerClusterInstance) GetConnectionDetailsMapping

func (tr *ContainerClusterInstance) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ContainerClusterInstance

func (*ContainerClusterInstance) GetDeletionPolicy

func (mg *ContainerClusterInstance) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ContainerClusterInstance.

func (*ContainerClusterInstance) GetID

func (tr *ContainerClusterInstance) GetID() string

GetID returns ID of underlying Terraform resource of this ContainerClusterInstance

func (*ContainerClusterInstance) GetObservation

func (tr *ContainerClusterInstance) GetObservation() (map[string]interface{}, error)

GetObservation of this ContainerClusterInstance

func (*ContainerClusterInstance) GetParameters

func (tr *ContainerClusterInstance) GetParameters() (map[string]interface{}, error)

GetParameters of this ContainerClusterInstance

func (*ContainerClusterInstance) GetProviderConfigReference

func (mg *ContainerClusterInstance) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ContainerClusterInstance.

func (*ContainerClusterInstance) GetProviderReference

func (mg *ContainerClusterInstance) GetProviderReference() *xpv1.Reference

GetProviderReference of this ContainerClusterInstance. Deprecated: Use GetProviderConfigReference.

func (*ContainerClusterInstance) GetPublishConnectionDetailsTo

func (mg *ContainerClusterInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ContainerClusterInstance.

func (*ContainerClusterInstance) GetTerraformResourceType

func (mg *ContainerClusterInstance) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ContainerClusterInstance

func (*ContainerClusterInstance) GetTerraformSchemaVersion

func (tr *ContainerClusterInstance) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ContainerClusterInstance) GetWriteConnectionSecretToReference

func (mg *ContainerClusterInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ContainerClusterInstance.

func (*ContainerClusterInstance) LateInitialize

func (tr *ContainerClusterInstance) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ContainerClusterInstance using its observed tfState. returns True if there are any spec changes for the resource.

func (*ContainerClusterInstance) ResolveReferences

func (mg *ContainerClusterInstance) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this ContainerClusterInstance.

func (*ContainerClusterInstance) SetConditions

func (mg *ContainerClusterInstance) SetConditions(c ...xpv1.Condition)

SetConditions of this ContainerClusterInstance.

func (*ContainerClusterInstance) SetDeletionPolicy

func (mg *ContainerClusterInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ContainerClusterInstance.

func (*ContainerClusterInstance) SetObservation

func (tr *ContainerClusterInstance) SetObservation(obs map[string]interface{}) error

SetObservation for this ContainerClusterInstance

func (*ContainerClusterInstance) SetParameters

func (tr *ContainerClusterInstance) SetParameters(params map[string]interface{}) error

SetParameters for this ContainerClusterInstance

func (*ContainerClusterInstance) SetProviderConfigReference

func (mg *ContainerClusterInstance) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ContainerClusterInstance.

func (*ContainerClusterInstance) SetProviderReference

func (mg *ContainerClusterInstance) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this ContainerClusterInstance. Deprecated: Use SetProviderConfigReference.

func (*ContainerClusterInstance) SetPublishConnectionDetailsTo

func (mg *ContainerClusterInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ContainerClusterInstance.

func (*ContainerClusterInstance) SetWriteConnectionSecretToReference

func (mg *ContainerClusterInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ContainerClusterInstance.

type ContainerClusterInstanceList

type ContainerClusterInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ContainerClusterInstance `json:"items"`
}

ContainerClusterInstanceList contains a list of ContainerClusterInstances

func (*ContainerClusterInstanceList) DeepCopy

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

func (*ContainerClusterInstanceList) DeepCopyInto

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

func (*ContainerClusterInstanceList) DeepCopyObject

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

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

func (*ContainerClusterInstanceList) GetItems

GetItems of this ContainerClusterInstanceList.

type ContainerClusterInstanceObservation

type ContainerClusterInstanceObservation struct {
	AbnormalReason *string `json:"abnormalReason,omitempty" tf:"abnormal_reason,omitempty"`

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

	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	IsNormal *float64 `json:"isNormal,omitempty" tf:"is_normal,omitempty"`

	LanIP *string `json:"lanIp,omitempty" tf:"lan_ip,omitempty"`

	WanIP *string `json:"wanIp,omitempty" tf:"wan_ip,omitempty"`
}

func (*ContainerClusterInstanceObservation) DeepCopy

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

func (*ContainerClusterInstanceObservation) DeepCopyInto

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

type ContainerClusterInstanceParameters

type ContainerClusterInstanceParameters struct {

	// The network bandwidth of the node.
	// +kubebuilder:validation:Required
	Bandwidth *float64 `json:"bandwidth" tf:"bandwidth,omitempty"`

	// The network type of the node.
	// +kubebuilder:validation:Required
	BandwidthType *string `json:"bandwidthType" tf:"bandwidth_type,omitempty"`

	// The cpu of the node.
	// +kubebuilder:validation:Optional
	CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"`

	// The id of the cluster.
	// +crossplane:generate:reference:type=ContainerCluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// The type of node needed by cvm.
	// +kubebuilder:validation:Optional
	CvmType *string `json:"cvmType,omitempty" tf:"cvm_type,omitempty"`

	// The docker graph path is going to mounted.
	// +kubebuilder:validation:Optional
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// The name ot node.
	// +kubebuilder:validation:Optional
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// The instance type of the node needed by cvm.
	// +kubebuilder:validation:Optional
	InstanceType *string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// Describe whether the node enable the gateway capability.
	// +kubebuilder:validation:Required
	IsVPCGateway *float64 `json:"isVpcGateway" tf:"is_vpc_gateway,omitempty"`

	// The key_id of each node(if using key pair to access).
	// +kubebuilder:validation:Optional
	KeyID *string `json:"keyId,omitempty" tf:"key_id,omitempty"`

	// The memory of the node.
	// +kubebuilder:validation:Optional
	Mem *float64 `json:"mem,omitempty" tf:"mem,omitempty"`

	// The path which volume is going to be mounted.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// The password of each node.
	// +kubebuilder:validation:Optional
	Password *string `json:"password,omitempty" tf:"password,omitempty"`

	// The puchase duration of the node needed by cvm.
	// +kubebuilder:validation:Optional
	Period *float64 `json:"period,omitempty" tf:"period,omitempty"`

	// Indicate whether wan ip is needed.
	// +kubebuilder:validation:Optional
	RequireWanIP *float64 `json:"requireWanIp,omitempty" tf:"require_wan_ip,omitempty"`

	// The size of the root volume.
	// +kubebuilder:validation:Required
	RootSize *float64 `json:"rootSize" tf:"root_size,omitempty"`

	// The type of the root volume. see more from CVM.
	// +kubebuilder:validation:Optional
	RootType *string `json:"rootType,omitempty" tf:"root_type,omitempty"`

	// The security group id.
	// +kubebuilder:validation:Optional
	SgID *string `json:"sgId,omitempty" tf:"sg_id,omitempty"`

	// The size of the data volume.
	// +kubebuilder:validation:Required
	StorageSize *float64 `json:"storageSize" tf:"storage_size,omitempty"`

	// The type of the data volume. see more from CVM.
	// +kubebuilder:validation:Optional
	StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"`

	// The subnet id which the node stays in.
	// +kubebuilder:validation:Required
	SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"`

	// Determine whether the node will be schedulable. 0 is the default meaning node will be schedulable. 1 for unschedulable.
	// +kubebuilder:validation:Optional
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// User defined script in a base64-format. The script runs after the kubernetes component is ready on node. see more from CCS api documents.
	// +kubebuilder:validation:Optional
	UserScript *string `json:"userScript,omitempty" tf:"user_script,omitempty"`

	// The zone which the node stays in.
	// +kubebuilder:validation:Required
	ZoneID *string `json:"zoneId" tf:"zone_id,omitempty"`
}

func (*ContainerClusterInstanceParameters) DeepCopy

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

func (*ContainerClusterInstanceParameters) DeepCopyInto

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

type ContainerClusterInstanceSpec

type ContainerClusterInstanceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ContainerClusterInstanceParameters `json:"forProvider"`
}

ContainerClusterInstanceSpec defines the desired state of ContainerClusterInstance

func (*ContainerClusterInstanceSpec) DeepCopy

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

func (*ContainerClusterInstanceSpec) DeepCopyInto

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

type ContainerClusterInstanceStatus

type ContainerClusterInstanceStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ContainerClusterInstanceObservation `json:"atProvider,omitempty"`
}

ContainerClusterInstanceStatus defines the observed state of ContainerClusterInstance.

func (*ContainerClusterInstanceStatus) DeepCopy

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

func (*ContainerClusterInstanceStatus) DeepCopyInto

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

type ContainerClusterList

type ContainerClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ContainerCluster `json:"items"`
}

ContainerClusterList contains a list of ContainerClusters

func (*ContainerClusterList) DeepCopy

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

func (*ContainerClusterList) DeepCopyInto

func (in *ContainerClusterList) DeepCopyInto(out *ContainerClusterList)

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

func (*ContainerClusterList) DeepCopyObject

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

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

func (*ContainerClusterList) GetItems

func (l *ContainerClusterList) GetItems() []resource.Managed

GetItems of this ContainerClusterList.

type ContainerClusterObservation

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

	KubernetesVersion *string `json:"kubernetesVersion,omitempty" tf:"kubernetes_version,omitempty"`

	NodesNum *float64 `json:"nodesNum,omitempty" tf:"nodes_num,omitempty"`

	NodesStatus *string `json:"nodesStatus,omitempty" tf:"nodes_status,omitempty"`

	TotalCPU *float64 `json:"totalCpu,omitempty" tf:"total_cpu,omitempty"`

	TotalMem *float64 `json:"totalMem,omitempty" tf:"total_mem,omitempty"`
}

func (*ContainerClusterObservation) DeepCopy

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

func (*ContainerClusterObservation) DeepCopyInto

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

type ContainerClusterParameters

type ContainerClusterParameters struct {

	// The network bandwidth of the node.
	// +kubebuilder:validation:Required
	Bandwidth *float64 `json:"bandwidth" tf:"bandwidth,omitempty"`

	// The network type of the node.
	// +kubebuilder:validation:Required
	BandwidthType *string `json:"bandwidthType" tf:"bandwidth_type,omitempty"`

	// The cpu of the node.
	// +kubebuilder:validation:Optional
	CPU *float64 `json:"cpu,omitempty" tf:"cpu,omitempty"`

	// The CIDR which the cluster is going to use.
	// +kubebuilder:validation:Required
	ClusterCidr *string `json:"clusterCidr" tf:"cluster_cidr,omitempty"`

	// The description of the cluster.
	// +kubebuilder:validation:Optional
	ClusterDesc *string `json:"clusterDesc,omitempty" tf:"cluster_desc,omitempty"`

	// The name of the cluster.
	// +kubebuilder:validation:Required
	ClusterName *string `json:"clusterName" tf:"cluster_name,omitempty"`

	// The kubernetes version of the cluster.
	// +kubebuilder:validation:Optional
	ClusterVersion *string `json:"clusterVersion,omitempty" tf:"cluster_version,omitempty"`

	// The type of node needed by cvm.
	// +kubebuilder:validation:Optional
	CvmType *string `json:"cvmType,omitempty" tf:"cvm_type,omitempty"`

	// The docker graph path is going to mounted.
	// +kubebuilder:validation:Optional
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// The node number is going to create in the cluster.
	// +kubebuilder:validation:Required
	GoodsNum *float64 `json:"goodsNum" tf:"goods_num,omitempty"`

	// The name ot node.
	// +kubebuilder:validation:Optional
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// The instance type of the node needed by cvm.
	// +kubebuilder:validation:Required
	InstanceType *string `json:"instanceType" tf:"instance_type,omitempty"`

	// Describe whether the node enable the gateway capability.
	// +kubebuilder:validation:Required
	IsVPCGateway *float64 `json:"isVpcGateway" tf:"is_vpc_gateway,omitempty"`

	// The key_id of each node(if using key pair to access).
	// +kubebuilder:validation:Optional
	KeyID *string `json:"keyId,omitempty" tf:"key_id,omitempty"`

	// The memory of the node.
	// +kubebuilder:validation:Optional
	Mem *float64 `json:"mem,omitempty" tf:"mem,omitempty"`

	// The path which volume is going to be mounted.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// The system os name of the node.
	// +kubebuilder:validation:Required
	OsName *string `json:"osName" tf:"os_name,omitempty"`

	// The password of each node.
	// +kubebuilder:validation:Optional
	Password *string `json:"password,omitempty" tf:"password,omitempty"`

	// The puchase duration of the node needed by cvm.
	// +kubebuilder:validation:Optional
	Period *float64 `json:"period,omitempty" tf:"period,omitempty"`

	// Indicate whether wan ip is needed.
	// +kubebuilder:validation:Optional
	RequireWanIP *float64 `json:"requireWanIp,omitempty" tf:"require_wan_ip,omitempty"`

	// The size of the root volume.
	// +kubebuilder:validation:Required
	RootSize *float64 `json:"rootSize" tf:"root_size,omitempty"`

	// The type of the root volume. see more from CVM.
	// +kubebuilder:validation:Optional
	RootType *string `json:"rootType,omitempty" tf:"root_type,omitempty"`

	// The security group id.
	// +kubebuilder:validation:Optional
	SgID *string `json:"sgId,omitempty" tf:"sg_id,omitempty"`

	// The size of the data volume.
	// +kubebuilder:validation:Required
	StorageSize *float64 `json:"storageSize" tf:"storage_size,omitempty"`

	// The type of the data volume. see more from CVM.
	// +kubebuilder:validation:Optional
	StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"`

	// The subnet id which the node stays in.
	// +kubebuilder:validation:Required
	SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"`

	// Determine whether the node will be schedulable. 0 is the default meaning node will be schedulable. 1 for unschedulable.
	// +kubebuilder:validation:Optional
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// User defined script in a base64-format. The script runs after the kubernetes component is ready on node. see more from CCS api documents.
	// +kubebuilder:validation:Optional
	UserScript *string `json:"userScript,omitempty" tf:"user_script,omitempty"`

	// Specify vpc which the node(s) stay in.
	// +kubebuilder:validation:Required
	VPCID *string `json:"vpcId" tf:"vpc_id,omitempty"`

	// The zone which the node stays in.
	// +kubebuilder:validation:Required
	ZoneID *string `json:"zoneId" tf:"zone_id,omitempty"`
}

func (*ContainerClusterParameters) DeepCopy

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

func (*ContainerClusterParameters) DeepCopyInto

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

type ContainerClusterSpec

type ContainerClusterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ContainerClusterParameters `json:"forProvider"`
}

ContainerClusterSpec defines the desired state of ContainerCluster

func (*ContainerClusterSpec) DeepCopy

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

func (*ContainerClusterSpec) DeepCopyInto

func (in *ContainerClusterSpec) DeepCopyInto(out *ContainerClusterSpec)

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

type ContainerClusterStatus

type ContainerClusterStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ContainerClusterObservation `json:"atProvider,omitempty"`
}

ContainerClusterStatus defines the observed state of ContainerCluster.

func (*ContainerClusterStatus) DeepCopy

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

func (*ContainerClusterStatus) DeepCopyInto

func (in *ContainerClusterStatus) DeepCopyInto(out *ContainerClusterStatus)

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