v1alpha1

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=lke.linode.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "lke.linode.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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 (
	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 AutoscalerInitParameters added in v0.0.16

type AutoscalerInitParameters struct {

	// The maximum number of nodes to autoscale to.
	// The maximum number of nodes to autoscale to.
	Max *float64 `json:"max,omitempty" tf:"max,omitempty"`

	// The minimum number of nodes to autoscale to.
	// The minimum number of nodes to autoscale to.
	Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}

func (*AutoscalerInitParameters) DeepCopy added in v0.0.16

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

func (*AutoscalerInitParameters) DeepCopyInto added in v0.0.16

func (in *AutoscalerInitParameters) DeepCopyInto(out *AutoscalerInitParameters)

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

type AutoscalerObservation

type AutoscalerObservation struct {

	// The maximum number of nodes to autoscale to.
	// The maximum number of nodes to autoscale to.
	Max *float64 `json:"max,omitempty" tf:"max,omitempty"`

	// The minimum number of nodes to autoscale to.
	// The minimum number of nodes to autoscale to.
	Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}

func (*AutoscalerObservation) DeepCopy

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

func (*AutoscalerObservation) DeepCopyInto

func (in *AutoscalerObservation) DeepCopyInto(out *AutoscalerObservation)

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

type AutoscalerParameters

type AutoscalerParameters struct {

	// The maximum number of nodes to autoscale to.
	// The maximum number of nodes to autoscale to.
	// +kubebuilder:validation:Optional
	Max *float64 `json:"max" tf:"max,omitempty"`

	// The minimum number of nodes to autoscale to.
	// The minimum number of nodes to autoscale to.
	// +kubebuilder:validation:Optional
	Min *float64 `json:"min" tf:"min,omitempty"`
}

func (*AutoscalerParameters) DeepCopy

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

func (*AutoscalerParameters) DeepCopyInto

func (in *AutoscalerParameters) DeepCopyInto(out *AutoscalerParameters)

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"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.k8sVersion) || (has(self.initProvider) && has(self.initProvider.k8sVersion))",message="spec.forProvider.k8sVersion is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.label) || (has(self.initProvider) && has(self.initProvider.label))",message="spec.forProvider.label is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.pool) || (has(self.initProvider) && has(self.initProvider.pool))",message="spec.forProvider.pool is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.region) || (has(self.initProvider) && has(self.initProvider.region))",message="spec.forProvider.region is a required parameter"
	Spec   ClusterSpec   `json:"spec"`
	Status ClusterStatus `json:"status,omitempty"`
}

Cluster is the Schema for the Clusters API. Manages a Linode instance. +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:resource:scope=Cluster,categories={crossplane,managed,linode}

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) GetInitParameters added in v0.0.16

func (tr *Cluster) GetInitParameters() (map[string]any, error)

GetInitParameters of this Cluster

func (*Cluster) GetManagementPolicies added in v0.0.16

func (mg *Cluster) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Cluster.

func (*Cluster) GetMergedParameters added in v0.0.16

func (tr *Cluster) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters 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) 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) Hub added in v0.0.16

func (tr *Cluster) Hub()

Hub marks this type as a conversion hub.

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) 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) SetManagementPolicies added in v0.0.16

func (mg *Cluster) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies 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) 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 ClusterInitParameters added in v0.0.16

type ClusterInitParameters struct {

	// Defines settings for the Kubernetes Control Plane.
	ControlPlane []ControlPlaneInitParameters `json:"controlPlane,omitempty" tf:"control_plane,omitempty"`

	// An array of tags indicating that node pools having those tags are defined with a separate linode_lke_node_pool resource, rather than inside the current cluster resource.
	// An array of tags indicating that node pools having those tags are defined with a separate nodepool resource, rather than inside the current cluster resource.
	// +listType=set
	ExternalPoolTags []*string `json:"externalPoolTags,omitempty" tf:"external_pool_tags,omitempty"`

	// The desired Kubernetes version for this Kubernetes cluster in the format of major.minor (e.g. 1.21), and the latest supported patch version will be deployed.
	// The desired Kubernetes version for this Kubernetes cluster in the format of <major>.<minor>. The latest supported patch version will be deployed.
	K8SVersion *string `json:"k8sVersion,omitempty" tf:"k8s_version,omitempty"`

	// This Kubernetes cluster's unique label.
	// The unique label for the cluster.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// Additional nested attributes:
	// A node pool in the cluster.
	Pool []PoolInitParameters `json:"pool,omitempty" tf:"pool,omitempty"`

	// This Kubernetes cluster's location.
	// This cluster's location.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// An array of tags applied to the Kubernetes cluster. Tags are case-insensitive and are for organizational purposes only.
	// An array of tags applied to this object. Tags are for organizational purposes only.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ClusterInitParameters) DeepCopy added in v0.0.16

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

func (*ClusterInitParameters) DeepCopyInto added in v0.0.16

func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters)

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

type ClusterList

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

ClusterList contains a list of Clusters

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

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

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

func (*ClusterList) DeepCopyObject

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

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

func (*ClusterList) GetItems

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

GetItems of this ClusterList.

type ClusterObservation

type ClusterObservation struct {

	// The endpoints for the Kubernetes API server.
	// The API endpoints for the cluster.
	APIEndpoints []*string `json:"apiEndpoints,omitempty" tf:"api_endpoints,omitempty"`

	// Defines settings for the Kubernetes Control Plane.
	ControlPlane []ControlPlaneObservation `json:"controlPlane,omitempty" tf:"control_plane,omitempty"`

	// The Kubernetes Dashboard access URL for this cluster.
	// The dashboard URL of the cluster.
	DashboardURL *string `json:"dashboardUrl,omitempty" tf:"dashboard_url,omitempty"`

	// An array of tags indicating that node pools having those tags are defined with a separate linode_lke_node_pool resource, rather than inside the current cluster resource.
	// An array of tags indicating that node pools having those tags are defined with a separate nodepool resource, rather than inside the current cluster resource.
	// +listType=set
	ExternalPoolTags []*string `json:"externalPoolTags,omitempty" tf:"external_pool_tags,omitempty"`

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

	// The desired Kubernetes version for this Kubernetes cluster in the format of major.minor (e.g. 1.21), and the latest supported patch version will be deployed.
	// The desired Kubernetes version for this Kubernetes cluster in the format of <major>.<minor>. The latest supported patch version will be deployed.
	K8SVersion *string `json:"k8sVersion,omitempty" tf:"k8s_version,omitempty"`

	// This Kubernetes cluster's unique label.
	// The unique label for the cluster.
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// Additional nested attributes:
	// A node pool in the cluster.
	Pool []PoolObservation `json:"pool,omitempty" tf:"pool,omitempty"`

	// This Kubernetes cluster's location.
	// This cluster's location.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

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

	// An array of tags applied to the Kubernetes cluster. Tags are case-insensitive and are for organizational purposes only.
	// An array of tags applied to this object. Tags are for organizational purposes only.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,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 {

	// Defines settings for the Kubernetes Control Plane.
	// +kubebuilder:validation:Optional
	ControlPlane []ControlPlaneParameters `json:"controlPlane,omitempty" tf:"control_plane,omitempty"`

	// An array of tags indicating that node pools having those tags are defined with a separate linode_lke_node_pool resource, rather than inside the current cluster resource.
	// An array of tags indicating that node pools having those tags are defined with a separate nodepool resource, rather than inside the current cluster resource.
	// +kubebuilder:validation:Optional
	// +listType=set
	ExternalPoolTags []*string `json:"externalPoolTags,omitempty" tf:"external_pool_tags,omitempty"`

	// The desired Kubernetes version for this Kubernetes cluster in the format of major.minor (e.g. 1.21), and the latest supported patch version will be deployed.
	// The desired Kubernetes version for this Kubernetes cluster in the format of <major>.<minor>. The latest supported patch version will be deployed.
	// +kubebuilder:validation:Optional
	K8SVersion *string `json:"k8sVersion,omitempty" tf:"k8s_version,omitempty"`

	// This Kubernetes cluster's unique label.
	// The unique label for the cluster.
	// +kubebuilder:validation:Optional
	Label *string `json:"label,omitempty" tf:"label,omitempty"`

	// Additional nested attributes:
	// A node pool in the cluster.
	// +kubebuilder:validation:Optional
	Pool []PoolParameters `json:"pool,omitempty" tf:"pool,omitempty"`

	// This Kubernetes cluster's location.
	// This cluster's location.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// An array of tags applied to the Kubernetes cluster. Tags are case-insensitive and are for organizational purposes only.
	// An array of tags applied to this object. Tags are for organizational purposes only.
	// +kubebuilder:validation:Optional
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ClusterParameters) DeepCopy

func (in *ClusterParameters) DeepCopy() *ClusterParameters

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

func (*ClusterParameters) DeepCopyInto

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

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

type ClusterSpec

type ClusterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ClusterParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ClusterInitParameters `json:"initProvider,omitempty"`
}

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 ControlPlaneInitParameters added in v0.0.16

type ControlPlaneInitParameters struct {

	// Defines whether High Availability is enabled for the cluster Control Plane. This is an irreversible change.
	// Defines whether High Availability is enabled for the Control Plane Components of the cluster.
	HighAvailability *bool `json:"highAvailability,omitempty" tf:"high_availability,omitempty"`
}

func (*ControlPlaneInitParameters) DeepCopy added in v0.0.16

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

func (*ControlPlaneInitParameters) DeepCopyInto added in v0.0.16

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

type ControlPlaneObservation

type ControlPlaneObservation struct {

	// Defines whether High Availability is enabled for the cluster Control Plane. This is an irreversible change.
	// Defines whether High Availability is enabled for the Control Plane Components of the cluster.
	HighAvailability *bool `json:"highAvailability,omitempty" tf:"high_availability,omitempty"`
}

func (*ControlPlaneObservation) DeepCopy

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

func (*ControlPlaneObservation) DeepCopyInto

func (in *ControlPlaneObservation) DeepCopyInto(out *ControlPlaneObservation)

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

type ControlPlaneParameters

type ControlPlaneParameters struct {

	// Defines whether High Availability is enabled for the cluster Control Plane. This is an irreversible change.
	// Defines whether High Availability is enabled for the Control Plane Components of the cluster.
	// +kubebuilder:validation:Optional
	HighAvailability *bool `json:"highAvailability,omitempty" tf:"high_availability,omitempty"`
}

func (*ControlPlaneParameters) DeepCopy

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

func (*ControlPlaneParameters) DeepCopyInto

func (in *ControlPlaneParameters) DeepCopyInto(out *ControlPlaneParameters)

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

type NodePool added in v0.0.19

type NodePool struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
	Spec   NodePoolSpec   `json:"spec"`
	Status NodePoolStatus `json:"status,omitempty"`
}

NodePool is the Schema for the NodePools API. Manages a Linode Node Pool. +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:resource:scope=Cluster,categories={crossplane,managed,linode}

func (*NodePool) DeepCopy added in v0.0.19

func (in *NodePool) DeepCopy() *NodePool

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

func (*NodePool) DeepCopyInto added in v0.0.19

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 added in v0.0.19

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

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

func (*NodePool) GetCondition added in v0.0.19

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

GetCondition of this NodePool.

func (*NodePool) GetConnectionDetailsMapping added in v0.0.19

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

GetConnectionDetailsMapping for this NodePool

func (*NodePool) GetDeletionPolicy added in v0.0.19

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

GetDeletionPolicy of this NodePool.

func (*NodePool) GetID added in v0.0.19

func (tr *NodePool) GetID() string

GetID returns ID of underlying Terraform resource of this NodePool

func (*NodePool) GetInitParameters added in v0.0.19

func (tr *NodePool) GetInitParameters() (map[string]any, error)

GetInitParameters of this NodePool

func (*NodePool) GetManagementPolicies added in v0.0.19

func (mg *NodePool) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this NodePool.

func (*NodePool) GetMergedParameters added in v0.0.19

func (tr *NodePool) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this NodePool

func (*NodePool) GetObservation added in v0.0.19

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

GetObservation of this NodePool

func (*NodePool) GetParameters added in v0.0.19

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

GetParameters of this NodePool

func (*NodePool) GetProviderConfigReference added in v0.0.19

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

GetProviderConfigReference of this NodePool.

func (*NodePool) GetPublishConnectionDetailsTo added in v0.0.19

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

GetPublishConnectionDetailsTo of this NodePool.

func (*NodePool) GetTerraformResourceType added in v0.0.19

func (mg *NodePool) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this NodePool

func (*NodePool) GetTerraformSchemaVersion added in v0.0.19

func (tr *NodePool) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*NodePool) GetWriteConnectionSecretToReference added in v0.0.19

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

GetWriteConnectionSecretToReference of this NodePool.

func (*NodePool) Hub added in v0.0.19

func (tr *NodePool) Hub()

Hub marks this type as a conversion hub.

func (*NodePool) LateInitialize added in v0.0.19

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 added in v0.0.19

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

ResolveReferences of this NodePool.

func (*NodePool) SetConditions added in v0.0.19

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

SetConditions of this NodePool.

func (*NodePool) SetDeletionPolicy added in v0.0.19

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

SetDeletionPolicy of this NodePool.

func (*NodePool) SetManagementPolicies added in v0.0.19

func (mg *NodePool) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this NodePool.

func (*NodePool) SetObservation added in v0.0.19

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

SetObservation for this NodePool

func (*NodePool) SetParameters added in v0.0.19

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

SetParameters for this NodePool

func (*NodePool) SetProviderConfigReference added in v0.0.19

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

SetProviderConfigReference of this NodePool.

func (*NodePool) SetPublishConnectionDetailsTo added in v0.0.19

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

SetPublishConnectionDetailsTo of this NodePool.

func (*NodePool) SetWriteConnectionSecretToReference added in v0.0.19

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

SetWriteConnectionSecretToReference of this NodePool.

type NodePoolAutoscalerInitParameters added in v0.0.19

type NodePoolAutoscalerInitParameters struct {

	// The maximum number of nodes to autoscale to.
	Max *float64 `json:"max,omitempty" tf:"max,omitempty"`

	// The minimum number of nodes to autoscale to.
	Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}

func (*NodePoolAutoscalerInitParameters) DeepCopy added in v0.0.19

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

func (*NodePoolAutoscalerInitParameters) DeepCopyInto added in v0.0.19

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

type NodePoolAutoscalerObservation added in v0.0.19

type NodePoolAutoscalerObservation struct {

	// The maximum number of nodes to autoscale to.
	Max *float64 `json:"max,omitempty" tf:"max,omitempty"`

	// The minimum number of nodes to autoscale to.
	Min *float64 `json:"min,omitempty" tf:"min,omitempty"`
}

func (*NodePoolAutoscalerObservation) DeepCopy added in v0.0.19

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

func (*NodePoolAutoscalerObservation) DeepCopyInto added in v0.0.19

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

type NodePoolAutoscalerParameters added in v0.0.19

type NodePoolAutoscalerParameters struct {

	// The maximum number of nodes to autoscale to.
	// +kubebuilder:validation:Optional
	Max *float64 `json:"max" tf:"max,omitempty"`

	// The minimum number of nodes to autoscale to.
	// +kubebuilder:validation:Optional
	Min *float64 `json:"min" tf:"min,omitempty"`
}

func (*NodePoolAutoscalerParameters) DeepCopy added in v0.0.19

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

func (*NodePoolAutoscalerParameters) DeepCopyInto added in v0.0.19

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

type NodePoolInitParameters added in v0.0.19

type NodePoolInitParameters struct {
	Autoscaler []NodePoolAutoscalerInitParameters `json:"autoscaler,omitempty" tf:"autoscaler,omitempty"`

	// ID of the LKE Cluster where to create the current Node Pool.
	// The ID of the cluster to associate this node pool with.
	// +crossplane:generate:reference:type=Cluster
	ClusterID *float64 `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:"-"`

	// The number of nodes in the Node Pool. If undefined with an autoscaler the initial node count will equal the autoscaler minimum.
	// The number of nodes in the Node Pool.
	NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"`

	// An array of tags applied to the Node Pool. Tags are for organizational purposes only.
	// An array of tags applied to this object. Tags are for organizational purposes only.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A Linode Type for all of the nodes in the Node Pool. See all node types here.
	// The type of node pool.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*NodePoolInitParameters) DeepCopy added in v0.0.19

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

func (*NodePoolInitParameters) DeepCopyInto added in v0.0.19

func (in *NodePoolInitParameters) DeepCopyInto(out *NodePoolInitParameters)

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

type NodePoolList added in v0.0.19

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 added in v0.0.19

func (in *NodePoolList) DeepCopy() *NodePoolList

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

func (*NodePoolList) DeepCopyInto added in v0.0.19

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 added in v0.0.19

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

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

func (*NodePoolList) GetItems added in v0.0.19

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

GetItems of this NodePoolList.

type NodePoolNodesInitParameters added in v0.0.19

type NodePoolNodesInitParameters struct {
}

func (*NodePoolNodesInitParameters) DeepCopy added in v0.0.19

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

func (*NodePoolNodesInitParameters) DeepCopyInto added in v0.0.19

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

type NodePoolNodesObservation added in v0.0.19

type NodePoolNodesObservation struct {

	// The ID of the Node Pool within LKE Cluster.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The ID of the underlying Linode instance.
	InstanceID *float64 `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// The status of the node. (ready, not_ready)
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*NodePoolNodesObservation) DeepCopy added in v0.0.19

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

func (*NodePoolNodesObservation) DeepCopyInto added in v0.0.19

func (in *NodePoolNodesObservation) DeepCopyInto(out *NodePoolNodesObservation)

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

type NodePoolNodesParameters added in v0.0.19

type NodePoolNodesParameters struct {
}

func (*NodePoolNodesParameters) DeepCopy added in v0.0.19

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

func (*NodePoolNodesParameters) DeepCopyInto added in v0.0.19

func (in *NodePoolNodesParameters) DeepCopyInto(out *NodePoolNodesParameters)

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

type NodePoolObservation added in v0.0.19

type NodePoolObservation struct {
	Autoscaler []NodePoolAutoscalerObservation `json:"autoscaler,omitempty" tf:"autoscaler,omitempty"`

	// ID of the LKE Cluster where to create the current Node Pool.
	// The ID of the cluster to associate this node pool with.
	ClusterID *float64 `json:"clusterId,omitempty" tf:"cluster_id,omitempty"`

	// The ID of the Node Pool within LKE Cluster.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The number of nodes in the Node Pool. If undefined with an autoscaler the initial node count will equal the autoscaler minimum.
	// The number of nodes in the Node Pool.
	NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"`

	// A list of nodes in the node pool.
	Nodes []NodePoolNodesObservation `json:"nodes,omitempty" tf:"nodes,omitempty"`

	// An array of tags applied to the Node Pool. Tags are for organizational purposes only.
	// An array of tags applied to this object. Tags are for organizational purposes only.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A Linode Type for all of the nodes in the Node Pool. See all node types here.
	// The type of node pool.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*NodePoolObservation) DeepCopy added in v0.0.19

func (in *NodePoolObservation) DeepCopy() *NodePoolObservation

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

func (*NodePoolObservation) DeepCopyInto added in v0.0.19

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 added in v0.0.19

type NodePoolParameters struct {

	// +kubebuilder:validation:Optional
	Autoscaler []NodePoolAutoscalerParameters `json:"autoscaler,omitempty" tf:"autoscaler,omitempty"`

	// ID of the LKE Cluster where to create the current Node Pool.
	// The ID of the cluster to associate this node pool with.
	// +crossplane:generate:reference:type=Cluster
	// +kubebuilder:validation:Optional
	ClusterID *float64 `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:"-"`

	// The number of nodes in the Node Pool. If undefined with an autoscaler the initial node count will equal the autoscaler minimum.
	// The number of nodes in the Node Pool.
	// +kubebuilder:validation:Optional
	NodeCount *float64 `json:"nodeCount,omitempty" tf:"node_count,omitempty"`

	// An array of tags applied to the Node Pool. Tags are for organizational purposes only.
	// An array of tags applied to this object. Tags are for organizational purposes only.
	// +kubebuilder:validation:Optional
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A Linode Type for all of the nodes in the Node Pool. See all node types here.
	// The type of node pool.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*NodePoolParameters) DeepCopy added in v0.0.19

func (in *NodePoolParameters) DeepCopy() *NodePoolParameters

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

func (*NodePoolParameters) DeepCopyInto added in v0.0.19

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 added in v0.0.19

type NodePoolSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     NodePoolParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider NodePoolInitParameters `json:"initProvider,omitempty"`
}

NodePoolSpec defines the desired state of NodePool

func (*NodePoolSpec) DeepCopy added in v0.0.19

func (in *NodePoolSpec) DeepCopy() *NodePoolSpec

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

func (*NodePoolSpec) DeepCopyInto added in v0.0.19

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 added in v0.0.19

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

NodePoolStatus defines the observed state of NodePool.

func (*NodePoolStatus) DeepCopy added in v0.0.19

func (in *NodePoolStatus) DeepCopy() *NodePoolStatus

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

func (*NodePoolStatus) DeepCopyInto added in v0.0.19

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

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

type NodesInitParameters added in v0.0.16

type NodesInitParameters struct {
}

func (*NodesInitParameters) DeepCopy added in v0.0.16

func (in *NodesInitParameters) DeepCopy() *NodesInitParameters

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

func (*NodesInitParameters) DeepCopyInto added in v0.0.16

func (in *NodesInitParameters) DeepCopyInto(out *NodesInitParameters)

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

type NodesObservation

type NodesObservation struct {

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

	// The ID of the underlying Linode instance.
	InstanceID *float64 `json:"instanceId,omitempty" tf:"instance_id,omitempty"`

	// The 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.

type PoolInitParameters added in v0.0.16

type PoolInitParameters struct {

	// When specified, the number of nodes autoscales within the defined minimum and maximum values.
	Autoscaler []AutoscalerInitParameters `json:"autoscaler,omitempty" tf:"autoscaler,omitempty"`

	// The number of nodes in the Node Pool. If undefined with an autoscaler the initial node count will equal the autoscaler minimum.
	// The number of nodes in the Node Pool.
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// A Linode Type for all of the nodes in the Node Pool. See all node types here.
	// A Linode Type for all of the nodes in the Node Pool.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*PoolInitParameters) DeepCopy added in v0.0.16

func (in *PoolInitParameters) DeepCopy() *PoolInitParameters

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

func (*PoolInitParameters) DeepCopyInto added in v0.0.16

func (in *PoolInitParameters) DeepCopyInto(out *PoolInitParameters)

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

type PoolObservation

type PoolObservation struct {

	// When specified, the number of nodes autoscales within the defined minimum and maximum values.
	Autoscaler []AutoscalerObservation `json:"autoscaler,omitempty" tf:"autoscaler,omitempty"`

	// The number of nodes in the Node Pool. If undefined with an autoscaler the initial node count will equal the autoscaler minimum.
	// The number of nodes in the Node Pool.
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// The ID of the cluster.
	// The ID of the Node Pool.
	ID *float64 `json:"id,omitempty" tf:"id,omitempty"`

	// The nodes in the node pool.
	Nodes []NodesObservation `json:"nodes,omitempty" tf:"nodes,omitempty"`

	// A Linode Type for all of the nodes in the Node Pool. See all node types here.
	// A Linode Type for all of the nodes in the Node Pool.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*PoolObservation) DeepCopy

func (in *PoolObservation) DeepCopy() *PoolObservation

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

func (*PoolObservation) DeepCopyInto

func (in *PoolObservation) DeepCopyInto(out *PoolObservation)

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

type PoolParameters

type PoolParameters struct {

	// When specified, the number of nodes autoscales within the defined minimum and maximum values.
	// +kubebuilder:validation:Optional
	Autoscaler []AutoscalerParameters `json:"autoscaler,omitempty" tf:"autoscaler,omitempty"`

	// The number of nodes in the Node Pool. If undefined with an autoscaler the initial node count will equal the autoscaler minimum.
	// The number of nodes in the Node Pool.
	// +kubebuilder:validation:Optional
	Count *float64 `json:"count,omitempty" tf:"count,omitempty"`

	// A Linode Type for all of the nodes in the Node Pool. See all node types here.
	// A Linode Type for all of the nodes in the Node Pool.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*PoolParameters) DeepCopy

func (in *PoolParameters) DeepCopy() *PoolParameters

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

func (*PoolParameters) DeepCopyInto

func (in *PoolParameters) DeepCopyInto(out *PoolParameters)

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