v1beta1

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cce.flexibleengine.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "cce.flexibleengine.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	Addon_Kind             = "Addon"
	Addon_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Addon_Kind}.String()
	Addon_KindAPIVersion   = Addon_Kind + "." + CRDGroupVersion.String()
	Addon_GroupVersionKind = CRDGroupVersion.WithKind(Addon_Kind)
)

Repository type metadata.

View Source
var (
	CCENameSpace_Kind             = "CCENameSpace"
	CCENameSpace_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CCENameSpace_Kind}.String()
	CCENameSpace_KindAPIVersion   = CCENameSpace_Kind + "." + CRDGroupVersion.String()
	CCENameSpace_GroupVersionKind = CRDGroupVersion.WithKind(CCENameSpace_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 (
	// 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 (
	Node_Kind             = "Node"
	Node_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Node_Kind}.String()
	Node_KindAPIVersion   = Node_Kind + "." + CRDGroupVersion.String()
	Node_GroupVersionKind = CRDGroupVersion.WithKind(Node_Kind)
)

Repository type metadata.

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.

Functions

This section is empty.

Types

type Addon

type Addon struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AddonSpec   `json:"spec"`
	Status            AddonStatus `json:"status,omitempty"`
}

Addon is the Schema for the Addons API. ""page_title: "flexibleengine_cce_addon_v3" +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,flexibleengine}

func (*Addon) DeepCopy

func (in *Addon) DeepCopy() *Addon

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

func (*Addon) DeepCopyInto

func (in *Addon) DeepCopyInto(out *Addon)

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

func (*Addon) DeepCopyObject

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

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

func (*Addon) GetCondition

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

GetCondition of this Addon.

func (*Addon) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Addon

func (*Addon) GetDeletionPolicy

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

GetDeletionPolicy of this Addon.

func (*Addon) GetID

func (tr *Addon) GetID() string

GetID returns ID of underlying Terraform resource of this Addon

func (*Addon) GetObservation

func (tr *Addon) GetObservation() (map[string]any, error)

GetObservation of this Addon

func (*Addon) GetParameters

func (tr *Addon) GetParameters() (map[string]any, error)

GetParameters of this Addon

func (*Addon) GetProviderConfigReference

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

GetProviderConfigReference of this Addon.

func (*Addon) GetProviderReference

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

GetProviderReference of this Addon. Deprecated: Use GetProviderConfigReference.

func (*Addon) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Addon.

func (*Addon) GetTerraformResourceType

func (mg *Addon) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Addon

func (*Addon) GetTerraformSchemaVersion

func (tr *Addon) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Addon) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Addon.

func (*Addon) LateInitialize

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

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

func (*Addon) ResolveReferences

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

ResolveReferences of this Addon.

func (*Addon) SetConditions

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

SetConditions of this Addon.

func (*Addon) SetDeletionPolicy

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

SetDeletionPolicy of this Addon.

func (*Addon) SetObservation

func (tr *Addon) SetObservation(obs map[string]any) error

SetObservation for this Addon

func (*Addon) SetParameters

func (tr *Addon) SetParameters(params map[string]any) error

SetParameters for this Addon

func (*Addon) SetProviderConfigReference

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

SetProviderConfigReference of this Addon.

func (*Addon) SetProviderReference

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

SetProviderReference of this Addon. Deprecated: Use SetProviderConfigReference.

func (*Addon) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Addon.

func (*Addon) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Addon.

type AddonList

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

AddonList contains a list of Addons

func (*AddonList) DeepCopy

func (in *AddonList) DeepCopy() *AddonList

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

func (*AddonList) DeepCopyInto

func (in *AddonList) DeepCopyInto(out *AddonList)

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

func (*AddonList) DeepCopyObject

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

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

func (*AddonList) GetItems

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

GetItems of this AddonList.

type AddonObservation

type AddonObservation struct {

	// Description of addon instance.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// ID of the addon instance.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Addon status information.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*AddonObservation) DeepCopy

func (in *AddonObservation) DeepCopy() *AddonObservation

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

func (*AddonObservation) DeepCopyInto

func (in *AddonObservation) DeepCopyInto(out *AddonObservation)

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

type AddonParameters

type AddonParameters struct {

	// ID of the cluster. Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Name of the addon template.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Required
	TemplateName *string `json:"templateName" tf:"template_name,omitempty"`

	// Add-on template installation parameters.
	// These parameters vary depending on the add-on. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Values []ValuesParameters `json:"values,omitempty" tf:"values,omitempty"`

	// Version of the addon. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Required
	Version *string `json:"version" tf:"version,omitempty"`
}

func (*AddonParameters) DeepCopy

func (in *AddonParameters) DeepCopy() *AddonParameters

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

func (*AddonParameters) DeepCopyInto

func (in *AddonParameters) DeepCopyInto(out *AddonParameters)

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

type AddonSpec

type AddonSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AddonParameters `json:"forProvider"`
}

AddonSpec defines the desired state of Addon

func (*AddonSpec) DeepCopy

func (in *AddonSpec) DeepCopy() *AddonSpec

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

func (*AddonSpec) DeepCopyInto

func (in *AddonSpec) DeepCopyInto(out *AddonSpec)

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

type AddonStatus

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

AddonStatus defines the observed state of Addon.

func (*AddonStatus) DeepCopy

func (in *AddonStatus) DeepCopy() *AddonStatus

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

func (*AddonStatus) DeepCopyInto

func (in *AddonStatus) DeepCopyInto(out *AddonStatus)

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

type CCENameSpace

type CCENameSpace struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CCENameSpaceSpec   `json:"spec"`
	Status            CCENameSpaceStatus `json:"status,omitempty"`
}

CCENameSpace is the Schema for the CCENameSpaces API. ""page_title: "flexibleengine_cce_namespace" +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,flexibleengine}

func (*CCENameSpace) DeepCopy

func (in *CCENameSpace) DeepCopy() *CCENameSpace

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

func (*CCENameSpace) DeepCopyInto

func (in *CCENameSpace) DeepCopyInto(out *CCENameSpace)

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

func (*CCENameSpace) DeepCopyObject

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

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

func (*CCENameSpace) GetCondition

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

GetCondition of this CCENameSpace.

func (*CCENameSpace) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this CCENameSpace

func (*CCENameSpace) GetDeletionPolicy

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

GetDeletionPolicy of this CCENameSpace.

func (*CCENameSpace) GetID

func (tr *CCENameSpace) GetID() string

GetID returns ID of underlying Terraform resource of this CCENameSpace

func (*CCENameSpace) GetObservation

func (tr *CCENameSpace) GetObservation() (map[string]any, error)

GetObservation of this CCENameSpace

func (*CCENameSpace) GetParameters

func (tr *CCENameSpace) GetParameters() (map[string]any, error)

GetParameters of this CCENameSpace

func (*CCENameSpace) GetProviderConfigReference

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

GetProviderConfigReference of this CCENameSpace.

func (*CCENameSpace) GetProviderReference

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

GetProviderReference of this CCENameSpace. Deprecated: Use GetProviderConfigReference.

func (*CCENameSpace) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this CCENameSpace.

func (*CCENameSpace) GetTerraformResourceType

func (mg *CCENameSpace) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CCENameSpace

func (*CCENameSpace) GetTerraformSchemaVersion

func (tr *CCENameSpace) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CCENameSpace) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this CCENameSpace.

func (*CCENameSpace) LateInitialize

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

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

func (*CCENameSpace) ResolveReferences

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

ResolveReferences of this CCENameSpace.

func (*CCENameSpace) SetConditions

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

SetConditions of this CCENameSpace.

func (*CCENameSpace) SetDeletionPolicy

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

SetDeletionPolicy of this CCENameSpace.

func (*CCENameSpace) SetObservation

func (tr *CCENameSpace) SetObservation(obs map[string]any) error

SetObservation for this CCENameSpace

func (*CCENameSpace) SetParameters

func (tr *CCENameSpace) SetParameters(params map[string]any) error

SetParameters for this CCENameSpace

func (*CCENameSpace) SetProviderConfigReference

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

SetProviderConfigReference of this CCENameSpace.

func (*CCENameSpace) SetProviderReference

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

SetProviderReference of this CCENameSpace. Deprecated: Use SetProviderConfigReference.

func (*CCENameSpace) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this CCENameSpace.

func (*CCENameSpace) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this CCENameSpace.

type CCENameSpaceList

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

CCENameSpaceList contains a list of CCENameSpaces

func (*CCENameSpaceList) DeepCopy

func (in *CCENameSpaceList) DeepCopy() *CCENameSpaceList

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

func (*CCENameSpaceList) DeepCopyInto

func (in *CCENameSpaceList) DeepCopyInto(out *CCENameSpaceList)

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

func (*CCENameSpaceList) DeepCopyObject

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

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

func (*CCENameSpaceList) GetItems

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

GetItems of this CCENameSpaceList.

type CCENameSpaceObservation

type CCENameSpaceObservation struct {

	// The server time when namespace was created.
	CreationTimestamp *string `json:"creationTimestamp,omitempty" tf:"creation_timestamp,omitempty"`

	// The namespace ID in UUID format.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The current phase of the namespace.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*CCENameSpaceObservation) DeepCopy

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

func (*CCENameSpaceObservation) DeepCopyInto

func (in *CCENameSpaceObservation) DeepCopyInto(out *CCENameSpaceObservation)

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

type CCENameSpaceParameters

type CCENameSpaceParameters struct {

	// Specifies an unstructured key value map for external parameters.
	// Changing this will create a new namespace resource.
	// +kubebuilder:validation:Optional
	Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"`

	// Specifies the cluster ID to which the CCE namespace belongs.
	// Changing this will create a new namespace resource.
	// +crossplane:generate:reference:type=Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// Specifies the map of string keys and values for labels.
	// Changing this will create a new namespace resource.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Specifies the unique name of the namespace.
	// This parameter can contain a maximum of 63 characters, which may consist of lowercase letters, digits and hyphens (-),
	// and must start and end with lowercase letters and digits. Changing this will create a new namespace resource.
	// Exactly one of name or prefix must be provided.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Specifies a prefix used by the server to generate a unique name.
	// This parameter can contain a maximum of 63 characters, which may consist of lowercase letters, digits and
	// hyphens (-), and must start and end with lowercase letters and digits.
	// Changing this will create a new namespace resource. Exactly one of name or prefix must be provided.
	// +kubebuilder:validation:Optional
	Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`

	// Specifies the region in which to create the namespace resource.
	// If omitted, the provider-level region will be used. Changing this will create a new namespace resource.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`
}

func (*CCENameSpaceParameters) DeepCopy

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

func (*CCENameSpaceParameters) DeepCopyInto

func (in *CCENameSpaceParameters) DeepCopyInto(out *CCENameSpaceParameters)

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

type CCENameSpaceSpec

type CCENameSpaceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CCENameSpaceParameters `json:"forProvider"`
}

CCENameSpaceSpec defines the desired state of CCENameSpace

func (*CCENameSpaceSpec) DeepCopy

func (in *CCENameSpaceSpec) DeepCopy() *CCENameSpaceSpec

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

func (*CCENameSpaceSpec) DeepCopyInto

func (in *CCENameSpaceSpec) DeepCopyInto(out *CCENameSpaceSpec)

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

type CCENameSpaceStatus

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

CCENameSpaceStatus defines the observed state of CCENameSpace.

func (*CCENameSpaceStatus) DeepCopy

func (in *CCENameSpaceStatus) DeepCopy() *CCENameSpaceStatus

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

func (*CCENameSpaceStatus) DeepCopyInto

func (in *CCENameSpaceStatus) DeepCopyInto(out *CCENameSpaceStatus)

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

type CertificateClustersObservation

type CertificateClustersObservation struct {

	// The certificate data.
	CertificateAuthorityData *string `json:"certificateAuthorityData,omitempty" tf:"certificate_authority_data,omitempty"`

	// The cluster name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The server IP address.
	Server *string `json:"server,omitempty" tf:"server,omitempty"`
}

func (*CertificateClustersObservation) DeepCopy

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

func (*CertificateClustersObservation) DeepCopyInto

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

type CertificateClustersParameters

type CertificateClustersParameters struct {
}

func (*CertificateClustersParameters) DeepCopy

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

func (*CertificateClustersParameters) DeepCopyInto

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

type CertificateUsersObservation

type CertificateUsersObservation struct {

	// The client certificate data.
	ClientCertificateData *string `json:"clientCertificateData,omitempty" tf:"client_certificate_data,omitempty"`

	// The client key data.
	ClientKeyData *string `json:"clientKeyData,omitempty" tf:"client_key_data,omitempty"`

	// The user name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*CertificateUsersObservation) DeepCopy

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

func (*CertificateUsersObservation) DeepCopyInto

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

type CertificateUsersParameters

type CertificateUsersParameters struct {
}

func (*CertificateUsersParameters) DeepCopy

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

func (*CertificateUsersParameters) 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. ""page_title: "flexibleengine_cce_cluster_v3" +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,flexibleengine}

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]any, error)

GetObservation of this Cluster

func (*Cluster) GetParameters

func (tr *Cluster) GetParameters() (map[string]any, 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]any) error

SetObservation for this Cluster

func (*Cluster) SetParameters

func (tr *Cluster) SetParameters(params map[string]any) 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 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 {
	CertificateClusters []CertificateClustersObservation `json:"certificateClusters,omitempty" tf:"certificate_clusters,omitempty"`

	CertificateUsers []CertificateUsersObservation `json:"certificateUsers,omitempty" tf:"certificate_users,omitempty"`

	// The endpoint of the cluster to be accessed through API Gateway.
	ExternalApigEndpoint *string `json:"externalApigEndpoint,omitempty" tf:"external_apig_endpoint,omitempty"`

	// The external network address.
	ExternalEndpoint *string `json:"externalEndpoint,omitempty" tf:"external_endpoint,omitempty"`

	// Id of the cluster resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The internal network address.
	InternalEndpoint *string `json:"internalEndpoint,omitempty" tf:"internal_endpoint,omitempty"`

	// Security group ID of the cluster.
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Cluster status information.
	Status *string `json:"status,omitempty" tf:"status,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 {

	// Cluster annotation, key/value pair format.
	// Changing this parameter will create a new cluster resource.
	// +kubebuilder:validation:Optional
	Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"`

	// CA root certificate provided in the authenticating_proxy mode. The CA root certificate
	// is encoded to the Base64 format. Changing this parameter will create a new cluster resource.
	// +kubebuilder:validation:Optional
	AuthenticatingProxyCA *string `json:"authenticatingProxyCa,omitempty" tf:"authenticating_proxy_ca,omitempty"`

	// Authentication mode of the cluster, possible values are x509 and rbac. Defaults to rbac.
	// Changing this parameter will create a new cluster resource.
	// +kubebuilder:validation:Optional
	AuthenticationMode *string `json:"authenticationMode,omitempty" tf:"authentication_mode,omitempty"`

	// Charging mode of the cluster, which is 0 (on demand).
	// Changing this parameter will create a new cluster resource.
	// +kubebuilder:validation:Optional
	BillingMode *float64 `json:"billingMode,omitempty" tf:"billing_mode,omitempty"`

	// Cluster Type, possible values are VirtualMachine and BareMetal.
	// Changing this parameter will create a new cluster resource.
	// +kubebuilder:validation:Required
	ClusterType *string `json:"clusterType" tf:"cluster_type,omitempty"`

	// For the cluster version, possible values are listed on the
	// CCE Cluster Version Release Notes.
	// If this parameter is not set, the latest available version will be used.
	// +kubebuilder:validation:Optional
	ClusterVersion *string `json:"clusterVersion,omitempty" tf:"cluster_version,omitempty"`

	// Container network segment. Changing this parameter will create a new cluster resource.
	// +kubebuilder:validation:Optional
	ContainerNetworkCidr *string `json:"containerNetworkCidr,omitempty" tf:"container_network_cidr,omitempty"`

	// Container network parameters. Possible values:
	// +kubebuilder:validation:Required
	ContainerNetworkType *string `json:"containerNetworkType" tf:"container_network_type,omitempty"`

	// Cluster description.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// EIP address of the cluster.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/eip/v1beta1.EIP
	// +crossplane:generate:reference:extractor=github.com/FlexibleEngineCloud/provider-flexibleengine/pkg/tools.ExtractorParamPathfunc(true, "address")
	// +kubebuilder:validation:Optional
	EIP *string `json:"eip,omitempty" tf:"eip,omitempty"`

	// Reference to a EIP in eip to populate eip.
	// +kubebuilder:validation:Optional
	EIPRef *v1.Reference `json:"eipRef,omitempty" tf:"-"`

	// Selector for a EIP in eip to populate eip.
	// +kubebuilder:validation:Optional
	EIPSelector *v1.Selector `json:"eipSelector,omitempty" tf:"-"`

	// Extended parameter. Changing this parameter will create a new cluster resource.
	// +kubebuilder:validation:Optional
	ExtendParam map[string]*string `json:"extendParam,omitempty" tf:"extend_param,omitempty"`

	// Cluster specifications. Changing this parameter will create a new cluster resource.
	// +kubebuilder:validation:Required
	FlavorID *string `json:"flavorId" tf:"flavor_id,omitempty"`

	// The ID of the high speed network used to create bare metal nodes.
	// Changing this parameter will create a new cluster resource.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPCSubnet
	// +kubebuilder:validation:Optional
	HighwaySubnetID *string `json:"highwaySubnetId,omitempty" tf:"highway_subnet_id,omitempty"`

	// Reference to a VPCSubnet in vpc to populate highwaySubnetId.
	// +kubebuilder:validation:Optional
	HighwaySubnetIDRef *v1.Reference `json:"highwaySubnetIdRef,omitempty" tf:"-"`

	// Selector for a VPCSubnet in vpc to populate highwaySubnetId.
	// +kubebuilder:validation:Optional
	HighwaySubnetIDSelector *v1.Selector `json:"highwaySubnetIdSelector,omitempty" tf:"-"`

	// Service forwarding mode. Two modes are available:
	// +kubebuilder:validation:Optional
	KubeProxyMode *string `json:"kubeProxyMode,omitempty" tf:"kube_proxy_mode,omitempty"`

	// Cluster tag, key/value pair format. Changing this parameter will create a new cluster resource.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Advanced configuration of master nodes. Changing this creates a new cluster.
	// +kubebuilder:validation:Optional
	Masters []MastersParameters `json:"masters,omitempty" tf:"masters,omitempty"`

	// Cluster name. Changing this parameter will create a new cluster resource.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Service network segment. Changing this parameter will create a new cluster resource.
	// +kubebuilder:validation:Optional
	ServiceNetworkCidr *string `json:"serviceNetworkCidr,omitempty" tf:"service_network_cidr,omitempty"`

	// The ID of the VPC Subnet used to create the node.
	// Changing this parameter will create a new cluster resource.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPCSubnet
	// +crossplane:generate:reference:extractor=github.com/FlexibleEngineCloud/provider-flexibleengine/pkg/tools.ExtractorParamPathfunc(true, "id")
	// +crossplane:generate:reference:refFieldName=SubnetIDRef
	// +crossplane:generate:reference:selectorFieldName=SubnetIDSelector
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a VPCSubnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a VPCSubnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// The ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPC
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`

	// Reference to a VPC in vpc to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDRef *v1.Reference `json:"vpcIdRef,omitempty" tf:"-"`

	// Selector for a VPC in vpc to populate vpcId.
	// +kubebuilder:validation:Optional
	VPCIDSelector *v1.Selector `json:"vpcIdSelector,omitempty" tf:"-"`
}

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 DataVolumesObservation

type DataVolumesObservation struct {
}

func (*DataVolumesObservation) DeepCopy

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

func (*DataVolumesObservation) DeepCopyInto

func (in *DataVolumesObservation) DeepCopyInto(out *DataVolumesObservation)

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

type DataVolumesParameters

type DataVolumesParameters struct {

	// Specifies the disk expansion parameters in key/value pair format.
	// +kubebuilder:validation:Optional
	ExtendParams map[string]*string `json:"extendParams,omitempty" tf:"extend_params,omitempty"`

	// Specifies the KMS key ID. This is used to encrypt the volume.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/kms/v1beta1.Key
	// +kubebuilder:validation:Optional
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Reference to a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"`

	// Specifies the disk size in GB.
	// +kubebuilder:validation:Required
	Size *float64 `json:"size" tf:"size,omitempty"`

	// Specifies the disk type.
	// +kubebuilder:validation:Required
	Volumetype *string `json:"volumetype" tf:"volumetype,omitempty"`
}

func (*DataVolumesParameters) DeepCopy

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

func (*DataVolumesParameters) DeepCopyInto

func (in *DataVolumesParameters) DeepCopyInto(out *DataVolumesParameters)

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

type MastersObservation

type MastersObservation struct {
}

func (*MastersObservation) DeepCopy

func (in *MastersObservation) DeepCopy() *MastersObservation

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

func (*MastersObservation) DeepCopyInto

func (in *MastersObservation) DeepCopyInto(out *MastersObservation)

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

type MastersParameters

type MastersParameters struct {

	// Specifies the availability zone of the master node.
	// Changing this creates a new cluster.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`
}

func (*MastersParameters) DeepCopy

func (in *MastersParameters) DeepCopy() *MastersParameters

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

func (*MastersParameters) DeepCopyInto

func (in *MastersParameters) DeepCopyInto(out *MastersParameters)

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

type Node

type Node struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NodeSpec   `json:"spec"`
	Status            NodeStatus `json:"status,omitempty"`
}

Node is the Schema for the Nodes API. ""page_title: "flexibleengine_cce_node_v3" +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,flexibleengine}

func (*Node) DeepCopy

func (in *Node) DeepCopy() *Node

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

func (*Node) DeepCopyInto

func (in *Node) DeepCopyInto(out *Node)

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

func (*Node) DeepCopyObject

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

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

func (*Node) GetCondition

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

GetCondition of this Node.

func (*Node) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Node

func (*Node) GetDeletionPolicy

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

GetDeletionPolicy of this Node.

func (*Node) GetID

func (tr *Node) GetID() string

GetID returns ID of underlying Terraform resource of this Node

func (*Node) GetObservation

func (tr *Node) GetObservation() (map[string]any, error)

GetObservation of this Node

func (*Node) GetParameters

func (tr *Node) GetParameters() (map[string]any, error)

GetParameters of this Node

func (*Node) GetProviderConfigReference

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

GetProviderConfigReference of this Node.

func (*Node) GetProviderReference

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

GetProviderReference of this Node. Deprecated: Use GetProviderConfigReference.

func (*Node) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Node.

func (*Node) GetTerraformResourceType

func (mg *Node) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Node

func (*Node) GetTerraformSchemaVersion

func (tr *Node) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Node) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Node.

func (*Node) LateInitialize

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

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

func (*Node) ResolveReferences

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

ResolveReferences of this Node.

func (*Node) SetConditions

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

SetConditions of this Node.

func (*Node) SetDeletionPolicy

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

SetDeletionPolicy of this Node.

func (*Node) SetObservation

func (tr *Node) SetObservation(obs map[string]any) error

SetObservation for this Node

func (*Node) SetParameters

func (tr *Node) SetParameters(params map[string]any) error

SetParameters for this Node

func (*Node) SetProviderConfigReference

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

SetProviderConfigReference of this Node.

func (*Node) SetProviderReference

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

SetProviderReference of this Node. Deprecated: Use SetProviderConfigReference.

func (*Node) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Node.

func (*Node) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Node.

type NodeDataVolumesObservation

type NodeDataVolumesObservation struct {
}

func (*NodeDataVolumesObservation) DeepCopy

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

func (*NodeDataVolumesObservation) DeepCopyInto

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

type NodeDataVolumesParameters

type NodeDataVolumesParameters struct {

	// Specifies the disk expansion parameters in key/value pair format.
	// +kubebuilder:validation:Optional
	ExtendParams map[string]*string `json:"extendParams,omitempty" tf:"extend_params,omitempty"`

	// Specifies the ID of a KMS key. This is used to encrypt the volume.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/kms/v1beta1.Key
	// +kubebuilder:validation:Optional
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// Reference to a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate kmsKeyId.
	// +kubebuilder:validation:Optional
	KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"`

	// Specifies the disk size in GB.
	// +kubebuilder:validation:Required
	Size *float64 `json:"size" tf:"size,omitempty"`

	// Specifies the disk type.
	// +kubebuilder:validation:Required
	Volumetype *string `json:"volumetype" tf:"volumetype,omitempty"`
}

func (*NodeDataVolumesParameters) DeepCopy

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

func (*NodeDataVolumesParameters) DeepCopyInto

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

type NodeList

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

NodeList contains a list of Nodes

func (*NodeList) DeepCopy

func (in *NodeList) DeepCopy() *NodeList

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

func (*NodeList) DeepCopyInto

func (in *NodeList) DeepCopyInto(out *NodeList)

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

func (*NodeList) DeepCopyObject

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

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

func (*NodeList) GetItems

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

GetItems of this NodeList.

type NodeObservation

type NodeObservation struct {

	// The resource ID in UUID format.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Private IP of the CCE node.
	PrivateIP *string `json:"privateIp,omitempty" tf:"private_ip,omitempty"`

	// Public IP of the CCE node.
	PublicIP *string `json:"publicIp,omitempty" tf:"public_ip,omitempty"`

	// ID of the ECS instance associated with the node.
	ServerID *string `json:"serverId,omitempty" tf:"server_id,omitempty"`

	// Node status information.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*NodeObservation) DeepCopy

func (in *NodeObservation) DeepCopy() *NodeObservation

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

func (*NodeObservation) DeepCopyInto

func (in *NodeObservation) DeepCopyInto(out *NodeObservation)

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

type NodeParameters

type NodeParameters struct {

	// Node annotation, key/value pair format. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Annotations map[string]*string `json:"annotations,omitempty" tf:"annotations,omitempty"`

	// specify the name of the available partition (AZ).
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Required
	AvailabilityZone *string `json:"availabilityZone" tf:"availability_zone,omitempty"`

	// Bandwidth billing type. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	BandwidthChargeMode *string `json:"bandwidthChargeMode,omitempty" tf:"bandwidth_charge_mode,omitempty"`

	// Bandwidth size. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	BandwidthSize *float64 `json:"bandwidthSize,omitempty" tf:"bandwidth_size,omitempty"`

	// +kubebuilder:validation:Optional
	BillingMode *float64 `json:"billingMode,omitempty" tf:"billing_mode,omitempty"`

	// ID of the cluster. Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// Represents the data disk to be created.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Required
	DataVolumes []NodeDataVolumesParameters `json:"dataVolumes" tf:"data_volumes,omitempty"`

	// Number of elastic IPs to be dynamically created. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	EIPCount *float64 `json:"eipCount,omitempty" tf:"eip_count,omitempty"`

	// List of existing elastic IP IDs. Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/eip/v1beta1.EIP
	// +kubebuilder:validation:Optional
	EIPIds []*string `json:"eipIds,omitempty" tf:"eip_ids,omitempty"`

	// References to EIP in eip to populate eipIds.
	// +kubebuilder:validation:Optional
	EIPIdsRefs []v1.Reference `json:"eipIdsRefs,omitempty" tf:"-"`

	// Selector for a list of EIP in eip to populate eipIds.
	// +kubebuilder:validation:Optional
	EIPIdsSelector *v1.Selector `json:"eipIdsSelector,omitempty" tf:"-"`

	// Specifies the ECS group ID. If specified, the node will be created under
	// the cloud server group. Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/ecs/v1beta1.ServerGroup
	// +kubebuilder:validation:Optional
	EcsGroupID *string `json:"ecsGroupId,omitempty" tf:"ecs_group_id,omitempty"`

	// Reference to a ServerGroup in ecs to populate ecsGroupId.
	// +kubebuilder:validation:Optional
	EcsGroupIDRef *v1.Reference `json:"ecsGroupIdRef,omitempty" tf:"-"`

	// Selector for a ServerGroup in ecs to populate ecsGroupId.
	// +kubebuilder:validation:Optional
	EcsGroupIDSelector *v1.Selector `json:"ecsGroupIdSelector,omitempty" tf:"-"`

	// Classification of cloud server specifications.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	EcsPerformanceType *string `json:"ecsPerformanceType,omitempty" tf:"ecs_performance_type,omitempty"`

	// Extended parameter. Changing this parameter will create a new resource.
	// Availiable keys:
	// +kubebuilder:validation:Optional
	ExtendParam map[string]*string `json:"extendParam,omitempty" tf:"extend_param,omitempty"`

	// +kubebuilder:validation:Optional
	ExtendParamChargingMode *float64 `json:"extendParamChargingMode,omitempty" tf:"extend_param_charging_mode,omitempty"`

	// Specifies the flavor id. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Required
	FlavorID *string `json:"flavorId" tf:"flavor_id,omitempty"`

	// Elastic IP type.
	// +kubebuilder:validation:Optional
	Iptype *string `json:"iptype,omitempty" tf:"iptype,omitempty"`

	// Key pair name when logging in to select the key pair mode.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/ecs/v1beta1.KeyPair
	// +kubebuilder:validation:Optional
	KeyPair *string `json:"keyPair,omitempty" tf:"key_pair,omitempty"`

	// Reference to a KeyPair in ecs to populate keyPair.
	// +kubebuilder:validation:Optional
	KeyPairRef *v1.Reference `json:"keyPairRef,omitempty" tf:"-"`

	// Selector for a KeyPair in ecs to populate keyPair.
	// +kubebuilder:validation:Optional
	KeyPairSelector *v1.Selector `json:"keyPairSelector,omitempty" tf:"-"`

	// Tags of a Kubernetes node, key/value pair format. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// The maximum number of instances a node is allowed to create.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	MaxPods *float64 `json:"maxPods,omitempty" tf:"max_pods,omitempty"`

	// Node Name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The resource ID in UUID format.
	// +kubebuilder:validation:Optional
	OrderID *string `json:"orderId,omitempty" tf:"order_id,omitempty"`

	// Operating System of the node, possible values are EulerOS 2.2 and CentOS 7.6. Defaults to EulerOS 2.2.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Os *string `json:"os,omitempty" tf:"os,omitempty"`

	// Script required after installation. The input value can be a Base64 encoded string or not.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Postinstall *string `json:"postinstall,omitempty" tf:"postinstall,omitempty"`

	// Script required before installation. The input value can be a Base64 encoded string or not.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Preinstall *string `json:"preinstall,omitempty" tf:"preinstall,omitempty"`

	// The Product ID. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	ProductID *string `json:"productId,omitempty" tf:"product_id,omitempty"`

	// The Public key. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	PublicKey *string `json:"publicKey,omitempty" tf:"public_key,omitempty"`

	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// It corresponds to the system disk related configuration.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Required
	RootVolume []NodeRootVolumeParameters `json:"rootVolume" tf:"root_volume,omitempty"`

	// Bandwidth sharing type. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Sharetype *string `json:"sharetype,omitempty" tf:"sharetype,omitempty"`

	// Specifies the ID of the VPC Subnet to which the NIC belongs.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPCSubnet
	// +crossplane:generate:reference:extractor=github.com/FlexibleEngineCloud/provider-flexibleengine/pkg/tools.ExtractorParamPathfunc(true, "id")
	// +crossplane:generate:reference:refFieldName=SubnetIDRef
	// +crossplane:generate:reference:selectorFieldName=SubnetIDSelector
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a VPCSubnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a VPCSubnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// VM tag, key/value pair format.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// You can add taints to created nodes to configure anti-affinity.
	// Changing this parameter will create a new resource.
	// Each taint contains the following parameters:
	// +kubebuilder:validation:Optional
	Taints []NodeTaintsParameters `json:"taints,omitempty" tf:"taints,omitempty"`
}

func (*NodeParameters) DeepCopy

func (in *NodeParameters) DeepCopy() *NodeParameters

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

func (*NodeParameters) DeepCopyInto

func (in *NodeParameters) DeepCopyInto(out *NodeParameters)

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. ""page_title: "flexibleengine_cce_node_pool_v3" +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,flexibleengine}

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]any, error)

GetObservation of this NodePool

func (*NodePool) GetParameters

func (tr *NodePool) GetParameters() (map[string]any, 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]any) error

SetObservation for this NodePool

func (*NodePool) SetParameters

func (tr *NodePool) SetParameters(params map[string]any) 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 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 {

	// Billing mode of a node.
	BillingMode *float64 `json:"billingMode,omitempty" tf:"billing_mode,omitempty"`

	// Specifies a resource ID in UUID format.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Node status information.
	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 {

	// specify the name of the available partition (AZ).
	// Default value is random to create nodes in a random AZ in the node pool.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	AvailabilityZone *string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`

	// ID of the cluster. Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=Cluster
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Reference to a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDRef *v1.Reference `json:"clusterIdRef,omitempty" tf:"-"`

	// Selector for a Cluster to populate clusterId.
	// +kubebuilder:validation:Optional
	ClusterIDSelector *v1.Selector `json:"clusterIdSelector,omitempty" tf:"-"`

	// Represents the data disk to be created.
	// The object structure is documented below. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Required
	DataVolumes []DataVolumesParameters `json:"dataVolumes" tf:"data_volumes,omitempty"`

	// Specifies the ECS group ID. If specified, the node will be created under
	// the cloud server group. Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/ecs/v1beta1.ServerGroup
	// +kubebuilder:validation:Optional
	EcsGroupID *string `json:"ecsGroupId,omitempty" tf:"ecs_group_id,omitempty"`

	// Reference to a ServerGroup in ecs to populate ecsGroupId.
	// +kubebuilder:validation:Optional
	EcsGroupIDRef *v1.Reference `json:"ecsGroupIdRef,omitempty" tf:"-"`

	// Selector for a ServerGroup in ecs to populate ecsGroupId.
	// +kubebuilder:validation:Optional
	EcsGroupIDSelector *v1.Selector `json:"ecsGroupIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ExtendParam map[string]*string `json:"extendParam,omitempty" tf:"extend_param,omitempty"`

	// Specifies the flavor id. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Required
	FlavorID *string `json:"flavorId" tf:"flavor_id,omitempty"`

	// Initial number of expected nodes in the node pool.
	// +kubebuilder:validation:Required
	InitialNodeCount *float64 `json:"initialNodeCount" tf:"initial_node_count,omitempty"`

	// Key pair name when logging in to select the key pair mode.
	// This parameter and password are alternative. Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/ecs/v1beta1.KeyPair
	// +kubebuilder:validation:Optional
	KeyPair *string `json:"keyPair,omitempty" tf:"key_pair,omitempty"`

	// Reference to a KeyPair in ecs to populate keyPair.
	// +kubebuilder:validation:Optional
	KeyPairRef *v1.Reference `json:"keyPairRef,omitempty" tf:"-"`

	// Selector for a KeyPair in ecs to populate keyPair.
	// +kubebuilder:validation:Optional
	KeyPairSelector *v1.Selector `json:"keyPairSelector,omitempty" tf:"-"`

	// Tags of a Kubernetes node, key/value pair format.
	// +kubebuilder:validation:Optional
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Maximum number of nodes allowed if auto scaling is enabled.
	// +kubebuilder:validation:Optional
	MaxNodeCount *float64 `json:"maxNodeCount,omitempty" tf:"max_node_count,omitempty"`

	// The maximum number of instances a node is allowed to create.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	MaxPods *float64 `json:"maxPods,omitempty" tf:"max_pods,omitempty"`

	// Minimum number of nodes allowed if auto scaling is enabled.
	// +kubebuilder:validation:Optional
	MinNodeCount *float64 `json:"minNodeCount,omitempty" tf:"min_node_count,omitempty"`

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

	// Operating System of the node. The value can be EulerOS 2.5 and CentOS 7.6.
	// Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Os *string `json:"os,omitempty" tf:"os,omitempty"`

	// root password when logging in to select the password mode.
	// This parameter must be salted and alternative to key_pair. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// Script required after the installation. The input value can be
	// a Base64 encoded string or not. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Postinstall *string `json:"postinstall,omitempty" tf:"postinstall,omitempty"`

	// Script required before installation. The input value can be
	// a Base64 encoded string or not. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Optional
	Preinstall *string `json:"preinstall,omitempty" tf:"preinstall,omitempty"`

	// Weight of a node pool. A node pool with a higher weight has a higher priority during scaling.
	// +kubebuilder:validation:Optional
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// It corresponds to the system disk related configuration.
	// The object structure is documented below. Changing this parameter will create a new resource.
	// +kubebuilder:validation:Required
	RootVolume []RootVolumeParameters `json:"rootVolume" tf:"root_volume,omitempty"`

	// Interval between two scaling operations, in minutes.
	// +kubebuilder:validation:Optional
	ScaleDownCooldownTime *float64 `json:"scaleDownCooldownTime,omitempty" tf:"scale_down_cooldown_time,omitempty"`

	// Whether to enable auto scaling. If Autoscaler is enabled, install the autoscaler
	// add-on to use the auto scaling feature.
	// +kubebuilder:validation:Optional
	ScaleEnable *bool `json:"scaleEnable,omitempty" tf:"scale_enable,omitempty"`

	// +kubebuilder:validation:Optional
	ScallEnable *bool `json:"scallEnable,omitempty" tf:"scall_enable,omitempty"`

	// The ID of the VPC Subnet to which the NIC belongs.
	// Changing this parameter will create a new resource.
	// +crossplane:generate:reference:type=github.com/FlexibleEngineCloud/provider-flexibleengine/apis/vpc/v1beta1.VPCSubnet
	// +crossplane:generate:reference:extractor=github.com/FlexibleEngineCloud/provider-flexibleengine/pkg/tools.ExtractorParamPathfunc(true, "id")
	// +crossplane:generate:reference:refFieldName=SubnetIDRef
	// +crossplane:generate:reference:selectorFieldName=SubnetIDSelector
	// +kubebuilder:validation:Optional
	SubnetID *string `json:"subnetId,omitempty" tf:"subnet_id,omitempty"`

	// Reference to a VPCSubnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDRef *v1.Reference `json:"subnetIdRef,omitempty" tf:"-"`

	// Selector for a VPCSubnet in vpc to populate subnetId.
	// +kubebuilder:validation:Optional
	SubnetIDSelector *v1.Selector `json:"subnetIdSelector,omitempty" tf:"-"`

	// Tags of a VM node, key/value pair format.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// You can add taints to created nodes to configure anti-affinity.
	// The object structure is documented below.
	// +kubebuilder:validation:Optional
	Taints []TaintsParameters `json:"taints,omitempty" tf:"taints,omitempty"`

	// Node Pool type. Possible values are: "vm" and "ElasticBMS".
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,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 NodeRootVolumeObservation

type NodeRootVolumeObservation struct {
}

func (*NodeRootVolumeObservation) DeepCopy

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

func (*NodeRootVolumeObservation) DeepCopyInto

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

type NodeRootVolumeParameters

type NodeRootVolumeParameters struct {

	// Specifies the disk expansion parameters in key/value pair format.
	// +kubebuilder:validation:Optional
	ExtendParams map[string]*string `json:"extendParams,omitempty" tf:"extend_params,omitempty"`

	// Specifies the disk size in GB.
	// +kubebuilder:validation:Required
	Size *float64 `json:"size" tf:"size,omitempty"`

	// Specifies the disk type.
	// +kubebuilder:validation:Required
	Volumetype *string `json:"volumetype" tf:"volumetype,omitempty"`
}

func (*NodeRootVolumeParameters) DeepCopy

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

func (*NodeRootVolumeParameters) DeepCopyInto

func (in *NodeRootVolumeParameters) DeepCopyInto(out *NodeRootVolumeParameters)

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

type NodeSpec

type NodeSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     NodeParameters `json:"forProvider"`
}

NodeSpec defines the desired state of Node

func (*NodeSpec) DeepCopy

func (in *NodeSpec) DeepCopy() *NodeSpec

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

func (*NodeSpec) DeepCopyInto

func (in *NodeSpec) DeepCopyInto(out *NodeSpec)

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

type NodeStatus

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

NodeStatus defines the observed state of Node.

func (*NodeStatus) DeepCopy

func (in *NodeStatus) DeepCopy() *NodeStatus

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

func (*NodeStatus) DeepCopyInto

func (in *NodeStatus) DeepCopyInto(out *NodeStatus)

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

type NodeTaintsObservation

type NodeTaintsObservation struct {
}

func (*NodeTaintsObservation) DeepCopy

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

func (*NodeTaintsObservation) DeepCopyInto

func (in *NodeTaintsObservation) DeepCopyInto(out *NodeTaintsObservation)

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

type NodeTaintsParameters

type NodeTaintsParameters struct {

	// Available options are NoSchedule, PreferNoSchedule, and NoExecute.
	// +kubebuilder:validation:Required
	Effect *string `json:"effect" tf:"effect,omitempty"`

	// A key must contain 1 to 63 characters starting with a letter or digit. Only letters, digits,
	// hyphens (-), underscores (_), and periods (.) are allowed. A DNS subdomain name can be used as the prefix of a key.
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// A value must start with a letter or digit and can contain a maximum of 63 characters,
	// including letters, digits, hyphens (-), underscores (_), and periods (.).
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*NodeTaintsParameters) DeepCopy

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

func (*NodeTaintsParameters) DeepCopyInto

func (in *NodeTaintsParameters) DeepCopyInto(out *NodeTaintsParameters)

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

type RootVolumeObservation

type RootVolumeObservation struct {
}

func (*RootVolumeObservation) DeepCopy

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

func (*RootVolumeObservation) DeepCopyInto

func (in *RootVolumeObservation) DeepCopyInto(out *RootVolumeObservation)

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

type RootVolumeParameters

type RootVolumeParameters struct {

	// Specifies the disk expansion parameters in key/value pair format.
	// +kubebuilder:validation:Optional
	ExtendParams map[string]*string `json:"extendParams,omitempty" tf:"extend_params,omitempty"`

	// Specifies the disk size in GB.
	// +kubebuilder:validation:Required
	Size *float64 `json:"size" tf:"size,omitempty"`

	// Specifies the disk type.
	// +kubebuilder:validation:Required
	Volumetype *string `json:"volumetype" tf:"volumetype,omitempty"`
}

func (*RootVolumeParameters) DeepCopy

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

func (*RootVolumeParameters) DeepCopyInto

func (in *RootVolumeParameters) DeepCopyInto(out *RootVolumeParameters)

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 {

	// Available options are NoSchedule, PreferNoSchedule and NoExecute.
	// +kubebuilder:validation:Required
	Effect *string `json:"effect" tf:"effect,omitempty"`

	// A key must contain 1 to 63 characters starting with a letter or digit.
	// Only letters, digits, hyphens (-), underscores (_), and periods (.) are allowed.
	// A DNS subdomain name can be used as the prefix of a key.
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// A value must start with a letter or digit and can contain a maximum of 63 characters,
	// including letters, digits, hyphens (-), underscores (_), and periods (.).
	// +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 ValuesObservation

type ValuesObservation struct {
}

func (*ValuesObservation) DeepCopy

func (in *ValuesObservation) DeepCopy() *ValuesObservation

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

func (*ValuesObservation) DeepCopyInto

func (in *ValuesObservation) DeepCopyInto(out *ValuesObservation)

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

type ValuesParameters

type ValuesParameters struct {

	// The basic parameters in json string format.
	// Changing this will create a new resource.
	// +kubebuilder:validation:Required
	Basic *string `json:"basic" tf:"basic,omitempty"`

	// The custom parameters in json string format.
	// Changing this will create a new resource.
	// +kubebuilder:validation:Optional
	Custom *string `json:"custom,omitempty" tf:"custom,omitempty"`

	// The flavor parameters in json string format.
	// Changing this will create a new resource.
	// +kubebuilder:validation:Optional
	Flavor *string `json:"flavor,omitempty" tf:"flavor,omitempty"`
}

func (*ValuesParameters) DeepCopy

func (in *ValuesParameters) DeepCopy() *ValuesParameters

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

func (*ValuesParameters) DeepCopyInto

func (in *ValuesParameters) DeepCopyInto(out *ValuesParameters)

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