v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=kubernetes.vultr.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "kubernetes.vultr.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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 (
	Kubernetes_Kind             = "Kubernetes"
	Kubernetes_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Kubernetes_Kind}.String()
	Kubernetes_KindAPIVersion   = Kubernetes_Kind + "." + CRDGroupVersion.String()
	Kubernetes_GroupVersionKind = CRDGroupVersion.WithKind(Kubernetes_Kind)
)

Repository type metadata.

View Source
var (
	NodePools_Kind             = "NodePools"
	NodePools_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: NodePools_Kind}.String()
	NodePools_KindAPIVersion   = NodePools_Kind + "." + CRDGroupVersion.String()
	NodePools_GroupVersionKind = CRDGroupVersion.WithKind(NodePools_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Kubernetes

type Kubernetes struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.label)",message="label is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.region)",message="region is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.version)",message="version is a required parameter"
	Spec   KubernetesSpec   `json:"spec"`
	Status KubernetesStatus `json:"status,omitempty"`
}

Kubernetes is the Schema for the Kubernetess API. Provides a Vultr Kubernetes Engine (VKE) resource. This can be used to create, read, modify, and delete VKE clusters on your Vultr account. +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,vultr}

func (*Kubernetes) DeepCopy

func (in *Kubernetes) DeepCopy() *Kubernetes

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

func (*Kubernetes) DeepCopyInto

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

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

func (*Kubernetes) DeepCopyObject

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

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

func (*Kubernetes) GetCondition

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

GetCondition of this Kubernetes.

func (*Kubernetes) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Kubernetes

func (*Kubernetes) GetDeletionPolicy

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

GetDeletionPolicy of this Kubernetes.

func (*Kubernetes) GetID

func (tr *Kubernetes) GetID() string

GetID returns ID of underlying Terraform resource of this Kubernetes

func (*Kubernetes) GetManagementPolicy

func (mg *Kubernetes) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Kubernetes.

func (*Kubernetes) GetObservation

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

GetObservation of this Kubernetes

func (*Kubernetes) GetParameters

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

GetParameters of this Kubernetes

func (*Kubernetes) GetProviderConfigReference

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

GetProviderConfigReference of this Kubernetes.

func (*Kubernetes) GetProviderReference

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

GetProviderReference of this Kubernetes. Deprecated: Use GetProviderConfigReference.

func (*Kubernetes) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Kubernetes.

func (*Kubernetes) GetTerraformResourceType

func (mg *Kubernetes) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Kubernetes

func (*Kubernetes) GetTerraformSchemaVersion

func (tr *Kubernetes) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Kubernetes) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Kubernetes.

func (*Kubernetes) LateInitialize

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

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

func (*Kubernetes) SetConditions

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

SetConditions of this Kubernetes.

func (*Kubernetes) SetDeletionPolicy

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

SetDeletionPolicy of this Kubernetes.

func (*Kubernetes) SetManagementPolicy

func (mg *Kubernetes) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Kubernetes.

func (*Kubernetes) SetObservation

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

SetObservation for this Kubernetes

func (*Kubernetes) SetParameters

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

SetParameters for this Kubernetes

func (*Kubernetes) SetProviderConfigReference

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

SetProviderConfigReference of this Kubernetes.

func (*Kubernetes) SetProviderReference

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

SetProviderReference of this Kubernetes. Deprecated: Use SetProviderConfigReference.

func (*Kubernetes) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Kubernetes.

func (*Kubernetes) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Kubernetes.

type KubernetesList

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

KubernetesList contains a list of Kubernetess

func (*KubernetesList) DeepCopy

func (in *KubernetesList) DeepCopy() *KubernetesList

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

func (*KubernetesList) DeepCopyInto

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

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

func (*KubernetesList) DeepCopyObject

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

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

func (*KubernetesList) GetItems

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

GetItems of this KubernetesList.

type KubernetesObservation

type KubernetesObservation struct {

	// IP range that your pods will run on in this cluster.
	ClusterSubnet *string `json:"clusterSubnet,omitempty" tf:"cluster_subnet,omitempty"`

	// Date of VKE cluster creation.
	DateCreated *string `json:"dateCreated,omitempty" tf:"date_created,omitempty"`

	// Domain for your Kubernetes clusters control plane.
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint,omitempty"`

	// The VKE cluster ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// IP address of VKE cluster control plane.
	IP *string `json:"ip,omitempty" tf:"ip,omitempty"`

	// The VKE clusters label.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// Contains the default node pool that was deployed.
	NodePools []NodePoolsObservation `json:"nodePools,omitempty" tf:"node_pools,omitempty"`

	// The region your VKE cluster will be deployed in.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// IP range that services will run on this cluster.
	ServiceSubnet *string `json:"serviceSubnet,omitempty" tf:"service_subnet,omitempty"`

	// The overall status of the cluster.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// The version your VKE cluster you want deployed. See Available Version
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*KubernetesObservation) DeepCopy

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

func (*KubernetesObservation) DeepCopyInto

func (in *KubernetesObservation) DeepCopyInto(out *KubernetesObservation)

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

type KubernetesParameters

type KubernetesParameters struct {

	// The VKE clusters label.
	// +kubebuilder:validation:Optional
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// Contains the default node pool that was deployed.
	// +kubebuilder:validation:Optional
	NodePools []NodePoolsParameters `json:"nodePools,omitempty" tf:"node_pools,omitempty"`

	// The region your VKE cluster will be deployed in.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The version your VKE cluster you want deployed. See Available Version
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*KubernetesParameters) DeepCopy

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

func (*KubernetesParameters) DeepCopyInto

func (in *KubernetesParameters) DeepCopyInto(out *KubernetesParameters)

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

type KubernetesSpec

type KubernetesSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     KubernetesParameters `json:"forProvider"`
}

KubernetesSpec defines the desired state of Kubernetes

func (*KubernetesSpec) DeepCopy

func (in *KubernetesSpec) DeepCopy() *KubernetesSpec

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

func (*KubernetesSpec) DeepCopyInto

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

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

type KubernetesStatus

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

KubernetesStatus defines the observed state of Kubernetes.

func (*KubernetesStatus) DeepCopy

func (in *KubernetesStatus) DeepCopy() *KubernetesStatus

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

func (*KubernetesStatus) DeepCopyInto

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

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

type NodePools

type NodePools struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.clusterId)",message="clusterId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.label)",message="label is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.nodeQuantity)",message="nodeQuantity is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.plan)",message="plan is a required parameter"
	Spec   NodePoolsSpec   `json:"spec"`
	Status NodePoolsStatus `json:"status,omitempty"`
}

NodePools is the Schema for the NodePoolss API. Provides a Vultr Kubernetes Engine (VKE) Node Pool resource. This can be used to create, read, modify, and delete VKE clusters on your Vultr account. +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,vultr}

func (*NodePools) DeepCopy

func (in *NodePools) DeepCopy() *NodePools

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

func (*NodePools) DeepCopyInto

func (in *NodePools) DeepCopyInto(out *NodePools)

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

func (*NodePools) DeepCopyObject

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

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

func (*NodePools) GetCondition

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

GetCondition of this NodePools.

func (*NodePools) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this NodePools

func (*NodePools) GetDeletionPolicy

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

GetDeletionPolicy of this NodePools.

func (*NodePools) GetID

func (tr *NodePools) GetID() string

GetID returns ID of underlying Terraform resource of this NodePools

func (*NodePools) GetManagementPolicy

func (mg *NodePools) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this NodePools.

func (*NodePools) GetObservation

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

GetObservation of this NodePools

func (*NodePools) GetParameters

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

GetParameters of this NodePools

func (*NodePools) GetProviderConfigReference

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

GetProviderConfigReference of this NodePools.

func (*NodePools) GetProviderReference

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

GetProviderReference of this NodePools. Deprecated: Use GetProviderConfigReference.

func (*NodePools) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this NodePools.

func (*NodePools) GetTerraformResourceType

func (mg *NodePools) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this NodePools

func (*NodePools) GetTerraformSchemaVersion

func (tr *NodePools) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*NodePools) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this NodePools.

func (*NodePools) LateInitialize

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

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

func (*NodePools) SetConditions

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

SetConditions of this NodePools.

func (*NodePools) SetDeletionPolicy

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

SetDeletionPolicy of this NodePools.

func (*NodePools) SetManagementPolicy

func (mg *NodePools) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this NodePools.

func (*NodePools) SetObservation

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

SetObservation for this NodePools

func (*NodePools) SetParameters

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

SetParameters for this NodePools

func (*NodePools) SetProviderConfigReference

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

SetProviderConfigReference of this NodePools.

func (*NodePools) SetProviderReference

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

SetProviderReference of this NodePools. Deprecated: Use SetProviderConfigReference.

func (*NodePools) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this NodePools.

func (*NodePools) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this NodePools.

type NodePoolsList

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

NodePoolsList contains a list of NodePoolss

func (*NodePoolsList) DeepCopy

func (in *NodePoolsList) DeepCopy() *NodePoolsList

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

func (*NodePoolsList) DeepCopyInto

func (in *NodePoolsList) DeepCopyInto(out *NodePoolsList)

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

func (*NodePoolsList) DeepCopyObject

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

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

func (*NodePoolsList) GetItems

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

GetItems of this NodePoolsList.

type NodePoolsNodesObservation

type NodePoolsNodesObservation struct {

	// Date of node pool creation.
	DateCreated *string `json:"dateCreated,omitempty" tf:"date_created,omitempty"`

	// The Nodepool ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The label to be used as a prefix for nodes in this node pool.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// Status of node pool.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*NodePoolsNodesObservation) DeepCopy

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

func (*NodePoolsNodesObservation) DeepCopyInto

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

type NodePoolsNodesParameters

type NodePoolsNodesParameters struct {
}

func (*NodePoolsNodesParameters) DeepCopy

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

func (*NodePoolsNodesParameters) DeepCopyInto

func (in *NodePoolsNodesParameters) DeepCopyInto(out *NodePoolsNodesParameters)

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

type NodePoolsObservation

type NodePoolsObservation struct {

	// Enable the auto scaler for the default node pool.
	AutoScaler *bool `json:"autoScaler,omitempty" tf:"auto_scaler,omitempty"`

	// Date of VKE cluster creation.
	DateCreated *string `json:"dateCreated,omitempty" tf:"date_created,omitempty"`

	// Date of node pool updates.
	DateUpdated *string `json:"dateUpdated,omitempty" tf:"date_updated,omitempty"`

	// The VKE cluster ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The VKE clusters label.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The maximum number of nodes to use with the auto scaler.
	MaxNodes *float64 `json:"maxNodes,omitempty" tf:"max_nodes,omitempty"`

	// The minimum number of nodes to use with the auto scaler.
	MinNodes *float64 `json:"minNodes,omitempty" tf:"min_nodes,omitempty"`

	// The number of nodes in this node pool.
	NodeQuantity *float64 `json:"nodeQuantity,omitempty" tf:"node_quantity,omitempty"`

	// Array that contains information about nodes within this node pool.
	Nodes []NodesObservation `json:"nodes,omitempty" tf:"nodes,omitempty"`

	// The plan to be used in this node pool. See Plans List Note the minimum plan requirements must have at least 1 core and 2 gbs of memory.
	Plan *string `json:"plan,omitempty" tf:"plan,omitempty"`

	// The overall status of the cluster.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// Tag for node pool.
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*NodePoolsObservation) DeepCopy

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

func (*NodePoolsObservation) DeepCopyInto

func (in *NodePoolsObservation) DeepCopyInto(out *NodePoolsObservation)

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

type NodePoolsObservation_2

type NodePoolsObservation_2 struct {

	// Enable the auto scaler for the default node pool.
	AutoScaler *bool `json:"autoScaler,omitempty" tf:"auto_scaler,omitempty"`

	// The VKE cluster ID you want to attach this nodepool to.
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// Date of node pool creation.
	DateCreated *string `json:"dateCreated,omitempty" tf:"date_created,omitempty"`

	// Date of node pool updates.
	DateUpdated *string `json:"dateUpdated,omitempty" tf:"date_updated,omitempty"`

	// The Nodepool ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The label to be used as a prefix for nodes in this node pool.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The maximum number of nodes to use with the auto scaler.
	MaxNodes *float64 `json:"maxNodes,omitempty" tf:"max_nodes,omitempty"`

	// The minimum number of nodes to use with the auto scaler.
	MinNodes *float64 `json:"minNodes,omitempty" tf:"min_nodes,omitempty"`

	// The number of nodes in this node pool.
	NodeQuantity *float64 `json:"nodeQuantity,omitempty" tf:"node_quantity,omitempty"`

	// Array that contains information about nodes within this node pool.
	Nodes []NodePoolsNodesObservation `json:"nodes,omitempty" tf:"nodes,omitempty"`

	// The plan to be used in this node pool. See Plans List Note the minimum plan requirements must have at least 1 core and 2 gbs of memory.
	Plan *string `json:"plan,omitempty" tf:"plan,omitempty"`

	// Status of node pool.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// A tag that is assigned to this node pool.
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*NodePoolsObservation_2) DeepCopy

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

func (*NodePoolsObservation_2) DeepCopyInto

func (in *NodePoolsObservation_2) DeepCopyInto(out *NodePoolsObservation_2)

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

type NodePoolsParameters

type NodePoolsParameters struct {

	// Enable the auto scaler for the default node pool.
	// +kubebuilder:validation:Optional
	AutoScaler *bool `json:"autoScaler,omitempty" tf:"auto_scaler,omitempty"`

	// The VKE clusters label.
	// +kubebuilder:validation:Required
	Label *string `json:"label" tf:"label,omitempty"`

	// The maximum number of nodes to use with the auto scaler.
	// +kubebuilder:validation:Optional
	MaxNodes *float64 `json:"maxNodes,omitempty" tf:"max_nodes,omitempty"`

	// The minimum number of nodes to use with the auto scaler.
	// +kubebuilder:validation:Optional
	MinNodes *float64 `json:"minNodes,omitempty" tf:"min_nodes,omitempty"`

	// The number of nodes in this node pool.
	// +kubebuilder:validation:Required
	NodeQuantity *float64 `json:"nodeQuantity" tf:"node_quantity,omitempty"`

	// The plan to be used in this node pool. See Plans List Note the minimum plan requirements must have at least 1 core and 2 gbs of memory.
	// +kubebuilder:validation:Required
	Plan *string `json:"plan" tf:"plan,omitempty"`
}

func (*NodePoolsParameters) DeepCopy

func (in *NodePoolsParameters) DeepCopy() *NodePoolsParameters

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

func (*NodePoolsParameters) DeepCopyInto

func (in *NodePoolsParameters) DeepCopyInto(out *NodePoolsParameters)

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

type NodePoolsParameters_2

type NodePoolsParameters_2 struct {

	// Enable the auto scaler for the default node pool.
	// +kubebuilder:validation:Optional
	AutoScaler *bool `json:"autoScaler,omitempty" tf:"auto_scaler,omitempty"`

	// The VKE cluster ID you want to attach this nodepool to.
	// +kubebuilder:validation:Optional
	ClusterID *string `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// The label to be used as a prefix for nodes in this node pool.
	// +kubebuilder:validation:Optional
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The maximum number of nodes to use with the auto scaler.
	// +kubebuilder:validation:Optional
	MaxNodes *float64 `json:"maxNodes,omitempty" tf:"max_nodes,omitempty"`

	// The minimum number of nodes to use with the auto scaler.
	// +kubebuilder:validation:Optional
	MinNodes *float64 `json:"minNodes,omitempty" tf:"min_nodes,omitempty"`

	// The number of nodes in this node pool.
	// +kubebuilder:validation:Optional
	NodeQuantity *float64 `json:"nodeQuantity,omitempty" tf:"node_quantity,omitempty"`

	// The plan to be used in this node pool. See Plans List Note the minimum plan requirements must have at least 1 core and 2 gbs of memory.
	// +kubebuilder:validation:Optional
	Plan *string `json:"plan,omitempty" tf:"plan,omitempty"`

	// A tag that is assigned to this node pool.
	// +kubebuilder:validation:Optional
	Tag *string `json:"tag,omitempty" tf:"tag,omitempty"`
}

func (*NodePoolsParameters_2) DeepCopy

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

func (*NodePoolsParameters_2) DeepCopyInto

func (in *NodePoolsParameters_2) DeepCopyInto(out *NodePoolsParameters_2)

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

type NodePoolsSpec

type NodePoolsSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     NodePoolsParameters_2 `json:"forProvider"`
}

NodePoolsSpec defines the desired state of NodePools

func (*NodePoolsSpec) DeepCopy

func (in *NodePoolsSpec) DeepCopy() *NodePoolsSpec

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

func (*NodePoolsSpec) DeepCopyInto

func (in *NodePoolsSpec) DeepCopyInto(out *NodePoolsSpec)

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

type NodePoolsStatus

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

NodePoolsStatus defines the observed state of NodePools.

func (*NodePoolsStatus) DeepCopy

func (in *NodePoolsStatus) DeepCopy() *NodePoolsStatus

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

func (*NodePoolsStatus) DeepCopyInto

func (in *NodePoolsStatus) DeepCopyInto(out *NodePoolsStatus)

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

type NodesObservation

type NodesObservation struct {

	// Date of VKE cluster creation.
	DateCreated *string `json:"dateCreated,omitempty" tf:"date_created,omitempty"`

	// The VKE cluster ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The VKE clusters label.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// The overall status of the cluster.
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*NodesObservation) DeepCopy

func (in *NodesObservation) DeepCopy() *NodesObservation

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

func (*NodesObservation) DeepCopyInto

func (in *NodesObservation) DeepCopyInto(out *NodesObservation)

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

type NodesParameters

type NodesParameters struct {
}

func (*NodesParameters) DeepCopy

func (in *NodesParameters) DeepCopy() *NodesParameters

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

func (*NodesParameters) DeepCopyInto

func (in *NodesParameters) DeepCopyInto(out *NodesParameters)

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