v1alpha1

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	AddonAttachment_Kind             = "AddonAttachment"
	AddonAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AddonAttachment_Kind}.String()
	AddonAttachment_KindAPIVersion   = AddonAttachment_Kind + "." + CRDGroupVersion.String()
	AddonAttachment_GroupVersionKind = CRDGroupVersion.WithKind(AddonAttachment_Kind)
)

Repository type metadata.

View Source
var (
	AuthAttachment_Kind             = "AuthAttachment"
	AuthAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AuthAttachment_Kind}.String()
	AuthAttachment_KindAPIVersion   = AuthAttachment_Kind + "." + CRDGroupVersion.String()
	AuthAttachment_GroupVersionKind = CRDGroupVersion.WithKind(AuthAttachment_Kind)
)

Repository type metadata.

View Source
var (
	Cluster_Kind             = "Cluster"
	Cluster_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Cluster_Kind}.String()
	Cluster_KindAPIVersion   = Cluster_Kind + "." + CRDGroupVersion.String()
	Cluster_GroupVersionKind = CRDGroupVersion.WithKind(Cluster_Kind)
)

Repository type metadata.

View Source
var (
	ClusterAttachment_Kind             = "ClusterAttachment"
	ClusterAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ClusterAttachment_Kind}.String()
	ClusterAttachment_KindAPIVersion   = ClusterAttachment_Kind + "." + CRDGroupVersion.String()
	ClusterAttachment_GroupVersionKind = CRDGroupVersion.WithKind(ClusterAttachment_Kind)
)

Repository type metadata.

View Source
var (
	ClusterEndpoint_Kind             = "ClusterEndpoint"
	ClusterEndpoint_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ClusterEndpoint_Kind}.String()
	ClusterEndpoint_KindAPIVersion   = ClusterEndpoint_Kind + "." + CRDGroupVersion.String()
	ClusterEndpoint_GroupVersionKind = CRDGroupVersion.WithKind(ClusterEndpoint_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
)
View Source
var (
	NodePool_Kind             = "NodePool"
	NodePool_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: NodePool_Kind}.String()
	NodePool_KindAPIVersion   = NodePool_Kind + "." + CRDGroupVersion.String()
	NodePool_GroupVersionKind = CRDGroupVersion.WithKind(NodePool_Kind)
)

Repository type metadata.

View Source
var (
	ScaleWorker_Kind             = "ScaleWorker"
	ScaleWorker_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ScaleWorker_Kind}.String()
	ScaleWorker_KindAPIVersion   = ScaleWorker_Kind + "." + CRDGroupVersion.String()
	ScaleWorker_GroupVersionKind = CRDGroupVersion.WithKind(ScaleWorker_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AddonAttachment

type AddonAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AddonAttachmentSpec   `json:"spec"`
	Status            AddonAttachmentStatus `json:"status,omitempty"`
}

AddonAttachment is the Schema for the AddonAttachments 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 (*AddonAttachment) DeepCopy

func (in *AddonAttachment) DeepCopy() *AddonAttachment

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

func (*AddonAttachment) DeepCopyInto

func (in *AddonAttachment) DeepCopyInto(out *AddonAttachment)

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

func (*AddonAttachment) DeepCopyObject

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

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

func (*AddonAttachment) GetCondition

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

GetCondition of this AddonAttachment.

func (*AddonAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AddonAttachment

func (*AddonAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this AddonAttachment.

func (*AddonAttachment) GetID

func (tr *AddonAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this AddonAttachment

func (*AddonAttachment) GetObservation

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

GetObservation of this AddonAttachment

func (*AddonAttachment) GetParameters

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

GetParameters of this AddonAttachment

func (*AddonAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this AddonAttachment.

func (*AddonAttachment) GetProviderReference

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

GetProviderReference of this AddonAttachment. Deprecated: Use GetProviderConfigReference.

func (*AddonAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AddonAttachment.

func (*AddonAttachment) GetTerraformResourceType

func (mg *AddonAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AddonAttachment

func (*AddonAttachment) GetTerraformSchemaVersion

func (tr *AddonAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AddonAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AddonAttachment.

func (*AddonAttachment) LateInitialize

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

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

func (*AddonAttachment) ResolveReferences

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

ResolveReferences of this AddonAttachment.

func (*AddonAttachment) SetConditions

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

SetConditions of this AddonAttachment.

func (*AddonAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this AddonAttachment.

func (*AddonAttachment) SetObservation

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

SetObservation for this AddonAttachment

func (*AddonAttachment) SetParameters

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

SetParameters for this AddonAttachment

func (*AddonAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this AddonAttachment.

func (*AddonAttachment) SetProviderReference

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

SetProviderReference of this AddonAttachment. Deprecated: Use SetProviderConfigReference.

func (*AddonAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AddonAttachment.

func (*AddonAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AddonAttachment.

type AddonAttachmentList

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

AddonAttachmentList contains a list of AddonAttachments

func (*AddonAttachmentList) DeepCopy

func (in *AddonAttachmentList) DeepCopy() *AddonAttachmentList

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

func (*AddonAttachmentList) DeepCopyInto

func (in *AddonAttachmentList) DeepCopyInto(out *AddonAttachmentList)

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

func (*AddonAttachmentList) DeepCopyObject

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

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

func (*AddonAttachmentList) GetItems

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

GetItems of this AddonAttachmentList.

type AddonAttachmentObservation

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

	ResponseBody *string `json:"responseBody,omitempty" tf:"response_body,omitempty"`

	Status map[string]*string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*AddonAttachmentObservation) DeepCopy

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

func (*AddonAttachmentObservation) DeepCopyInto

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

type AddonAttachmentParameters

type AddonAttachmentParameters struct {

	// ID of cluster.
	// +crossplane:generate:reference:type=Cluster
	// +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:"-"`

	// Name of addon.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Raw Values. Conflict with `request_body`. Required with `raw_values_type`.
	// +kubebuilder:validation:Optional
	RawValues *string `json:"rawValues,omitempty" tf:"raw_values,omitempty"`

	// The type of raw Values. Required with `raw_values`.
	// +kubebuilder:validation:Optional
	RawValuesType *string `json:"rawValuesType,omitempty" tf:"raw_values_type,omitempty"`

	// Serialized json string as request body of addon spec. If set, will ignore `version` and `values`.
	// +kubebuilder:validation:Optional
	RequestBody *string `json:"requestBody,omitempty" tf:"request_body,omitempty"`

	// Values the addon passthroughs. Conflict with `request_body`.
	// +kubebuilder:validation:Optional
	Values []*string `json:"values,omitempty" tf:"values,omitempty"`

	// Addon version, default latest version. Conflict with `request_body`.
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*AddonAttachmentParameters) DeepCopy

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

func (*AddonAttachmentParameters) DeepCopyInto

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

type AddonAttachmentSpec

type AddonAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AddonAttachmentParameters `json:"forProvider"`
}

AddonAttachmentSpec defines the desired state of AddonAttachment

func (*AddonAttachmentSpec) DeepCopy

func (in *AddonAttachmentSpec) DeepCopy() *AddonAttachmentSpec

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

func (*AddonAttachmentSpec) DeepCopyInto

func (in *AddonAttachmentSpec) DeepCopyInto(out *AddonAttachmentSpec)

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

type AddonAttachmentStatus

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

AddonAttachmentStatus defines the observed state of AddonAttachment.

func (*AddonAttachmentStatus) DeepCopy

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

func (*AddonAttachmentStatus) DeepCopyInto

func (in *AddonAttachmentStatus) DeepCopyInto(out *AddonAttachmentStatus)

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

type AuthAttachment

type AuthAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AuthAttachmentSpec   `json:"spec"`
	Status            AuthAttachmentStatus `json:"status,omitempty"`
}

AuthAttachment is the Schema for the AuthAttachments 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 (*AuthAttachment) DeepCopy

func (in *AuthAttachment) DeepCopy() *AuthAttachment

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

func (*AuthAttachment) DeepCopyInto

func (in *AuthAttachment) DeepCopyInto(out *AuthAttachment)

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

func (*AuthAttachment) DeepCopyObject

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

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

func (*AuthAttachment) GetCondition

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

GetCondition of this AuthAttachment.

func (*AuthAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AuthAttachment

func (*AuthAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this AuthAttachment.

func (*AuthAttachment) GetID

func (tr *AuthAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this AuthAttachment

func (*AuthAttachment) GetObservation

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

GetObservation of this AuthAttachment

func (*AuthAttachment) GetParameters

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

GetParameters of this AuthAttachment

func (*AuthAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this AuthAttachment.

func (*AuthAttachment) GetProviderReference

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

GetProviderReference of this AuthAttachment. Deprecated: Use GetProviderConfigReference.

func (*AuthAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AuthAttachment.

func (*AuthAttachment) GetTerraformResourceType

func (mg *AuthAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AuthAttachment

func (*AuthAttachment) GetTerraformSchemaVersion

func (tr *AuthAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AuthAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AuthAttachment.

func (*AuthAttachment) LateInitialize

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

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

func (*AuthAttachment) ResolveReferences

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

ResolveReferences of this AuthAttachment.

func (*AuthAttachment) SetConditions

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

SetConditions of this AuthAttachment.

func (*AuthAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this AuthAttachment.

func (*AuthAttachment) SetObservation

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

SetObservation for this AuthAttachment

func (*AuthAttachment) SetParameters

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

SetParameters for this AuthAttachment

func (*AuthAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this AuthAttachment.

func (*AuthAttachment) SetProviderReference

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

SetProviderReference of this AuthAttachment. Deprecated: Use SetProviderConfigReference.

func (*AuthAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AuthAttachment.

func (*AuthAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AuthAttachment.

type AuthAttachmentList

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

AuthAttachmentList contains a list of AuthAttachments

func (*AuthAttachmentList) DeepCopy

func (in *AuthAttachmentList) DeepCopy() *AuthAttachmentList

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

func (*AuthAttachmentList) DeepCopyInto

func (in *AuthAttachmentList) DeepCopyInto(out *AuthAttachmentList)

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

func (*AuthAttachmentList) DeepCopyObject

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

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

func (*AuthAttachmentList) GetItems

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

GetItems of this AuthAttachmentList.

type AuthAttachmentObservation

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

	TkeDefaultIssuer *string `json:"tkeDefaultIssuer,omitempty" tf:"tke_default_issuer,omitempty"`

	TkeDefaultJwksURI *string `json:"tkeDefaultJwksUri,omitempty" tf:"tke_default_jwks_uri,omitempty"`
}

func (*AuthAttachmentObservation) DeepCopy

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

func (*AuthAttachmentObservation) DeepCopyInto

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

type AuthAttachmentParameters

type AuthAttachmentParameters struct {

	// Creating ClientId of the identity provider.
	// +kubebuilder:validation:Optional
	AutoCreateClientID []*string `json:"autoCreateClientId,omitempty" tf:"auto_create_client_id,omitempty"`

	// If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	// +kubebuilder:validation:Optional
	AutoCreateDiscoveryAnonymousAuth *bool `json:"autoCreateDiscoveryAnonymousAuth,omitempty" tf:"auto_create_discovery_anonymous_auth,omitempty"`

	// Creating an identity provider.
	// +kubebuilder:validation:Optional
	AutoCreateOidcConfig *bool `json:"autoCreateOidcConfig,omitempty" tf:"auto_create_oidc_config,omitempty"`

	// Creating the PodIdentityWebhook component. if `auto_create_oidc_config` is true, this field must set true.
	// +kubebuilder:validation:Optional
	AutoInstallPodIdentityWebhookAddon *bool `json:"autoInstallPodIdentityWebhookAddon,omitempty" tf:"auto_install_pod_identity_webhook_addon,omitempty"`

	// ID of clusters.
	// +crossplane:generate:reference:type=Cluster
	// +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:"-"`

	// Specify service-account-issuer. If use_tke_default is set to `true`, please do not set this field.
	// +kubebuilder:validation:Optional
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`

	// Specify service-account-jwks-uri. If use_tke_default is set to `true`, please do not set this field.
	// +kubebuilder:validation:Optional
	JwksURI *string `json:"jwksUri,omitempty" tf:"jwks_uri,omitempty"`

	// If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri.
	// +kubebuilder:validation:Optional
	UseTkeDefault *bool `json:"useTkeDefault,omitempty" tf:"use_tke_default,omitempty"`
}

func (*AuthAttachmentParameters) DeepCopy

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

func (*AuthAttachmentParameters) DeepCopyInto

func (in *AuthAttachmentParameters) DeepCopyInto(out *AuthAttachmentParameters)

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

type AuthAttachmentSpec

type AuthAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AuthAttachmentParameters `json:"forProvider"`
}

AuthAttachmentSpec defines the desired state of AuthAttachment

func (*AuthAttachmentSpec) DeepCopy

func (in *AuthAttachmentSpec) DeepCopy() *AuthAttachmentSpec

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

func (*AuthAttachmentSpec) DeepCopyInto

func (in *AuthAttachmentSpec) DeepCopyInto(out *AuthAttachmentSpec)

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

type AuthAttachmentStatus

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

AuthAttachmentStatus defines the observed state of AuthAttachment.

func (*AuthAttachmentStatus) DeepCopy

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

func (*AuthAttachmentStatus) DeepCopyInto

func (in *AuthAttachmentStatus) DeepCopyInto(out *AuthAttachmentStatus)

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

type AuthOptionsObservation

type AuthOptionsObservation struct {
}

func (*AuthOptionsObservation) DeepCopy

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

func (*AuthOptionsObservation) DeepCopyInto

func (in *AuthOptionsObservation) DeepCopyInto(out *AuthOptionsObservation)

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

type AuthOptionsParameters

type AuthOptionsParameters struct {

	// If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
	// +kubebuilder:validation:Optional
	AutoCreateDiscoveryAnonymousAuth *bool `json:"autoCreateDiscoveryAnonymousAuth,omitempty" tf:"auto_create_discovery_anonymous_auth,omitempty"`

	// Specify service-account-issuer. If use_tke_default is set to `true`, please do not set this field, it will be ignored anyway.
	// +kubebuilder:validation:Optional
	Issuer *string `json:"issuer,omitempty" tf:"issuer,omitempty"`

	// Specify service-account-jwks-uri. If use_tke_default is set to `true`, please do not set this field, it will be ignored anyway.
	// +kubebuilder:validation:Optional
	JwksURI *string `json:"jwksUri,omitempty" tf:"jwks_uri,omitempty"`

	// If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri, and they will be ignored.
	// +kubebuilder:validation:Optional
	UseTkeDefault *bool `json:"useTkeDefault,omitempty" tf:"use_tke_default,omitempty"`
}

func (*AuthOptionsParameters) DeepCopy

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

func (*AuthOptionsParameters) DeepCopyInto

func (in *AuthOptionsParameters) DeepCopyInto(out *AuthOptionsParameters)

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

type AutoScalingConfigDataDiskObservation

type AutoScalingConfigDataDiskObservation struct {
}

func (*AutoScalingConfigDataDiskObservation) DeepCopy

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

func (*AutoScalingConfigDataDiskObservation) DeepCopyInto

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

type AutoScalingConfigDataDiskParameters

type AutoScalingConfigDataDiskParameters struct {

	// Indicates whether the disk remove after instance terminated. Default is `false`.
	// +kubebuilder:validation:Optional
	DeleteWithInstance *bool `json:"deleteWithInstance,omitempty" tf:"delete_with_instance,omitempty"`

	// Volume of disk in GB. Default is `0`.
	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role `QcloudKMSAccessForCVMRole` was provided.
	// +kubebuilder:validation:Optional
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// Data disk snapshot ID.
	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`

	// Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD` and `data_size` > 460GB.
	// +kubebuilder:validation:Optional
	ThroughputPerformance *float64 `json:"throughputPerformance,omitempty" tf:"throughput_performance,omitempty"`
}

func (*AutoScalingConfigDataDiskParameters) DeepCopy

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

func (*AutoScalingConfigDataDiskParameters) DeepCopyInto

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

type AutoScalingConfigObservation

type AutoScalingConfigObservation struct {
}

func (*AutoScalingConfigObservation) DeepCopy

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

func (*AutoScalingConfigObservation) DeepCopyInto

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

type AutoScalingConfigParameters

type AutoScalingConfigParameters struct {

	// Backup CVM instance types if specified instance type sold out or mismatch.
	// +kubebuilder:validation:Optional
	BackupInstanceTypes []*string `json:"backupInstanceTypes,omitempty" tf:"backup_instance_types,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// +kubebuilder:validation:Optional
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

	// Name of cam role.
	// +kubebuilder:validation:Optional
	CamRoleName *string `json:"camRoleName,omitempty" tf:"cam_role_name,omitempty"`

	// Configurations of data disk.
	// +kubebuilder:validation:Optional
	DataDisk []AutoScalingConfigDataDiskParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// To specify whether to enable cloud monitor service. Default is TRUE.
	// +kubebuilder:validation:Optional
	EnhancedMonitorService *bool `json:"enhancedMonitorService,omitempty" tf:"enhanced_monitor_service,omitempty"`

	// To specify whether to enable cloud security service. Default is TRUE.
	// +kubebuilder:validation:Optional
	EnhancedSecurityService *bool `json:"enhancedSecurityService,omitempty" tf:"enhanced_security_service,omitempty"`

	// The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
	// +kubebuilder:validation:Optional
	HostName *string `json:"hostName,omitempty" tf:"host_name,omitempty"`

	// The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
	// +kubebuilder:validation:Optional
	HostNameStyle *string `json:"hostNameStyle,omitempty" tf:"host_name_style,omitempty"`

	// Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spot_instance_type` and `spot_max_price` at the same time.
	// +kubebuilder:validation:Optional
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type,omitempty"`

	// The tenancy (in month) of the prepaid instance, NOTE: it only works when instance_charge_type is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
	// +kubebuilder:validation:Optional
	InstanceChargeTypePrepaidPeriod *float64 `json:"instanceChargeTypePrepaidPeriod,omitempty" tf:"instance_charge_type_prepaid_period,omitempty"`

	// Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to `PREPAID`.
	// +kubebuilder:validation:Optional
	InstanceChargeTypePrepaidRenewFlag *string `json:"instanceChargeTypePrepaidRenewFlag,omitempty" tf:"instance_charge_type_prepaid_renew_flag,omitempty"`

	// Instance name, no more than 60 characters. For usage, refer to `InstanceNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
	// +kubebuilder:validation:Optional
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// +kubebuilder:validation:Required
	InstanceType *string `json:"instanceType" tf:"instance_type,omitempty"`

	// Charge types for network traffic. Valid value: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.
	// +kubebuilder:validation:Optional
	InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type,omitempty"`

	// Max bandwidth of Internet access in Mbps. Default is `0`.
	// +kubebuilder:validation:Optional
	InternetMaxBandwidthOut *float64 `json:"internetMaxBandwidthOut,omitempty" tf:"internet_max_bandwidth_out,omitempty"`

	// ID list of keys.
	// +kubebuilder:validation:Optional
	KeyIds []*string `json:"keyIds,omitempty" tf:"key_ids,omitempty"`

	// Ordered security groups to which a CVM instance belongs.
	// +kubebuilder:validation:Optional
	OrderlySecurityGroupIds []*string `json:"orderlySecurityGroupIds,omitempty" tf:"orderly_security_group_ids,omitempty"`

	// Password to access.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Specify whether to assign an Internet IP address.
	// +kubebuilder:validation:Optional
	PublicIPAssigned *bool `json:"publicIpAssigned,omitempty" tf:"public_ip_assigned,omitempty"`

	// (**Deprecated**) The order of elements in this field cannot be guaranteed. Use `orderly_security_group_ids` instead. Security groups to which a CVM instance belongs.
	// +kubebuilder:validation:Optional
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// Type of spot instance, only support `one-time` now. Note: it only works when instance_charge_type is set to `SPOTPAID`.
	// +kubebuilder:validation:Optional
	SpotInstanceType *string `json:"spotInstanceType,omitempty" tf:"spot_instance_type,omitempty"`

	// Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instance_charge_type is set to `SPOTPAID`.
	// +kubebuilder:validation:Optional
	SpotMaxPrice *string `json:"spotMaxPrice,omitempty" tf:"spot_max_price,omitempty"`

	// Volume of system disk in GB. Default is `50`.
	// +kubebuilder:validation:Optional
	SystemDiskSize *float64 `json:"systemDiskSize,omitempty" tf:"system_disk_size,omitempty"`

	// Type of a CVM disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`.
	// +kubebuilder:validation:Optional
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`
}

func (*AutoScalingConfigParameters) DeepCopy

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

func (*AutoScalingConfigParameters) DeepCopyInto

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

type Cluster

type Cluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClusterSpec   `json:"spec"`
	Status            ClusterStatus `json:"status,omitempty"`
}

Cluster is the Schema for the Clusters 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 (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

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

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

func (*Cluster) GetCondition

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

GetCondition of this Cluster.

func (*Cluster) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Cluster

func (*Cluster) GetDeletionPolicy

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

GetDeletionPolicy of this Cluster.

func (*Cluster) GetID

func (tr *Cluster) GetID() string

GetID returns ID of underlying Terraform resource of this Cluster

func (*Cluster) GetObservation

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

GetObservation of this Cluster

func (*Cluster) GetParameters

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

GetParameters of this Cluster

func (*Cluster) GetProviderConfigReference

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

GetProviderConfigReference of this Cluster.

func (*Cluster) GetProviderReference

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

GetProviderReference of this Cluster. Deprecated: Use GetProviderConfigReference.

func (*Cluster) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Cluster.

func (*Cluster) GetTerraformResourceType

func (mg *Cluster) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Cluster

func (*Cluster) GetTerraformSchemaVersion

func (tr *Cluster) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Cluster) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Cluster.

func (*Cluster) LateInitialize

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

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

func (*Cluster) ResolveReferences

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

ResolveReferences of this Cluster.

func (*Cluster) SetConditions

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

SetConditions of this Cluster.

func (*Cluster) SetDeletionPolicy

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

SetDeletionPolicy of this Cluster.

func (*Cluster) SetObservation

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

SetObservation for this Cluster

func (*Cluster) SetParameters

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

SetParameters for this Cluster

func (*Cluster) SetProviderConfigReference

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

SetProviderConfigReference of this Cluster.

func (*Cluster) SetProviderReference

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

SetProviderReference of this Cluster. Deprecated: Use SetProviderConfigReference.

func (*Cluster) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Cluster.

func (*Cluster) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Cluster.

type ClusterAttachment

type ClusterAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClusterAttachmentSpec   `json:"spec"`
	Status            ClusterAttachmentStatus `json:"status,omitempty"`
}

ClusterAttachment is the Schema for the ClusterAttachments 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 (*ClusterAttachment) DeepCopy

func (in *ClusterAttachment) DeepCopy() *ClusterAttachment

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

func (*ClusterAttachment) DeepCopyInto

func (in *ClusterAttachment) DeepCopyInto(out *ClusterAttachment)

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

func (*ClusterAttachment) DeepCopyObject

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

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

func (*ClusterAttachment) GetCondition

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

GetCondition of this ClusterAttachment.

func (*ClusterAttachment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ClusterAttachment

func (*ClusterAttachment) GetDeletionPolicy

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

GetDeletionPolicy of this ClusterAttachment.

func (*ClusterAttachment) GetID

func (tr *ClusterAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this ClusterAttachment

func (*ClusterAttachment) GetObservation

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

GetObservation of this ClusterAttachment

func (*ClusterAttachment) GetParameters

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

GetParameters of this ClusterAttachment

func (*ClusterAttachment) GetProviderConfigReference

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

GetProviderConfigReference of this ClusterAttachment.

func (*ClusterAttachment) GetProviderReference

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

GetProviderReference of this ClusterAttachment. Deprecated: Use GetProviderConfigReference.

func (*ClusterAttachment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ClusterAttachment.

func (*ClusterAttachment) GetTerraformResourceType

func (mg *ClusterAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ClusterAttachment

func (*ClusterAttachment) GetTerraformSchemaVersion

func (tr *ClusterAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ClusterAttachment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ClusterAttachment.

func (*ClusterAttachment) LateInitialize

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

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

func (*ClusterAttachment) ResolveReferences

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

ResolveReferences of this ClusterAttachment.

func (*ClusterAttachment) SetConditions

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

SetConditions of this ClusterAttachment.

func (*ClusterAttachment) SetDeletionPolicy

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

SetDeletionPolicy of this ClusterAttachment.

func (*ClusterAttachment) SetObservation

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

SetObservation for this ClusterAttachment

func (*ClusterAttachment) SetParameters

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

SetParameters for this ClusterAttachment

func (*ClusterAttachment) SetProviderConfigReference

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

SetProviderConfigReference of this ClusterAttachment.

func (*ClusterAttachment) SetProviderReference

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

SetProviderReference of this ClusterAttachment. Deprecated: Use SetProviderConfigReference.

func (*ClusterAttachment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ClusterAttachment.

func (*ClusterAttachment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ClusterAttachment.

type ClusterAttachmentList

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

ClusterAttachmentList contains a list of ClusterAttachments

func (*ClusterAttachmentList) DeepCopy

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

func (*ClusterAttachmentList) DeepCopyInto

func (in *ClusterAttachmentList) DeepCopyInto(out *ClusterAttachmentList)

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

func (*ClusterAttachmentList) DeepCopyObject

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

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

func (*ClusterAttachmentList) GetItems

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

GetItems of this ClusterAttachmentList.

type ClusterAttachmentObservation

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

	SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"`

	State *string `json:"state,omitempty" tf:"state,omitempty"`
}

func (*ClusterAttachmentObservation) DeepCopy

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

func (*ClusterAttachmentObservation) DeepCopyInto

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

type ClusterAttachmentParameters

type ClusterAttachmentParameters struct {

	// ID of the cluster.
	// +crossplane:generate:reference:type=Cluster
	// +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 host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// ID of the CVM instance, this cvm will reinstall the system.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/cvm/v1alpha1.Instance
	// +kubebuilder:validation:Optional
	InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

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

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

	// The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if `password` not set.
	// +kubebuilder:validation:Optional
	KeyIds []*string `json:"keyIds,omitempty" tf:"key_ids,omitempty"`

	// Labels of tke attachment exits CVM.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Password to access, should be set if `key_ids` not set.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// +kubebuilder:validation:Optional
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
	// +kubebuilder:validation:Optional
	WorkerConfig []ClusterAttachmentWorkerConfigParameters `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`

	// Override variable worker_config, commonly used to attach existing instances.
	// +kubebuilder:validation:Optional
	WorkerConfigOverrides []WorkerConfigOverridesParameters `json:"workerConfigOverrides,omitempty" tf:"worker_config_overrides,omitempty"`
}

func (*ClusterAttachmentParameters) DeepCopy

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

func (*ClusterAttachmentParameters) DeepCopyInto

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

type ClusterAttachmentSpec

type ClusterAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClusterAttachmentParameters `json:"forProvider"`
}

ClusterAttachmentSpec defines the desired state of ClusterAttachment

func (*ClusterAttachmentSpec) DeepCopy

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

func (*ClusterAttachmentSpec) DeepCopyInto

func (in *ClusterAttachmentSpec) DeepCopyInto(out *ClusterAttachmentSpec)

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

type ClusterAttachmentStatus

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

ClusterAttachmentStatus defines the observed state of ClusterAttachment.

func (*ClusterAttachmentStatus) DeepCopy

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

func (*ClusterAttachmentStatus) DeepCopyInto

func (in *ClusterAttachmentStatus) DeepCopyInto(out *ClusterAttachmentStatus)

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

type ClusterAttachmentWorkerConfigDataDiskObservation

type ClusterAttachmentWorkerConfigDataDiskObservation struct {
}

func (*ClusterAttachmentWorkerConfigDataDiskObservation) DeepCopy

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

func (*ClusterAttachmentWorkerConfigDataDiskObservation) DeepCopyInto

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

type ClusterAttachmentWorkerConfigDataDiskParameters

type ClusterAttachmentWorkerConfigDataDiskParameters struct {

	// Indicate whether to auto format and mount or not. Default is `false`.
	// +kubebuilder:validation:Optional
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	// +kubebuilder:validation:Optional
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

	// Volume of disk in GB. Default is `0`.
	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. `ext3/ext4/xfs`.
	// +kubebuilder:validation:Optional
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*ClusterAttachmentWorkerConfigDataDiskParameters) DeepCopy

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

func (*ClusterAttachmentWorkerConfigDataDiskParameters) DeepCopyInto

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

type ClusterAttachmentWorkerConfigObservation

type ClusterAttachmentWorkerConfigObservation struct {
}

func (*ClusterAttachmentWorkerConfigObservation) DeepCopy

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

func (*ClusterAttachmentWorkerConfigObservation) DeepCopyInto

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

type ClusterAttachmentWorkerConfigParameters

type ClusterAttachmentWorkerConfigParameters struct {

	// Configurations of data disk.
	// +kubebuilder:validation:Optional
	DataDisk []ClusterAttachmentWorkerConfigDataDiskParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	// +kubebuilder:validation:Optional
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is `/var/lib/docker`.
	// +kubebuilder:validation:Optional
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node. This is a white-list parameter.
	// +kubebuilder:validation:Optional
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// +kubebuilder:validation:Optional
	GpuArgs []GpuArgsParameters `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

	// Indicate to schedule the adding node or not. Default is true.
	// +kubebuilder:validation:Optional
	IsSchedule *bool `json:"isSchedule,omitempty" tf:"is_schedule,omitempty"`

	// Mount target. Default is not mounting.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Base64-encoded User Data text, the length limit is 16KB.
	// +kubebuilder:validation:Optional
	UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
}

func (*ClusterAttachmentWorkerConfigParameters) DeepCopy

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

func (*ClusterAttachmentWorkerConfigParameters) DeepCopyInto

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

type ClusterAuditObservation

type ClusterAuditObservation struct {
}

func (*ClusterAuditObservation) DeepCopy

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

func (*ClusterAuditObservation) DeepCopyInto

func (in *ClusterAuditObservation) DeepCopyInto(out *ClusterAuditObservation)

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

type ClusterAuditParameters

type ClusterAuditParameters struct {

	// when you want to close the cluster audit log or delete the cluster, you can use this parameter to determine whether the audit log set and topic created by default will be deleted.
	// +kubebuilder:validation:Optional
	DeleteAuditLogAndTopic *bool `json:"deleteAuditLogAndTopic,omitempty" tf:"delete_audit_log_and_topic,omitempty"`

	// Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	// +kubebuilder:validation:Optional
	LogSetID *string `json:"logSetId,omitempty" tf:"log_set_id,omitempty"`

	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	// +kubebuilder:validation:Optional
	TopicID *string `json:"topicId,omitempty" tf:"topic_id,omitempty"`
}

func (*ClusterAuditParameters) DeepCopy

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

func (*ClusterAuditParameters) DeepCopyInto

func (in *ClusterAuditParameters) DeepCopyInto(out *ClusterAuditParameters)

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

type ClusterEndpoint

type ClusterEndpoint struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClusterEndpointSpec   `json:"spec"`
	Status            ClusterEndpointStatus `json:"status,omitempty"`
}

ClusterEndpoint is the Schema for the ClusterEndpoints 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 (*ClusterEndpoint) DeepCopy

func (in *ClusterEndpoint) DeepCopy() *ClusterEndpoint

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

func (*ClusterEndpoint) DeepCopyInto

func (in *ClusterEndpoint) DeepCopyInto(out *ClusterEndpoint)

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

func (*ClusterEndpoint) DeepCopyObject

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

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

func (*ClusterEndpoint) GetCondition

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

GetCondition of this ClusterEndpoint.

func (*ClusterEndpoint) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ClusterEndpoint

func (*ClusterEndpoint) GetDeletionPolicy

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

GetDeletionPolicy of this ClusterEndpoint.

func (*ClusterEndpoint) GetID

func (tr *ClusterEndpoint) GetID() string

GetID returns ID of underlying Terraform resource of this ClusterEndpoint

func (*ClusterEndpoint) GetObservation

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

GetObservation of this ClusterEndpoint

func (*ClusterEndpoint) GetParameters

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

GetParameters of this ClusterEndpoint

func (*ClusterEndpoint) GetProviderConfigReference

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

GetProviderConfigReference of this ClusterEndpoint.

func (*ClusterEndpoint) GetProviderReference

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

GetProviderReference of this ClusterEndpoint. Deprecated: Use GetProviderConfigReference.

func (*ClusterEndpoint) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ClusterEndpoint.

func (*ClusterEndpoint) GetTerraformResourceType

func (mg *ClusterEndpoint) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ClusterEndpoint

func (*ClusterEndpoint) GetTerraformSchemaVersion

func (tr *ClusterEndpoint) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ClusterEndpoint) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ClusterEndpoint.

func (*ClusterEndpoint) LateInitialize

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

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

func (*ClusterEndpoint) ResolveReferences

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

ResolveReferences of this ClusterEndpoint.

func (*ClusterEndpoint) SetConditions

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

SetConditions of this ClusterEndpoint.

func (*ClusterEndpoint) SetDeletionPolicy

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

SetDeletionPolicy of this ClusterEndpoint.

func (*ClusterEndpoint) SetObservation

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

SetObservation for this ClusterEndpoint

func (*ClusterEndpoint) SetParameters

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

SetParameters for this ClusterEndpoint

func (*ClusterEndpoint) SetProviderConfigReference

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

SetProviderConfigReference of this ClusterEndpoint.

func (*ClusterEndpoint) SetProviderReference

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

SetProviderReference of this ClusterEndpoint. Deprecated: Use SetProviderConfigReference.

func (*ClusterEndpoint) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ClusterEndpoint.

func (*ClusterEndpoint) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ClusterEndpoint.

type ClusterEndpointList

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

ClusterEndpointList contains a list of ClusterEndpoints

func (*ClusterEndpointList) DeepCopy

func (in *ClusterEndpointList) DeepCopy() *ClusterEndpointList

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

func (*ClusterEndpointList) DeepCopyInto

func (in *ClusterEndpointList) DeepCopyInto(out *ClusterEndpointList)

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

func (*ClusterEndpointList) DeepCopyObject

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

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

func (*ClusterEndpointList) GetItems

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

GetItems of this ClusterEndpointList.

type ClusterEndpointObservation

type ClusterEndpointObservation struct {
	CertificationAuthority *string `json:"certificationAuthority,omitempty" tf:"certification_authority,omitempty"`

	ClusterDeployType *string `json:"clusterDeployType,omitempty" tf:"cluster_deploy_type,omitempty"`

	ClusterExternalEndpoint *string `json:"clusterExternalEndpoint,omitempty" tf:"cluster_external_endpoint,omitempty"`

	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

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

	PgwEndpoint *string `json:"pgwEndpoint,omitempty" tf:"pgw_endpoint,omitempty"`

	UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"`
}

func (*ClusterEndpointObservation) DeepCopy

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

func (*ClusterEndpointObservation) DeepCopyInto

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

type ClusterEndpointParameters

type ClusterEndpointParameters struct {

	// Specify cluster ID.
	// +crossplane:generate:reference:type=Cluster
	// +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:"-"`

	// Open internet access or not.
	// +kubebuilder:validation:Optional
	ClusterInternet *bool `json:"clusterInternet,omitempty" tf:"cluster_internet,omitempty"`

	// Domain name for cluster Kube-apiserver internet access.  Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
	// +kubebuilder:validation:Optional
	ClusterInternetDomain *string `json:"clusterInternetDomain,omitempty" tf:"cluster_internet_domain,omitempty"`

	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	// +kubebuilder:validation:Optional
	ClusterInternetSecurityGroup *string `json:"clusterInternetSecurityGroup,omitempty" tf:"cluster_internet_security_group,omitempty"`

	// Open intranet access or not.
	// +kubebuilder:validation:Optional
	ClusterIntranet *bool `json:"clusterIntranet,omitempty" tf:"cluster_intranet,omitempty"`

	// Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
	// +kubebuilder:validation:Optional
	ClusterIntranetDomain *string `json:"clusterIntranetDomain,omitempty" tf:"cluster_intranet_domain,omitempty"`

	// Subnet id who can access this independent cluster, this field must and can only set  when `cluster_intranet` is true. `cluster_intranet_subnet_id` can not modify once be set.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.Subnet
	// +kubebuilder:validation:Optional
	ClusterIntranetSubnetID *string `json:"clusterIntranetSubnetId,omitempty" tf:"cluster_intranet_subnet_id,omitempty"`

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

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

	// The LB parameter. Only used for public network access.
	// +kubebuilder:validation:Optional
	ExtensiveParameters *string `json:"extensiveParameters,omitempty" tf:"extensive_parameters,omitempty"`

	// Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `cluster_deploy_type` is 'MANAGED_CLUSTER' and `cluster_internet` is true. `managed_cluster_internet_security_policies` can not delete or empty once be set.
	// +kubebuilder:validation:Optional
	ManagedClusterInternetSecurityPolicies []*string `json:"managedClusterInternetSecurityPolicies,omitempty" tf:"managed_cluster_internet_security_policies,omitempty"`
}

func (*ClusterEndpointParameters) DeepCopy

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

func (*ClusterEndpointParameters) DeepCopyInto

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

type ClusterEndpointSpec

type ClusterEndpointSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClusterEndpointParameters `json:"forProvider"`
}

ClusterEndpointSpec defines the desired state of ClusterEndpoint

func (*ClusterEndpointSpec) DeepCopy

func (in *ClusterEndpointSpec) DeepCopy() *ClusterEndpointSpec

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

func (*ClusterEndpointSpec) DeepCopyInto

func (in *ClusterEndpointSpec) DeepCopyInto(out *ClusterEndpointSpec)

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

type ClusterEndpointStatus

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

ClusterEndpointStatus defines the observed state of ClusterEndpoint.

func (*ClusterEndpointStatus) DeepCopy

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

func (*ClusterEndpointStatus) DeepCopyInto

func (in *ClusterEndpointStatus) DeepCopyInto(out *ClusterEndpointStatus)

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

type ClusterExtraArgsObservation

type ClusterExtraArgsObservation struct {
}

func (*ClusterExtraArgsObservation) DeepCopy

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

func (*ClusterExtraArgsObservation) DeepCopyInto

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

type ClusterExtraArgsParameters

type ClusterExtraArgsParameters struct {

	// The customized parameters for kube-apiserver.
	// +kubebuilder:validation:Optional
	KubeApiserver []*string `json:"kubeApiserver,omitempty" tf:"kube_apiserver,omitempty"`

	// The customized parameters for kube-controller-manager.
	// +kubebuilder:validation:Optional
	KubeControllerManager []*string `json:"kubeControllerManager,omitempty" tf:"kube_controller_manager,omitempty"`

	// The customized parameters for kube-scheduler.
	// +kubebuilder:validation:Optional
	KubeScheduler []*string `json:"kubeScheduler,omitempty" tf:"kube_scheduler,omitempty"`
}

func (*ClusterExtraArgsParameters) DeepCopy

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

func (*ClusterExtraArgsParameters) DeepCopyInto

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

type ClusterList

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

ClusterList contains a list of Clusters

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject

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

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

func (*ClusterList) GetItems

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

GetItems of this ClusterList.

type ClusterObservation

type ClusterObservation struct {
	CertificationAuthority *string `json:"certificationAuthority,omitempty" tf:"certification_authority,omitempty"`

	ClusterExternalEndpoint *string `json:"clusterExternalEndpoint,omitempty" tf:"cluster_external_endpoint,omitempty"`

	ClusterNodeNum *float64 `json:"clusterNodeNum,omitempty" tf:"cluster_node_num,omitempty"`

	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

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

	KubeConfig *string `json:"kubeConfig,omitempty" tf:"kube_config,omitempty"`

	KubeConfigIntranet *string `json:"kubeConfigIntranet,omitempty" tf:"kube_config_intranet,omitempty"`

	Password *string `json:"password,omitempty" tf:"password,omitempty"`

	PgwEndpoint *string `json:"pgwEndpoint,omitempty" tf:"pgw_endpoint,omitempty"`

	SecurityPolicy []*string `json:"securityPolicy,omitempty" tf:"security_policy,omitempty"`

	UserName *string `json:"userName,omitempty" tf:"user_name,omitempty"`

	WorkerInstancesList []WorkerInstancesListObservation `json:"workerInstancesList,omitempty" tf:"worker_instances_list,omitempty"`
}

func (*ClusterObservation) DeepCopy

func (in *ClusterObservation) DeepCopy() *ClusterObservation

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

func (*ClusterObservation) DeepCopyInto

func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation)

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

type ClusterParameters

type ClusterParameters struct {

	// If set to true, it will acquire the ClusterRole tke:admin. NOTE: this arguments cannot revoke to `false` after acquired.
	// +kubebuilder:validation:Optional
	AcquireClusterAdminRole *bool `json:"acquireClusterAdminRole,omitempty" tf:"acquire_cluster_admin_role,omitempty"`

	// Specify cluster authentication configuration. Only available for managed cluster and `cluster_version` >= 1.20.
	// +kubebuilder:validation:Optional
	AuthOptions []AuthOptionsParameters `json:"authOptions,omitempty" tf:"auth_options,omitempty"`

	// Whether the cluster level auto upgraded, valid for managed cluster.
	// +kubebuilder:validation:Optional
	AutoUpgradeClusterLevel *bool `json:"autoUpgradeClusterLevel,omitempty" tf:"auto_upgrade_cluster_level,omitempty"`

	// The number of basic pods. valid when enable_customized_pod_cidr=true.
	// +kubebuilder:validation:Optional
	BasePodNum *float64 `json:"basePodNum,omitempty" tf:"base_pod_num,omitempty"`

	// Claim expired seconds to recycle ENI. This field can only set when field `network_type` is 'VPC-CNI'. `claim_expired_seconds` must greater or equal than 300 and less than 15768000.
	// +kubebuilder:validation:Optional
	ClaimExpiredSeconds *float64 `json:"claimExpiredSeconds,omitempty" tf:"claim_expired_seconds,omitempty"`

	// Indicates whether to enable cluster node auto scaling. Default is false.
	// +kubebuilder:validation:Optional
	ClusterAsEnabled *bool `json:"clusterAsEnabled,omitempty" tf:"cluster_as_enabled,omitempty"`

	// Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	// +kubebuilder:validation:Optional
	ClusterAudit []ClusterAuditParameters `json:"clusterAudit,omitempty" tf:"cluster_audit,omitempty"`

	// A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	// +kubebuilder:validation:Optional
	ClusterCidr *string `json:"clusterCidr,omitempty" tf:"cluster_cidr,omitempty"`

	// Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'.
	// +kubebuilder:validation:Optional
	ClusterDeployType *string `json:"clusterDeployType,omitempty" tf:"cluster_deploy_type,omitempty"`

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

	// Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
	// +kubebuilder:validation:Optional
	ClusterExtraArgs []ClusterExtraArgsParameters `json:"clusterExtraArgs,omitempty" tf:"cluster_extra_args,omitempty"`

	// Open internet access or not. If this field is set 'true', the field below `worker_config` must be set. Because only cluster with node is allowed enable access endpoint. You may open it through `tencentcloud_kubernetes_cluster_endpoint`.
	// +kubebuilder:validation:Optional
	ClusterInternet *bool `json:"clusterInternet,omitempty" tf:"cluster_internet,omitempty"`

	// Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
	// +kubebuilder:validation:Optional
	ClusterInternetDomain *string `json:"clusterInternetDomain,omitempty" tf:"cluster_internet_domain,omitempty"`

	// Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
	// +kubebuilder:validation:Optional
	ClusterInternetSecurityGroup *string `json:"clusterInternetSecurityGroup,omitempty" tf:"cluster_internet_security_group,omitempty"`

	// Open intranet access or not. If this field is set 'true', the field below `worker_config` must be set. Because only cluster with node is allowed enable access endpoint. You may open it through `tencentcloud_kubernetes_cluster_endpoint`.
	// +kubebuilder:validation:Optional
	ClusterIntranet *bool `json:"clusterIntranet,omitempty" tf:"cluster_intranet,omitempty"`

	// Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
	// +kubebuilder:validation:Optional
	ClusterIntranetDomain *string `json:"clusterIntranetDomain,omitempty" tf:"cluster_intranet_domain,omitempty"`

	// Subnet id who can access this independent cluster, this field must and can only set  when `cluster_intranet` is true. `cluster_intranet_subnet_id` can not modify once be set.
	// +kubebuilder:validation:Optional
	ClusterIntranetSubnetID *string `json:"clusterIntranetSubnetId,omitempty" tf:"cluster_intranet_subnet_id,omitempty"`

	// Indicates whether `ipvs` is enabled. Default is true. False means `iptables` is enabled.
	// +kubebuilder:validation:Optional
	ClusterIpvs *bool `json:"clusterIpvs,omitempty" tf:"cluster_ipvs,omitempty"`

	// Specify cluster level, valid for managed cluster, use data source `tencentcloud_kubernetes_cluster_levels` to query available levels. Available value examples `L5`, `L20`, `L50`, `L100`, etc.
	// +kubebuilder:validation:Optional
	ClusterLevel *string `json:"clusterLevel,omitempty" tf:"cluster_level,omitempty"`

	// The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2.
	// +kubebuilder:validation:Optional
	ClusterMaxPodNum *float64 `json:"clusterMaxPodNum,omitempty" tf:"cluster_max_pod_num,omitempty"`

	// The maximum number of services in the cluster. Default is 256. The range is from 32 to 32768. When its power unequal to 2, it will round upward to the closest power of 2.
	// +kubebuilder:validation:Optional
	ClusterMaxServiceNum *float64 `json:"clusterMaxServiceNum,omitempty" tf:"cluster_max_service_num,omitempty"`

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

	// Operating system of the cluster, the available values include: 'centos7.6.0_x64','ubuntu18.04.1x86_64','tlinux2.4x86_64'. Default is 'tlinux2.4x86_64'.
	// +kubebuilder:validation:Optional
	ClusterOs *string `json:"clusterOs,omitempty" tf:"cluster_os,omitempty"`

	// Image type of the cluster os, the available values include: 'GENERAL'. Default is 'GENERAL'.
	// +kubebuilder:validation:Optional
	ClusterOsType *string `json:"clusterOsType,omitempty" tf:"cluster_os_type,omitempty"`

	// Subnet ID of the cluster, such as: subnet-b3p7d7q5.
	// +kubebuilder:validation:Optional
	ClusterSubnetID *string `json:"clusterSubnetId,omitempty" tf:"cluster_subnet_id,omitempty"`

	// Version of the cluster. Use `tencentcloud_kubernetes_available_cluster_versions` to get the upgradable cluster version.
	// +kubebuilder:validation:Optional
	ClusterVersion *string `json:"clusterVersion,omitempty" tf:"cluster_version,omitempty"`

	// Runtime type of the cluster, the available values include: 'docker' and 'containerd'.The Kubernetes v1.24 has removed dockershim, so please use containerd in v1.24 or higher.Default is 'docker'.
	// +kubebuilder:validation:Optional
	ContainerRuntime *string `json:"containerRuntime,omitempty" tf:"container_runtime,omitempty"`

	// Indicates whether cluster deletion protection is enabled. Default is false.
	// +kubebuilder:validation:Optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// Docker graph path. Default is `/var/lib/docker`.
	// +kubebuilder:validation:Optional
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Whether to enable the custom mode of node podCIDR size. Default is false.
	// +kubebuilder:validation:Optional
	EnableCustomizedPodCidr *bool `json:"enableCustomizedPodCidr,omitempty" tf:"enable_customized_pod_cidr,omitempty"`

	// Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field `network_type` is 'VPC-CNI'. `eni_subnet_ids` can not empty once be set.
	// +kubebuilder:validation:Optional
	EniSubnetIds []*string `json:"eniSubnetIds,omitempty" tf:"eni_subnet_ids,omitempty"`

	// Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
	// +kubebuilder:validation:Optional
	EventPersistence []EventPersistenceParameters `json:"eventPersistence,omitempty" tf:"event_persistence,omitempty"`

	// create tke cluster by existed instances.
	// +kubebuilder:validation:Optional
	ExistInstance []ExistInstanceParameters `json:"existInstance,omitempty" tf:"exist_instance,omitempty"`

	// Information of the add-on to be installed.
	// +kubebuilder:validation:Optional
	ExtensionAddon []ExtensionAddonParameters `json:"extensionAddon,omitempty" tf:"extension_addon,omitempty"`

	// Custom parameter information related to the node.
	// +kubebuilder:validation:Optional
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it takes effect for all nodes.
	// +kubebuilder:validation:Optional
	GlobeDesiredPodNum *float64 `json:"globeDesiredPodNum,omitempty" tf:"globe_desired_pod_num,omitempty"`

	// Indicates whether to ignore the cluster cidr conflict error. Default is false.
	// +kubebuilder:validation:Optional
	IgnoreClusterCidrConflict *bool `json:"ignoreClusterCidrConflict,omitempty" tf:"ignore_cluster_cidr_conflict,omitempty"`

	// Indicates whether non-static ip mode is enabled. Default is false.
	// +kubebuilder:validation:Optional
	IsNonStaticIPMode *bool `json:"isNonStaticIpMode,omitempty" tf:"is_non_static_ip_mode,omitempty"`

	// Cluster kube-proxy mode, the available values include: 'kube-proxy-bpf'. Default is not set.When set to kube-proxy-bpf, cluster version greater than 1.14 and with Tencent Linux 2.4 is required.
	// +kubebuilder:validation:Optional
	KubeProxyMode *string `json:"kubeProxyMode,omitempty" tf:"kube_proxy_mode,omitempty"`

	// Labels of tke cluster nodes.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Specify cluster log agent config.
	// +kubebuilder:validation:Optional
	LogAgent []LogAgentParameters `json:"logAgent,omitempty" tf:"log_agent,omitempty"`

	// Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `cluster_deploy_type` is 'MANAGED_CLUSTER' and `cluster_internet` is true. `managed_cluster_internet_security_policies` can not delete or empty once be set.
	// +kubebuilder:validation:Optional
	ManagedClusterInternetSecurityPolicies []*string `json:"managedClusterInternetSecurityPolicies,omitempty" tf:"managed_cluster_internet_security_policies,omitempty"`

	// Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users.
	// +kubebuilder:validation:Optional
	MasterConfig []MasterConfigParameters `json:"masterConfig,omitempty" tf:"master_config,omitempty"`

	// Mount target. Default is not mounting.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Cluster network type, the available values include: 'GR' and 'VPC-CNI' and 'CiliumOverlay'. Default is GR.
	// +kubebuilder:validation:Optional
	NetworkType *string `json:"networkType,omitempty" tf:"network_type,omitempty"`

	// Node name type of Cluster, the available values include: 'lan-ip' and 'hostname', Default is 'lan-ip'.
	// +kubebuilder:validation:Optional
	NodeNameType *string `json:"nodeNameType,omitempty" tf:"node_name_type,omitempty"`

	// Global config effective for all node pools.
	// +kubebuilder:validation:Optional
	NodePoolGlobalConfig []NodePoolGlobalConfigParameters `json:"nodePoolGlobalConfig,omitempty" tf:"node_pool_global_config,omitempty"`

	// Project ID, default value is 0.
	// +kubebuilder:validation:Optional
	ProjectID *float64 `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Container Runtime version.
	// +kubebuilder:validation:Optional
	RuntimeVersion *string `json:"runtimeVersion,omitempty" tf:"runtime_version,omitempty"`

	// A network address block of the service. Different from vpc cidr and cidr of other clusters within this vpc. Must be in  10./192.168/172.[16-31] segments.
	// +kubebuilder:validation:Optional
	ServiceCidr *string `json:"serviceCidr,omitempty" tf:"service_cidr,omitempty"`

	// The tags of the cluster.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// +kubebuilder:validation:Optional
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// Indicates whether upgrade all instances when cluster_version change. Default is false.
	// +kubebuilder:validation:Optional
	UpgradeInstancesFollowCluster *bool `json:"upgradeInstancesFollowCluster,omitempty" tf:"upgrade_instances_follow_cluster,omitempty"`

	// Vpc Id of the cluster.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.VPC
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

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

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

	// Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_worker'.
	// +kubebuilder:validation:Optional
	WorkerConfig []WorkerConfigParameters `json:"workerConfig,omitempty" tf:"worker_config,omitempty"`
}

func (*ClusterParameters) DeepCopy

func (in *ClusterParameters) DeepCopy() *ClusterParameters

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

func (*ClusterParameters) DeepCopyInto

func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters)

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

type ClusterSpec

type ClusterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClusterParameters `json:"forProvider"`
}

ClusterSpec defines the desired state of Cluster

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

type ClusterStatus

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

ClusterStatus defines the observed state of Cluster.

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

type DataDiskObservation

type DataDiskObservation struct {
}

func (*DataDiskObservation) DeepCopy

func (in *DataDiskObservation) DeepCopy() *DataDiskObservation

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

func (*DataDiskObservation) DeepCopyInto

func (in *DataDiskObservation) DeepCopyInto(out *DataDiskObservation)

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

type DataDiskParameters

type DataDiskParameters struct {

	// Indicate whether to auto format and mount or not. Default is `false`.
	// +kubebuilder:validation:Optional
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount.
	// +kubebuilder:validation:Optional
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

	// Volume of disk in GB. Default is `0`.
	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Indicates whether to encrypt data disk, default `false`.
	// +kubebuilder:validation:Optional
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// File system, e.g. `ext3/ext4/xfs`.
	// +kubebuilder:validation:Optional
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	// +kubebuilder:validation:Optional
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Mount target.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Data disk snapshot ID.
	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`
}

func (*DataDiskParameters) DeepCopy

func (in *DataDiskParameters) DeepCopy() *DataDiskParameters

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

func (*DataDiskParameters) DeepCopyInto

func (in *DataDiskParameters) DeepCopyInto(out *DataDiskParameters)

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

type EventPersistenceObservation

type EventPersistenceObservation struct {
}

func (*EventPersistenceObservation) DeepCopy

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

func (*EventPersistenceObservation) DeepCopyInto

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

type EventPersistenceParameters

type EventPersistenceParameters struct {

	// when you want to close the cluster event persistence or delete the cluster, you can use this parameter to determine whether the event persistence log set and topic created by default will be deleted.
	// +kubebuilder:validation:Optional
	DeleteEventLogAndTopic *bool `json:"deleteEventLogAndTopic,omitempty" tf:"delete_event_log_and_topic,omitempty"`

	// Specify weather the Event Persistence enabled.
	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// Specify id of existing CLS log set, or auto create a new set by leave it empty.
	// +kubebuilder:validation:Optional
	LogSetID *string `json:"logSetId,omitempty" tf:"log_set_id,omitempty"`

	// Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
	// +kubebuilder:validation:Optional
	TopicID *string `json:"topicId,omitempty" tf:"topic_id,omitempty"`
}

func (*EventPersistenceParameters) DeepCopy

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

func (*EventPersistenceParameters) DeepCopyInto

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

type ExistInstanceObservation

type ExistInstanceObservation struct {
}

func (*ExistInstanceObservation) DeepCopy

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

func (*ExistInstanceObservation) DeepCopyInto

func (in *ExistInstanceObservation) DeepCopyInto(out *ExistInstanceObservation)

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

type ExistInstanceParameters

type ExistInstanceParameters struct {

	// Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter.
	// +kubebuilder:validation:Optional
	DesiredPodNumbers []*float64 `json:"desiredPodNumbers,omitempty" tf:"desired_pod_numbers,omitempty"`

	// Reinstallation parameters of an existing instance.
	// +kubebuilder:validation:Optional
	InstancesPara []InstancesParaParameters `json:"instancesPara,omitempty" tf:"instances_para,omitempty"`

	// Role of existed node. value:MASTER_ETCD or WORKER.
	// +kubebuilder:validation:Optional
	NodeRole *string `json:"nodeRole,omitempty" tf:"node_role,omitempty"`
}

func (*ExistInstanceParameters) DeepCopy

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

func (*ExistInstanceParameters) DeepCopyInto

func (in *ExistInstanceParameters) DeepCopyInto(out *ExistInstanceParameters)

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

type ExtensionAddonObservation

type ExtensionAddonObservation struct {
}

func (*ExtensionAddonObservation) DeepCopy

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

func (*ExtensionAddonObservation) DeepCopyInto

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

type ExtensionAddonParameters

type ExtensionAddonParameters struct {

	// Add-on name.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Parameter of the add-on resource object in JSON string format, please check the example at the top of page for reference.
	// +kubebuilder:validation:Required
	Param *string `json:"param" tf:"param,omitempty"`
}

func (*ExtensionAddonParameters) DeepCopy

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

func (*ExtensionAddonParameters) DeepCopyInto

func (in *ExtensionAddonParameters) DeepCopyInto(out *ExtensionAddonParameters)

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

type GpuArgsObservation added in v0.7.0

type GpuArgsObservation struct {
}

func (*GpuArgsObservation) DeepCopy added in v0.7.0

func (in *GpuArgsObservation) DeepCopy() *GpuArgsObservation

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

func (*GpuArgsObservation) DeepCopyInto added in v0.7.0

func (in *GpuArgsObservation) DeepCopyInto(out *GpuArgsObservation)

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

type GpuArgsParameters added in v0.7.0

type GpuArgsParameters struct {

	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +kubebuilder:validation:Optional
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +kubebuilder:validation:Optional
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// +kubebuilder:validation:Optional
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*GpuArgsParameters) DeepCopy added in v0.7.0

func (in *GpuArgsParameters) DeepCopy() *GpuArgsParameters

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

func (*GpuArgsParameters) DeepCopyInto added in v0.7.0

func (in *GpuArgsParameters) DeepCopyInto(out *GpuArgsParameters)

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

type InstancesParaObservation

type InstancesParaObservation struct {
}

func (*InstancesParaObservation) DeepCopy

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

func (*InstancesParaObservation) DeepCopyInto

func (in *InstancesParaObservation) DeepCopyInto(out *InstancesParaObservation)

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

type InstancesParaParameters

type InstancesParaParameters struct {

	// Cluster IDs.
	// +kubebuilder:validation:Required
	InstanceIds []*string `json:"instanceIds" tf:"instance_ids,omitempty"`
}

func (*InstancesParaParameters) DeepCopy

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

func (*InstancesParaParameters) DeepCopyInto

func (in *InstancesParaParameters) DeepCopyInto(out *InstancesParaParameters)

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

type LogAgentObservation

type LogAgentObservation struct {
}

func (*LogAgentObservation) DeepCopy

func (in *LogAgentObservation) DeepCopy() *LogAgentObservation

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

func (*LogAgentObservation) DeepCopyInto

func (in *LogAgentObservation) DeepCopyInto(out *LogAgentObservation)

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

type LogAgentParameters

type LogAgentParameters struct {

	// Whether the log agent enabled.
	// +kubebuilder:validation:Required
	Enabled *bool `json:"enabled" tf:"enabled,omitempty"`

	// Kubelet root directory as the literal.
	// +kubebuilder:validation:Optional
	KubeletRootDir *string `json:"kubeletRootDir,omitempty" tf:"kubelet_root_dir,omitempty"`
}

func (*LogAgentParameters) DeepCopy

func (in *LogAgentParameters) DeepCopy() *LogAgentParameters

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

func (*LogAgentParameters) DeepCopyInto

func (in *LogAgentParameters) DeepCopyInto(out *LogAgentParameters)

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

type MasterConfigObservation

type MasterConfigObservation struct {
}

func (*MasterConfigObservation) DeepCopy

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

func (*MasterConfigObservation) DeepCopyInto

func (in *MasterConfigObservation) DeepCopyInto(out *MasterConfigObservation)

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

type MasterConfigParameters

type MasterConfigParameters struct {

	// Indicates which availability zone will be used.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// +kubebuilder:validation:Optional
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

	// CAM role name authorized to access.
	// +kubebuilder:validation:Optional
	CamRoleName *string `json:"camRoleName,omitempty" tf:"cam_role_name,omitempty"`

	// Number of cvm.
	// +kubebuilder:validation:Optional
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// Configurations of data disk.
	// +kubebuilder:validation:Optional
	DataDisk []DataDiskParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desired_pod_num` or none.
	// +kubebuilder:validation:Optional
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	// +kubebuilder:validation:Optional
	DisasterRecoverGroupIds []*string `json:"disasterRecoverGroupIds,omitempty" tf:"disaster_recover_group_ids,omitempty"`

	// To specify whether to enable cloud monitor service. Default is TRUE.
	// +kubebuilder:validation:Optional
	EnhancedMonitorService *bool `json:"enhancedMonitorService,omitempty" tf:"enhanced_monitor_service,omitempty"`

	// To specify whether to enable cloud security service. Default is TRUE.
	// +kubebuilder:validation:Optional
	EnhancedSecurityService *bool `json:"enhancedSecurityService,omitempty" tf:"enhanced_security_service,omitempty"`

	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Id of cvm hpc cluster.
	// +kubebuilder:validation:Optional
	HpcClusterID *string `json:"hpcClusterId,omitempty" tf:"hpc_cluster_id,omitempty"`

	// The valid image id, format of img-xxx.
	// +kubebuilder:validation:Optional
	ImgID *string `json:"imgId,omitempty" tf:"img_id,omitempty"`

	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	// +kubebuilder:validation:Optional
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type,omitempty"`

	// The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instance_charge_type is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
	// +kubebuilder:validation:Optional
	InstanceChargeTypePrepaidPeriod *float64 `json:"instanceChargeTypePrepaidPeriod,omitempty" tf:"instance_charge_type_prepaid_period,omitempty"`

	// Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to `PREPAID`.
	// +kubebuilder:validation:Optional
	InstanceChargeTypePrepaidRenewFlag *string `json:"instanceChargeTypePrepaidRenewFlag,omitempty" tf:"instance_charge_type_prepaid_renew_flag,omitempty"`

	// Name of the CVMs.
	// +kubebuilder:validation:Optional
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// +kubebuilder:validation:Required
	InstanceType *string `json:"instanceType" tf:"instance_type,omitempty"`

	// Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
	// +kubebuilder:validation:Optional
	InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type,omitempty"`

	// Max bandwidth of Internet access in Mbps. Default is 0.
	// +kubebuilder:validation:Optional
	InternetMaxBandwidthOut *float64 `json:"internetMaxBandwidthOut,omitempty" tf:"internet_max_bandwidth_out,omitempty"`

	// ID list of keys, should be set if `password` not set.
	// +kubebuilder:validation:Optional
	KeyIds []*string `json:"keyIds,omitempty" tf:"key_ids,omitempty"`

	// Password to access, should be set if `key_ids` not set.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Specify whether to assign an Internet IP address.
	// +kubebuilder:validation:Optional
	PublicIPAssigned *bool `json:"publicIpAssigned,omitempty" tf:"public_ip_assigned,omitempty"`

	// Security groups to which a CVM instance belongs.
	// +kubebuilder:validation:Optional
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// Private network ID.
	// +kubebuilder:validation:Required
	SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"`

	// Volume of system disk in GB. Default is `50`.
	// +kubebuilder:validation:Optional
	SystemDiskSize *float64 `json:"systemDiskSize,omitempty" tf:"system_disk_size,omitempty"`

	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	// +kubebuilder:validation:Optional
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`

	// ase64-encoded User Data text, the length limit is 16KB.
	// +kubebuilder:validation:Optional
	UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
}

func (*MasterConfigParameters) DeepCopy

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

func (*MasterConfigParameters) DeepCopyInto

func (in *MasterConfigParameters) DeepCopyInto(out *MasterConfigParameters)

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

type NodeConfigDataDiskObservation

type NodeConfigDataDiskObservation struct {
}

func (*NodeConfigDataDiskObservation) DeepCopy

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

func (*NodeConfigDataDiskObservation) DeepCopyInto

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

type NodeConfigDataDiskParameters

type NodeConfigDataDiskParameters struct {

	// Indicate whether to auto format and mount or not. Default is `false`.
	// +kubebuilder:validation:Optional
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	// +kubebuilder:validation:Optional
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

	// Volume of disk in GB. Default is `0`.
	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. `ext3/ext4/xfs`.
	// +kubebuilder:validation:Optional
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*NodeConfigDataDiskParameters) DeepCopy

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

func (*NodeConfigDataDiskParameters) DeepCopyInto

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

type NodeConfigGpuArgsObservation added in v0.7.0

type NodeConfigGpuArgsObservation struct {
}

func (*NodeConfigGpuArgsObservation) DeepCopy added in v0.7.0

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

func (*NodeConfigGpuArgsObservation) DeepCopyInto added in v0.7.0

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

type NodeConfigGpuArgsParameters added in v0.7.0

type NodeConfigGpuArgsParameters struct {

	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +kubebuilder:validation:Optional
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +kubebuilder:validation:Optional
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// +kubebuilder:validation:Optional
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*NodeConfigGpuArgsParameters) DeepCopy added in v0.7.0

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

func (*NodeConfigGpuArgsParameters) DeepCopyInto added in v0.7.0

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

type NodeConfigObservation

type NodeConfigObservation struct {
}

func (*NodeConfigObservation) DeepCopy

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

func (*NodeConfigObservation) DeepCopyInto

func (in *NodeConfigObservation) DeepCopyInto(out *NodeConfigObservation)

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

type NodeConfigParameters

type NodeConfigParameters struct {

	// Configurations of data disk.
	// +kubebuilder:validation:Optional
	DataDisk []NodeConfigDataDiskParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	// +kubebuilder:validation:Optional
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is `/var/lib/docker`.
	// +kubebuilder:validation:Optional
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node. This is a white-list parameter.
	// +kubebuilder:validation:Optional
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// +kubebuilder:validation:Optional
	GpuArgs []NodeConfigGpuArgsParameters `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

	// Indicate to schedule the adding node or not. Default is true.
	// +kubebuilder:validation:Optional
	IsSchedule *bool `json:"isSchedule,omitempty" tf:"is_schedule,omitempty"`

	// Mount target. Default is not mounting.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Base64-encoded User Data text, the length limit is 16KB.
	// +kubebuilder:validation:Optional
	UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
}

func (*NodeConfigParameters) DeepCopy

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

func (*NodeConfigParameters) DeepCopyInto

func (in *NodeConfigParameters) DeepCopyInto(out *NodeConfigParameters)

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

type NodePool

type NodePool struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NodePoolSpec   `json:"spec"`
	Status            NodePoolStatus `json:"status,omitempty"`
}

NodePool is the Schema for the NodePools 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 (*NodePool) DeepCopy

func (in *NodePool) DeepCopy() *NodePool

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

func (*NodePool) DeepCopyInto

func (in *NodePool) DeepCopyInto(out *NodePool)

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

func (*NodePool) DeepCopyObject

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

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

func (*NodePool) GetCondition

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

GetCondition of this NodePool.

func (*NodePool) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this NodePool

func (*NodePool) GetDeletionPolicy

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

GetDeletionPolicy of this NodePool.

func (*NodePool) GetID

func (tr *NodePool) GetID() string

GetID returns ID of underlying Terraform resource of this NodePool

func (*NodePool) GetObservation

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

GetObservation of this NodePool

func (*NodePool) GetParameters

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

GetParameters of this NodePool

func (*NodePool) GetProviderConfigReference

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

GetProviderConfigReference of this NodePool.

func (*NodePool) GetProviderReference

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

GetProviderReference of this NodePool. Deprecated: Use GetProviderConfigReference.

func (*NodePool) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this NodePool.

func (*NodePool) GetTerraformResourceType

func (mg *NodePool) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this NodePool

func (*NodePool) GetTerraformSchemaVersion

func (tr *NodePool) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*NodePool) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this NodePool.

func (*NodePool) LateInitialize

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

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

func (*NodePool) ResolveReferences

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

ResolveReferences of this NodePool.

func (*NodePool) SetConditions

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

SetConditions of this NodePool.

func (*NodePool) SetDeletionPolicy

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

SetDeletionPolicy of this NodePool.

func (*NodePool) SetObservation

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

SetObservation for this NodePool

func (*NodePool) SetParameters

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

SetParameters for this NodePool

func (*NodePool) SetProviderConfigReference

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

SetProviderConfigReference of this NodePool.

func (*NodePool) SetProviderReference

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

SetProviderReference of this NodePool. Deprecated: Use SetProviderConfigReference.

func (*NodePool) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this NodePool.

func (*NodePool) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this NodePool.

type NodePoolGlobalConfigObservation

type NodePoolGlobalConfigObservation struct {
}

func (*NodePoolGlobalConfigObservation) DeepCopy

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

func (*NodePoolGlobalConfigObservation) DeepCopyInto

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

type NodePoolGlobalConfigParameters

type NodePoolGlobalConfigParameters struct {

	// Indicates which scale-out method will be used when there are multiple scaling groups. Valid values: `random` - select a random scaling group, `most-pods` - select the scaling group that can schedule the most pods, `least-waste` - select the scaling group that can ensure the fewest remaining resources after Pod scheduling.
	// +kubebuilder:validation:Optional
	Expander *string `json:"expander,omitempty" tf:"expander,omitempty"`

	// Whether to ignore DaemonSet pods by default when calculating resource usage.
	// +kubebuilder:validation:Optional
	IgnoreDaemonSetsUtilization *bool `json:"ignoreDaemonSetsUtilization,omitempty" tf:"ignore_daemon_sets_utilization,omitempty"`

	// Indicates whether to enable scale-in.
	// +kubebuilder:validation:Optional
	IsScaleInEnabled *bool `json:"isScaleInEnabled,omitempty" tf:"is_scale_in_enabled,omitempty"`

	// Max concurrent scale-in volume.
	// +kubebuilder:validation:Optional
	MaxConcurrentScaleIn *float64 `json:"maxConcurrentScaleIn,omitempty" tf:"max_concurrent_scale_in,omitempty"`

	// Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in.
	// +kubebuilder:validation:Optional
	ScaleInDelay *float64 `json:"scaleInDelay,omitempty" tf:"scale_in_delay,omitempty"`

	// Number of consecutive minutes of idleness after which the node is subject to scale-in.
	// +kubebuilder:validation:Optional
	ScaleInUnneededTime *float64 `json:"scaleInUnneededTime,omitempty" tf:"scale_in_unneeded_time,omitempty"`

	// Percentage of node resource usage below which the node is considered to be idle.
	// +kubebuilder:validation:Optional
	ScaleInUtilizationThreshold *float64 `json:"scaleInUtilizationThreshold,omitempty" tf:"scale_in_utilization_threshold,omitempty"`

	// During scale-in, ignore nodes with local storage pods.
	// +kubebuilder:validation:Optional
	SkipNodesWithLocalStorage *bool `json:"skipNodesWithLocalStorage,omitempty" tf:"skip_nodes_with_local_storage,omitempty"`

	// During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet.
	// +kubebuilder:validation:Optional
	SkipNodesWithSystemPods *bool `json:"skipNodesWithSystemPods,omitempty" tf:"skip_nodes_with_system_pods,omitempty"`
}

func (*NodePoolGlobalConfigParameters) DeepCopy

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

func (*NodePoolGlobalConfigParameters) DeepCopyInto

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

type NodePoolList

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

NodePoolList contains a list of NodePools

func (*NodePoolList) DeepCopy

func (in *NodePoolList) DeepCopy() *NodePoolList

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

func (*NodePoolList) DeepCopyInto

func (in *NodePoolList) DeepCopyInto(out *NodePoolList)

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

func (*NodePoolList) DeepCopyObject

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

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

func (*NodePoolList) GetItems

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

GetItems of this NodePoolList.

type NodePoolObservation

type NodePoolObservation struct {
	AutoScalingGroupID *string `json:"autoScalingGroupId,omitempty" tf:"auto_scaling_group_id,omitempty"`

	AutoscalingAddedTotal *float64 `json:"autoscalingAddedTotal,omitempty" tf:"autoscaling_added_total,omitempty"`

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

	LaunchConfigID *string `json:"launchConfigId,omitempty" tf:"launch_config_id,omitempty"`

	ManuallyAddedTotal *float64 `json:"manuallyAddedTotal,omitempty" tf:"manually_added_total,omitempty"`

	NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*NodePoolObservation) DeepCopy

func (in *NodePoolObservation) DeepCopy() *NodePoolObservation

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

func (*NodePoolObservation) DeepCopyInto

func (in *NodePoolObservation) DeepCopyInto(out *NodePoolObservation)

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

type NodePoolParameters

type NodePoolParameters struct {

	// Auto scaling config parameters.
	// +kubebuilder:validation:Required
	AutoScalingConfig []AutoScalingConfigParameters `json:"autoScalingConfig" tf:"auto_scaling_config,omitempty"`

	// ID of the cluster.
	// +kubebuilder:validation:Required
	ClusterID *string `json:"clusterId" tf:"cluster_id,omitempty"`

	// Seconds of scaling group cool down. Default value is `300`.
	// +kubebuilder:validation:Optional
	DefaultCooldown *float64 `json:"defaultCooldown,omitempty" tf:"default_cooldown,omitempty"`

	// Indicate to keep the CVM instance when delete the node pool. Default is `true`.
	// +kubebuilder:validation:Optional
	DeleteKeepInstance *bool `json:"deleteKeepInstance,omitempty" tf:"delete_keep_instance,omitempty"`

	// Indicates whether the node pool deletion protection is enabled.
	// +kubebuilder:validation:Optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`

	// Desired capacity of the node. If `enable_auto_scale` is set `true`, this will be a computed parameter.
	// +kubebuilder:validation:Optional
	DesiredCapacity *float64 `json:"desiredCapacity,omitempty" tf:"desired_capacity,omitempty"`

	// Indicate whether to enable auto scaling or not.
	// +kubebuilder:validation:Optional
	EnableAutoScale *bool `json:"enableAutoScale,omitempty" tf:"enable_auto_scale,omitempty"`

	// Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Maximum number of node.
	// +kubebuilder:validation:Required
	MaxSize *float64 `json:"maxSize" tf:"max_size,omitempty"`

	// Minimum number of node.
	// +kubebuilder:validation:Required
	MinSize *float64 `json:"minSize" tf:"min_size,omitempty"`

	// Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
	// +kubebuilder:validation:Optional
	MultiZoneSubnetPolicy *string `json:"multiZoneSubnetPolicy,omitempty" tf:"multi_zone_subnet_policy,omitempty"`

	// Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (`-`) and decimal points.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Node config.
	// +kubebuilder:validation:Optional
	NodeConfig []NodeConfigParameters `json:"nodeConfig,omitempty" tf:"node_config,omitempty"`

	// Operating system of the cluster. Please refer to [TencentCloud Documentation](https://www.tencentcloud.com/document/product/457/46750?lang=en&pg=#list-of-public-images-supported-by-tke) for available values. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
	// +kubebuilder:validation:Optional
	NodeOs *string `json:"nodeOs,omitempty" tf:"node_os,omitempty"`

	// The image version of the node. Valida values are `DOCKER_CUSTOMIZE` and `GENERAL`. Default is `GENERAL`. This parameter will only affect new nodes, not including the existing nodes.
	// +kubebuilder:validation:Optional
	NodeOsType *string `json:"nodeOsType,omitempty" tf:"node_os_type,omitempty"`

	// Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`.
	// +kubebuilder:validation:Optional
	RetryPolicy *string `json:"retryPolicy,omitempty" tf:"retry_policy,omitempty"`

	// Name of relative scaling group.
	// +kubebuilder:validation:Optional
	ScalingGroupName *string `json:"scalingGroupName,omitempty" tf:"scaling_group_name,omitempty"`

	// Project ID the scaling group belongs to.
	// +kubebuilder:validation:Optional
	ScalingGroupProjectID *float64 `json:"scalingGroupProjectId,omitempty" tf:"scaling_group_project_id,omitempty"`

	// Auto scaling mode. Valid values are `CLASSIC_SCALING`(scaling by create/destroy instances), `WAKE_UP_STOPPED_SCALING`(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
	// +kubebuilder:validation:Optional
	ScalingMode *string `json:"scalingMode,omitempty" tf:"scaling_mode,omitempty"`

	// ID list of subnet, and for VPC it is required.
	// +kubebuilder:validation:Optional
	SubnetIds []*string `json:"subnetIds,omitempty" tf:"subnet_ids,omitempty"`

	// Node pool tag specifications, will passthroughs to the scaling instances.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Taints of kubernetes node pool created nodes.
	// +kubebuilder:validation:Optional
	Taints []TaintsParameters `json:"taints,omitempty" tf:"taints,omitempty"`

	// Policy of scaling group termination. Available values: `["OLDEST_INSTANCE"]`, `["NEWEST_INSTANCE"]`.
	// +kubebuilder:validation:Optional
	TerminationPolicies []*string `json:"terminationPolicies,omitempty" tf:"termination_policies,omitempty"`

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// +kubebuilder:validation:Optional
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// ID of VPC network.
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-tencentcloud/apis/vpc/v1alpha1.VPC
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

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

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

	// List of auto scaling group available zones, for Basic network it is required.
	// +kubebuilder:validation:Optional
	Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}

func (*NodePoolParameters) DeepCopy

func (in *NodePoolParameters) DeepCopy() *NodePoolParameters

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

func (*NodePoolParameters) DeepCopyInto

func (in *NodePoolParameters) DeepCopyInto(out *NodePoolParameters)

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

type NodePoolSpec

type NodePoolSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     NodePoolParameters `json:"forProvider"`
}

NodePoolSpec defines the desired state of NodePool

func (*NodePoolSpec) DeepCopy

func (in *NodePoolSpec) DeepCopy() *NodePoolSpec

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

func (*NodePoolSpec) DeepCopyInto

func (in *NodePoolSpec) DeepCopyInto(out *NodePoolSpec)

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

type NodePoolStatus

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

NodePoolStatus defines the observed state of NodePool.

func (*NodePoolStatus) DeepCopy

func (in *NodePoolStatus) DeepCopy() *NodePoolStatus

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

func (*NodePoolStatus) DeepCopyInto

func (in *NodePoolStatus) DeepCopyInto(out *NodePoolStatus)

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

type ScaleWorker

type ScaleWorker struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ScaleWorkerSpec   `json:"spec"`
	Status            ScaleWorkerStatus `json:"status,omitempty"`
}

ScaleWorker is the Schema for the ScaleWorkers 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 (*ScaleWorker) DeepCopy

func (in *ScaleWorker) DeepCopy() *ScaleWorker

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

func (*ScaleWorker) DeepCopyInto

func (in *ScaleWorker) DeepCopyInto(out *ScaleWorker)

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

func (*ScaleWorker) DeepCopyObject

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

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

func (*ScaleWorker) GetCondition

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

GetCondition of this ScaleWorker.

func (*ScaleWorker) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ScaleWorker

func (*ScaleWorker) GetDeletionPolicy

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

GetDeletionPolicy of this ScaleWorker.

func (*ScaleWorker) GetID

func (tr *ScaleWorker) GetID() string

GetID returns ID of underlying Terraform resource of this ScaleWorker

func (*ScaleWorker) GetObservation

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

GetObservation of this ScaleWorker

func (*ScaleWorker) GetParameters

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

GetParameters of this ScaleWorker

func (*ScaleWorker) GetProviderConfigReference

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

GetProviderConfigReference of this ScaleWorker.

func (*ScaleWorker) GetProviderReference

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

GetProviderReference of this ScaleWorker. Deprecated: Use GetProviderConfigReference.

func (*ScaleWorker) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ScaleWorker.

func (*ScaleWorker) GetTerraformResourceType

func (mg *ScaleWorker) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ScaleWorker

func (*ScaleWorker) GetTerraformSchemaVersion

func (tr *ScaleWorker) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ScaleWorker) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ScaleWorker.

func (*ScaleWorker) LateInitialize

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

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

func (*ScaleWorker) ResolveReferences

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

ResolveReferences of this ScaleWorker.

func (*ScaleWorker) SetConditions

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

SetConditions of this ScaleWorker.

func (*ScaleWorker) SetDeletionPolicy

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

SetDeletionPolicy of this ScaleWorker.

func (*ScaleWorker) SetObservation

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

SetObservation for this ScaleWorker

func (*ScaleWorker) SetParameters

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

SetParameters for this ScaleWorker

func (*ScaleWorker) SetProviderConfigReference

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

SetProviderConfigReference of this ScaleWorker.

func (*ScaleWorker) SetProviderReference

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

SetProviderReference of this ScaleWorker. Deprecated: Use SetProviderConfigReference.

func (*ScaleWorker) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ScaleWorker.

func (*ScaleWorker) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ScaleWorker.

type ScaleWorkerDataDiskObservation

type ScaleWorkerDataDiskObservation struct {
}

func (*ScaleWorkerDataDiskObservation) DeepCopy

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

func (*ScaleWorkerDataDiskObservation) DeepCopyInto

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

type ScaleWorkerDataDiskParameters

type ScaleWorkerDataDiskParameters struct {

	// Indicate whether to auto format and mount or not. Default is `false`.
	// +kubebuilder:validation:Optional
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// Volume of disk in GB. Default is `0`.
	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. `ext3/ext4/xfs`.
	// +kubebuilder:validation:Optional
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*ScaleWorkerDataDiskParameters) DeepCopy

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

func (*ScaleWorkerDataDiskParameters) DeepCopyInto

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

type ScaleWorkerGpuArgsObservation added in v0.7.0

type ScaleWorkerGpuArgsObservation struct {
}

func (*ScaleWorkerGpuArgsObservation) DeepCopy added in v0.7.0

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

func (*ScaleWorkerGpuArgsObservation) DeepCopyInto added in v0.7.0

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

type ScaleWorkerGpuArgsParameters added in v0.7.0

type ScaleWorkerGpuArgsParameters struct {

	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +kubebuilder:validation:Optional
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +kubebuilder:validation:Optional
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// +kubebuilder:validation:Optional
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*ScaleWorkerGpuArgsParameters) DeepCopy added in v0.7.0

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

func (*ScaleWorkerGpuArgsParameters) DeepCopyInto added in v0.7.0

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

type ScaleWorkerList

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

ScaleWorkerList contains a list of ScaleWorkers

func (*ScaleWorkerList) DeepCopy

func (in *ScaleWorkerList) DeepCopy() *ScaleWorkerList

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

func (*ScaleWorkerList) DeepCopyInto

func (in *ScaleWorkerList) DeepCopyInto(out *ScaleWorkerList)

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

func (*ScaleWorkerList) DeepCopyObject

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

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

func (*ScaleWorkerList) GetItems

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

GetItems of this ScaleWorkerList.

type ScaleWorkerObservation

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

	WorkerInstancesList []ScaleWorkerWorkerInstancesListObservation `json:"workerInstancesList,omitempty" tf:"worker_instances_list,omitempty"`
}

func (*ScaleWorkerObservation) DeepCopy

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

func (*ScaleWorkerObservation) DeepCopyInto

func (in *ScaleWorkerObservation) DeepCopyInto(out *ScaleWorkerObservation)

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

type ScaleWorkerParameters

type ScaleWorkerParameters struct {

	// ID of the cluster.
	// +crossplane:generate:reference:type=Cluster
	// +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:"-"`

	// Configurations of data disk.
	// +kubebuilder:validation:Optional
	DataDisk []ScaleWorkerDataDiskParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
	// +kubebuilder:validation:Optional
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is `/var/lib/docker`.
	// +kubebuilder:validation:Optional
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node.
	// +kubebuilder:validation:Optional
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// +kubebuilder:validation:Optional
	GpuArgs []ScaleWorkerGpuArgsParameters `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

	// Labels of kubernetes scale worker created nodes.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Mount target. Default is not mounting.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
	// +kubebuilder:validation:Optional
	Unschedulable *float64 `json:"unschedulable,omitempty" tf:"unschedulable,omitempty"`

	// Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
	// +kubebuilder:validation:Required
	WorkerConfig []ScaleWorkerWorkerConfigParameters `json:"workerConfig" tf:"worker_config,omitempty"`
}

func (*ScaleWorkerParameters) DeepCopy

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

func (*ScaleWorkerParameters) DeepCopyInto

func (in *ScaleWorkerParameters) DeepCopyInto(out *ScaleWorkerParameters)

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

type ScaleWorkerSpec

type ScaleWorkerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ScaleWorkerParameters `json:"forProvider"`
}

ScaleWorkerSpec defines the desired state of ScaleWorker

func (*ScaleWorkerSpec) DeepCopy

func (in *ScaleWorkerSpec) DeepCopy() *ScaleWorkerSpec

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

func (*ScaleWorkerSpec) DeepCopyInto

func (in *ScaleWorkerSpec) DeepCopyInto(out *ScaleWorkerSpec)

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

type ScaleWorkerStatus

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

ScaleWorkerStatus defines the observed state of ScaleWorker.

func (*ScaleWorkerStatus) DeepCopy

func (in *ScaleWorkerStatus) DeepCopy() *ScaleWorkerStatus

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

func (*ScaleWorkerStatus) DeepCopyInto

func (in *ScaleWorkerStatus) DeepCopyInto(out *ScaleWorkerStatus)

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

type ScaleWorkerWorkerConfigDataDiskObservation

type ScaleWorkerWorkerConfigDataDiskObservation struct {
}

func (*ScaleWorkerWorkerConfigDataDiskObservation) DeepCopy

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

func (*ScaleWorkerWorkerConfigDataDiskObservation) DeepCopyInto

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

type ScaleWorkerWorkerConfigDataDiskParameters

type ScaleWorkerWorkerConfigDataDiskParameters struct {

	// Indicate whether to auto format and mount or not. Default is `false`.
	// +kubebuilder:validation:Optional
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount.
	// +kubebuilder:validation:Optional
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

	// Volume of disk in GB. Default is `0`.
	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Indicates whether to encrypt data disk, default `false`.
	// +kubebuilder:validation:Optional
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// File system, e.g. `ext3/ext4/xfs`.
	// +kubebuilder:validation:Optional
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	// +kubebuilder:validation:Optional
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Mount target.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Data disk snapshot ID.
	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`
}

func (*ScaleWorkerWorkerConfigDataDiskParameters) DeepCopy

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

func (*ScaleWorkerWorkerConfigDataDiskParameters) DeepCopyInto

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

type ScaleWorkerWorkerConfigObservation

type ScaleWorkerWorkerConfigObservation struct {
}

func (*ScaleWorkerWorkerConfigObservation) DeepCopy

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

func (*ScaleWorkerWorkerConfigObservation) DeepCopyInto

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

type ScaleWorkerWorkerConfigParameters

type ScaleWorkerWorkerConfigParameters struct {

	// Indicates which availability zone will be used.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// +kubebuilder:validation:Optional
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

	// CAM role name authorized to access.
	// +kubebuilder:validation:Optional
	CamRoleName *string `json:"camRoleName,omitempty" tf:"cam_role_name,omitempty"`

	// Number of cvm.
	// +kubebuilder:validation:Optional
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// Configurations of data disk.
	// +kubebuilder:validation:Optional
	DataDisk []ScaleWorkerWorkerConfigDataDiskParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desired_pod_num` or none.
	// +kubebuilder:validation:Optional
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	// +kubebuilder:validation:Optional
	DisasterRecoverGroupIds []*string `json:"disasterRecoverGroupIds,omitempty" tf:"disaster_recover_group_ids,omitempty"`

	// To specify whether to enable cloud monitor service. Default is TRUE.
	// +kubebuilder:validation:Optional
	EnhancedMonitorService *bool `json:"enhancedMonitorService,omitempty" tf:"enhanced_monitor_service,omitempty"`

	// To specify whether to enable cloud security service. Default is TRUE.
	// +kubebuilder:validation:Optional
	EnhancedSecurityService *bool `json:"enhancedSecurityService,omitempty" tf:"enhanced_security_service,omitempty"`

	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Id of cvm hpc cluster.
	// +kubebuilder:validation:Optional
	HpcClusterID *string `json:"hpcClusterId,omitempty" tf:"hpc_cluster_id,omitempty"`

	// The valid image id, format of img-xxx.
	// +kubebuilder:validation:Optional
	ImgID *string `json:"imgId,omitempty" tf:"img_id,omitempty"`

	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	// +kubebuilder:validation:Optional
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type,omitempty"`

	// The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instance_charge_type is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
	// +kubebuilder:validation:Optional
	InstanceChargeTypePrepaidPeriod *float64 `json:"instanceChargeTypePrepaidPeriod,omitempty" tf:"instance_charge_type_prepaid_period,omitempty"`

	// Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to `PREPAID`.
	// +kubebuilder:validation:Optional
	InstanceChargeTypePrepaidRenewFlag *string `json:"instanceChargeTypePrepaidRenewFlag,omitempty" tf:"instance_charge_type_prepaid_renew_flag,omitempty"`

	// Name of the CVMs.
	// +kubebuilder:validation:Optional
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// +kubebuilder:validation:Required
	InstanceType *string `json:"instanceType" tf:"instance_type,omitempty"`

	// Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
	// +kubebuilder:validation:Optional
	InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type,omitempty"`

	// Max bandwidth of Internet access in Mbps. Default is 0.
	// +kubebuilder:validation:Optional
	InternetMaxBandwidthOut *float64 `json:"internetMaxBandwidthOut,omitempty" tf:"internet_max_bandwidth_out,omitempty"`

	// ID list of keys, should be set if `password` not set.
	// +kubebuilder:validation:Optional
	KeyIds []*string `json:"keyIds,omitempty" tf:"key_ids,omitempty"`

	// Password to access, should be set if `key_ids` not set.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Specify whether to assign an Internet IP address.
	// +kubebuilder:validation:Optional
	PublicIPAssigned *bool `json:"publicIpAssigned,omitempty" tf:"public_ip_assigned,omitempty"`

	// Security groups to which a CVM instance belongs.
	// +kubebuilder:validation:Optional
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// Private network ID.
	// +kubebuilder:validation:Required
	SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"`

	// Volume of system disk in GB. Default is `50`.
	// +kubebuilder:validation:Optional
	SystemDiskSize *float64 `json:"systemDiskSize,omitempty" tf:"system_disk_size,omitempty"`

	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	// +kubebuilder:validation:Optional
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`

	// ase64-encoded User Data text, the length limit is 16KB.
	// +kubebuilder:validation:Optional
	UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
}

func (*ScaleWorkerWorkerConfigParameters) DeepCopy

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

func (*ScaleWorkerWorkerConfigParameters) DeepCopyInto

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

type ScaleWorkerWorkerInstancesListObservation

type ScaleWorkerWorkerInstancesListObservation struct {
	FailedReason *string `json:"failedReason,omitempty" tf:"failed_reason,omitempty"`

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

	InstanceRole *string `json:"instanceRole,omitempty" tf:"instance_role,omitempty"`

	InstanceState *string `json:"instanceState,omitempty" tf:"instance_state,omitempty"`

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

func (*ScaleWorkerWorkerInstancesListObservation) DeepCopy

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

func (*ScaleWorkerWorkerInstancesListObservation) DeepCopyInto

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

type ScaleWorkerWorkerInstancesListParameters

type ScaleWorkerWorkerInstancesListParameters struct {
}

func (*ScaleWorkerWorkerInstancesListParameters) DeepCopy

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

func (*ScaleWorkerWorkerInstancesListParameters) DeepCopyInto

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

type TaintsObservation

type TaintsObservation struct {
}

func (*TaintsObservation) DeepCopy

func (in *TaintsObservation) DeepCopy() *TaintsObservation

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

func (*TaintsObservation) DeepCopyInto

func (in *TaintsObservation) DeepCopyInto(out *TaintsObservation)

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

type TaintsParameters

type TaintsParameters struct {

	// Effect of the taint. Valid values are: `NoSchedule`, `PreferNoSchedule`, `NoExecute`.
	// +kubebuilder:validation:Required
	Effect *string `json:"effect" tf:"effect,omitempty"`

	// Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// Value of the taint.
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*TaintsParameters) DeepCopy

func (in *TaintsParameters) DeepCopy() *TaintsParameters

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

func (*TaintsParameters) DeepCopyInto

func (in *TaintsParameters) DeepCopyInto(out *TaintsParameters)

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

type WorkerConfigDataDiskObservation

type WorkerConfigDataDiskObservation struct {
}

func (*WorkerConfigDataDiskObservation) DeepCopy

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

func (*WorkerConfigDataDiskObservation) DeepCopyInto

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

type WorkerConfigDataDiskParameters

type WorkerConfigDataDiskParameters struct {

	// Indicate whether to auto format and mount or not. Default is `false`.
	// +kubebuilder:validation:Optional
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount.
	// +kubebuilder:validation:Optional
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

	// Volume of disk in GB. Default is `0`.
	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// Indicates whether to encrypt data disk, default `false`.
	// +kubebuilder:validation:Optional
	Encrypt *bool `json:"encrypt,omitempty" tf:"encrypt,omitempty"`

	// File system, e.g. `ext3/ext4/xfs`.
	// +kubebuilder:validation:Optional
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
	// +kubebuilder:validation:Optional
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Mount target.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Data disk snapshot ID.
	// +kubebuilder:validation:Optional
	SnapshotID *string `json:"snapshotId,omitempty" tf:"snapshot_id,omitempty"`
}

func (*WorkerConfigDataDiskParameters) DeepCopy

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

func (*WorkerConfigDataDiskParameters) DeepCopyInto

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

type WorkerConfigObservation

type WorkerConfigObservation struct {
}

func (*WorkerConfigObservation) DeepCopy

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

func (*WorkerConfigObservation) DeepCopyInto

func (in *WorkerConfigObservation) DeepCopyInto(out *WorkerConfigObservation)

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

type WorkerConfigOverridesDataDiskObservation

type WorkerConfigOverridesDataDiskObservation struct {
}

func (*WorkerConfigOverridesDataDiskObservation) DeepCopy

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

func (*WorkerConfigOverridesDataDiskObservation) DeepCopyInto

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

type WorkerConfigOverridesDataDiskParameters

type WorkerConfigOverridesDataDiskParameters struct {

	// Indicate whether to auto format and mount or not. Default is `false`.
	// +kubebuilder:validation:Optional
	AutoFormatAndMount *bool `json:"autoFormatAndMount,omitempty" tf:"auto_format_and_mount,omitempty"`

	// The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
	// +kubebuilder:validation:Optional
	DiskPartition *string `json:"diskPartition,omitempty" tf:"disk_partition,omitempty"`

	// Volume of disk in GB. Default is `0`.
	// +kubebuilder:validation:Optional
	DiskSize *float64 `json:"diskSize,omitempty" tf:"disk_size,omitempty"`

	// Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`.
	// +kubebuilder:validation:Optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type,omitempty"`

	// File system, e.g. `ext3/ext4/xfs`.
	// +kubebuilder:validation:Optional
	FileSystem *string `json:"fileSystem,omitempty" tf:"file_system,omitempty"`

	// Mount target.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`
}

func (*WorkerConfigOverridesDataDiskParameters) DeepCopy

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

func (*WorkerConfigOverridesDataDiskParameters) DeepCopyInto

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

type WorkerConfigOverridesGpuArgsObservation added in v0.7.0

type WorkerConfigOverridesGpuArgsObservation struct {
}

func (*WorkerConfigOverridesGpuArgsObservation) DeepCopy added in v0.7.0

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

func (*WorkerConfigOverridesGpuArgsObservation) DeepCopyInto added in v0.7.0

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

type WorkerConfigOverridesGpuArgsParameters added in v0.7.0

type WorkerConfigOverridesGpuArgsParameters struct {

	// CUDA  version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	Cuda map[string]*string `json:"cuda,omitempty" tf:"cuda,omitempty"`

	// cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `doc_name`: Doc name of cuDNN; `dev_name`: Dev name of cuDNN.
	// +kubebuilder:validation:Optional
	Cudnn map[string]*string `json:"cudnn,omitempty" tf:"cudnn,omitempty"`

	// Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
	// +kubebuilder:validation:Optional
	CustomDriver map[string]*string `json:"customDriver,omitempty" tf:"custom_driver,omitempty"`

	// GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
	// +kubebuilder:validation:Optional
	Driver map[string]*string `json:"driver,omitempty" tf:"driver,omitempty"`

	// Whether to enable MIG.
	// +kubebuilder:validation:Optional
	MigEnable *bool `json:"migEnable,omitempty" tf:"mig_enable,omitempty"`
}

func (*WorkerConfigOverridesGpuArgsParameters) DeepCopy added in v0.7.0

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

func (*WorkerConfigOverridesGpuArgsParameters) DeepCopyInto added in v0.7.0

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

type WorkerConfigOverridesObservation

type WorkerConfigOverridesObservation struct {
}

func (*WorkerConfigOverridesObservation) DeepCopy

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

func (*WorkerConfigOverridesObservation) DeepCopyInto

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

type WorkerConfigOverridesParameters

type WorkerConfigOverridesParameters struct {

	// Configurations of data disk.
	// +kubebuilder:validation:Optional
	DataDisk []WorkerConfigOverridesDataDiskParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when the cluster is podCIDR.
	// +kubebuilder:validation:Optional
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Docker graph path. Default is `/var/lib/docker`.
	// +kubebuilder:validation:Optional
	DockerGraphPath *string `json:"dockerGraphPath,omitempty" tf:"docker_graph_path,omitempty"`

	// Custom parameter information related to the node. This is a white-list parameter.
	// +kubebuilder:validation:Optional
	ExtraArgs []*string `json:"extraArgs,omitempty" tf:"extra_args,omitempty"`

	// GPU driver parameters.
	// +kubebuilder:validation:Optional
	GpuArgs []WorkerConfigOverridesGpuArgsParameters `json:"gpuArgs,omitempty" tf:"gpu_args,omitempty"`

	// Indicate to schedule the adding node or not. Default is true.
	// +kubebuilder:validation:Optional
	IsSchedule *bool `json:"isSchedule,omitempty" tf:"is_schedule,omitempty"`

	// Mount target. Default is not mounting.
	// +kubebuilder:validation:Optional
	MountTarget *string `json:"mountTarget,omitempty" tf:"mount_target,omitempty"`

	// Base64-encoded User Data text, the length limit is 16KB.
	// +kubebuilder:validation:Optional
	UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
}

func (*WorkerConfigOverridesParameters) DeepCopy

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

func (*WorkerConfigOverridesParameters) DeepCopyInto

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

type WorkerConfigParameters

type WorkerConfigParameters struct {

	// Indicates which availability zone will be used.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// bandwidth package id. if user is standard user, then the bandwidth_package_id is needed, or default has bandwidth_package_id.
	// +kubebuilder:validation:Optional
	BandwidthPackageID *string `json:"bandwidthPackageId,omitempty" tf:"bandwidth_package_id,omitempty"`

	// CAM role name authorized to access.
	// +kubebuilder:validation:Optional
	CamRoleName *string `json:"camRoleName,omitempty" tf:"cam_role_name,omitempty"`

	// Number of cvm.
	// +kubebuilder:validation:Optional
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// Configurations of data disk.
	// +kubebuilder:validation:Optional
	DataDisk []WorkerConfigDataDiskParameters `json:"dataDisk,omitempty" tf:"data_disk,omitempty"`

	// Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desired_pod_num` or none.
	// +kubebuilder:validation:Optional
	DesiredPodNum *float64 `json:"desiredPodNum,omitempty" tf:"desired_pod_num,omitempty"`

	// Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
	// +kubebuilder:validation:Optional
	DisasterRecoverGroupIds []*string `json:"disasterRecoverGroupIds,omitempty" tf:"disaster_recover_group_ids,omitempty"`

	// To specify whether to enable cloud monitor service. Default is TRUE.
	// +kubebuilder:validation:Optional
	EnhancedMonitorService *bool `json:"enhancedMonitorService,omitempty" tf:"enhanced_monitor_service,omitempty"`

	// To specify whether to enable cloud security service. Default is TRUE.
	// +kubebuilder:validation:Optional
	EnhancedSecurityService *bool `json:"enhancedSecurityService,omitempty" tf:"enhanced_security_service,omitempty"`

	// The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
	// +kubebuilder:validation:Optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname,omitempty"`

	// Id of cvm hpc cluster.
	// +kubebuilder:validation:Optional
	HpcClusterID *string `json:"hpcClusterId,omitempty" tf:"hpc_cluster_id,omitempty"`

	// The valid image id, format of img-xxx.
	// +kubebuilder:validation:Optional
	ImgID *string `json:"imgId,omitempty" tf:"img_id,omitempty"`

	// The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
	// +kubebuilder:validation:Optional
	InstanceChargeType *string `json:"instanceChargeType,omitempty" tf:"instance_charge_type,omitempty"`

	// The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instance_charge_type is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
	// +kubebuilder:validation:Optional
	InstanceChargeTypePrepaidPeriod *float64 `json:"instanceChargeTypePrepaidPeriod,omitempty" tf:"instance_charge_type_prepaid_period,omitempty"`

	// Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instance_charge_type is set to `PREPAID`.
	// +kubebuilder:validation:Optional
	InstanceChargeTypePrepaidRenewFlag *string `json:"instanceChargeTypePrepaidRenewFlag,omitempty" tf:"instance_charge_type_prepaid_renew_flag,omitempty"`

	// Name of the CVMs.
	// +kubebuilder:validation:Optional
	InstanceName *string `json:"instanceName,omitempty" tf:"instance_name,omitempty"`

	// Specified types of CVM instance.
	// +kubebuilder:validation:Required
	InstanceType *string `json:"instanceType" tf:"instance_type,omitempty"`

	// Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
	// +kubebuilder:validation:Optional
	InternetChargeType *string `json:"internetChargeType,omitempty" tf:"internet_charge_type,omitempty"`

	// Max bandwidth of Internet access in Mbps. Default is 0.
	// +kubebuilder:validation:Optional
	InternetMaxBandwidthOut *float64 `json:"internetMaxBandwidthOut,omitempty" tf:"internet_max_bandwidth_out,omitempty"`

	// ID list of keys, should be set if `password` not set.
	// +kubebuilder:validation:Optional
	KeyIds []*string `json:"keyIds,omitempty" tf:"key_ids,omitempty"`

	// Password to access, should be set if `key_ids` not set.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Specify whether to assign an Internet IP address.
	// +kubebuilder:validation:Optional
	PublicIPAssigned *bool `json:"publicIpAssigned,omitempty" tf:"public_ip_assigned,omitempty"`

	// Security groups to which a CVM instance belongs.
	// +kubebuilder:validation:Optional
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// Private network ID.
	// +kubebuilder:validation:Required
	SubnetID *string `json:"subnetId" tf:"subnet_id,omitempty"`

	// Volume of system disk in GB. Default is `50`.
	// +kubebuilder:validation:Optional
	SystemDiskSize *float64 `json:"systemDiskSize,omitempty" tf:"system_disk_size,omitempty"`

	// System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
	// +kubebuilder:validation:Optional
	SystemDiskType *string `json:"systemDiskType,omitempty" tf:"system_disk_type,omitempty"`

	// ase64-encoded User Data text, the length limit is 16KB.
	// +kubebuilder:validation:Optional
	UserData *string `json:"userData,omitempty" tf:"user_data,omitempty"`
}

func (*WorkerConfigParameters) DeepCopy

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

func (*WorkerConfigParameters) DeepCopyInto

func (in *WorkerConfigParameters) DeepCopyInto(out *WorkerConfigParameters)

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

type WorkerInstancesListObservation

type WorkerInstancesListObservation struct {
	FailedReason *string `json:"failedReason,omitempty" tf:"failed_reason,omitempty"`

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

	InstanceRole *string `json:"instanceRole,omitempty" tf:"instance_role,omitempty"`

	InstanceState *string `json:"instanceState,omitempty" tf:"instance_state,omitempty"`

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

func (*WorkerInstancesListObservation) DeepCopy

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

func (*WorkerInstancesListObservation) DeepCopyInto

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

type WorkerInstancesListParameters

type WorkerInstancesListParameters struct {
}

func (*WorkerInstancesListParameters) DeepCopy

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

func (*WorkerInstancesListParameters) DeepCopyInto

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