Documentation ¶
Overview ¶
Package v1alpha1 contains managed resources for DigitalOcean kubernetes services such as Kubernetes Clusters. +kubebuilder:object:generate=true +groupName=kubernetes.do.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type DOContainerRegistry
- func (in *DOContainerRegistry) DeepCopy() *DOContainerRegistry
- func (in *DOContainerRegistry) DeepCopyInto(out *DOContainerRegistry)
- func (in *DOContainerRegistry) DeepCopyObject() runtime.Object
- func (mg *DOContainerRegistry) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *DOContainerRegistry) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *DOContainerRegistry) GetProviderConfigReference() *xpv1.Reference
- func (mg *DOContainerRegistry) GetProviderReference() *xpv1.Reference
- func (mg *DOContainerRegistry) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *DOContainerRegistry) SetConditions(c ...xpv1.Condition)
- func (mg *DOContainerRegistry) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DOContainerRegistry) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DOContainerRegistry) SetProviderReference(r *xpv1.Reference)
- func (mg *DOContainerRegistry) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DOContainerRegistryList
- type DOContainerRegistryObservation
- type DOContainerRegistryParameters
- type DOContainerRegistrySpec
- type DOContainerRegistryStatus
- type DOKubernetesCluster
- func (in *DOKubernetesCluster) DeepCopy() *DOKubernetesCluster
- func (in *DOKubernetesCluster) DeepCopyInto(out *DOKubernetesCluster)
- func (in *DOKubernetesCluster) DeepCopyObject() runtime.Object
- func (mg *DOKubernetesCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *DOKubernetesCluster) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *DOKubernetesCluster) GetProviderConfigReference() *xpv1.Reference
- func (mg *DOKubernetesCluster) GetProviderReference() *xpv1.Reference
- func (mg *DOKubernetesCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *DOKubernetesCluster) SetConditions(c ...xpv1.Condition)
- func (mg *DOKubernetesCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DOKubernetesCluster) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DOKubernetesCluster) SetProviderReference(r *xpv1.Reference)
- func (mg *DOKubernetesCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DOKubernetesClusterList
- type DOKubernetesClusterObservation
- type DOKubernetesClusterParameters
- type DOKubernetesClusterSpec
- type DOKubernetesClusterStatus
- type KubernetesClusterMaintenancePolicy
- type KubernetesClusterMaintenancePolicyObservation
- type KubernetesNode
- type KubernetesNodePool
- type KubernetesNodePoolObservation
- type KubernetesNodePoolTaint
- type KubernetesState
- type KubernetesStatus
- type Subscription
- type Tier
Constants ¶
const ( Group = "kubernetes.do.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( DOKubernetesClusterKind = reflect.TypeOf(DOKubernetesCluster{}).Name() DOKubernetesClusterGroupKind = schema.GroupKind{Group: Group, Kind: DOKubernetesClusterKind}.String() DOKubernetesClusterKindAPIVersion = DOKubernetesClusterKind + "." + SchemeGroupVersion.String() DOKubernetesClusterGroupVersionKind = SchemeGroupVersion.WithKind(DOKubernetesClusterKind) )
KubernetesCluster type metadata.
var ( DOContainerRegistryKind = reflect.TypeOf(DOContainerRegistry{}).Name() DOContainerRegistryGroupKind = schema.GroupKind{Group: Group, Kind: DOContainerRegistryKind}.String() DOContainerRegistryKindAPIVersion = DOContainerRegistryKind + "." + SchemeGroupVersion.String() DOContainerRegistryGroupVersionKind = SchemeGroupVersion.WithKind(DOContainerRegistryKind) )
DOContainerRegistry type metadata.
Functions ¶
This section is empty.
Types ¶
type DOContainerRegistry ¶ added in v0.2.0
type DOContainerRegistry struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DOContainerRegistrySpec `json:"spec"` Status DOContainerRegistryStatus `json:"status,omitempty"` }
A DOContainerRegistry is a managed resource that represents a DigitalOcean Container Registry. +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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,do}
func (*DOContainerRegistry) DeepCopy ¶ added in v0.2.0
func (in *DOContainerRegistry) DeepCopy() *DOContainerRegistry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DOContainerRegistry.
func (*DOContainerRegistry) DeepCopyInto ¶ added in v0.2.0
func (in *DOContainerRegistry) DeepCopyInto(out *DOContainerRegistry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DOContainerRegistry) DeepCopyObject ¶ added in v0.2.0
func (in *DOContainerRegistry) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DOContainerRegistry) GetCondition ¶ added in v0.2.0
func (mg *DOContainerRegistry) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DOContainerRegistry.
func (*DOContainerRegistry) GetDeletionPolicy ¶ added in v0.2.0
func (mg *DOContainerRegistry) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DOContainerRegistry.
func (*DOContainerRegistry) GetProviderConfigReference ¶ added in v0.2.0
func (mg *DOContainerRegistry) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this DOContainerRegistry.
func (*DOContainerRegistry) GetProviderReference ¶ added in v0.2.0
func (mg *DOContainerRegistry) GetProviderReference() *xpv1.Reference
GetProviderReference of this DOContainerRegistry. Deprecated: Use GetProviderConfigReference.
func (*DOContainerRegistry) GetWriteConnectionSecretToReference ¶ added in v0.2.0
func (mg *DOContainerRegistry) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DOContainerRegistry.
func (*DOContainerRegistry) SetConditions ¶ added in v0.2.0
func (mg *DOContainerRegistry) SetConditions(c ...xpv1.Condition)
SetConditions of this DOContainerRegistry.
func (*DOContainerRegistry) SetDeletionPolicy ¶ added in v0.2.0
func (mg *DOContainerRegistry) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DOContainerRegistry.
func (*DOContainerRegistry) SetProviderConfigReference ¶ added in v0.2.0
func (mg *DOContainerRegistry) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this DOContainerRegistry.
func (*DOContainerRegistry) SetProviderReference ¶ added in v0.2.0
func (mg *DOContainerRegistry) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this DOContainerRegistry. Deprecated: Use SetProviderConfigReference.
func (*DOContainerRegistry) SetWriteConnectionSecretToReference ¶ added in v0.2.0
func (mg *DOContainerRegistry) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DOContainerRegistry.
type DOContainerRegistryList ¶ added in v0.2.0
type DOContainerRegistryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DOContainerRegistry `json:"items"` }
DOContainerRegistryList contains a list of ContainerRegistrys.
func (*DOContainerRegistryList) DeepCopy ¶ added in v0.2.0
func (in *DOContainerRegistryList) DeepCopy() *DOContainerRegistryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DOContainerRegistryList.
func (*DOContainerRegistryList) DeepCopyInto ¶ added in v0.2.0
func (in *DOContainerRegistryList) DeepCopyInto(out *DOContainerRegistryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DOContainerRegistryList) DeepCopyObject ¶ added in v0.2.0
func (in *DOContainerRegistryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DOContainerRegistryList) GetItems ¶ added in v0.2.0
func (l *DOContainerRegistryList) GetItems() []resource.Managed
GetItems of this DOContainerRegistryList.
type DOContainerRegistryObservation ¶ added in v0.2.0
type DOContainerRegistryObservation struct { // A globally unique name for the container registry. // Must be lowercase and be composed only of numbers, letters and -, up to a limit of 63 characters. Name string `json:"name"` // A time value given in ISO8601 combined date and time format that represents when the registry was created. CreatedAt string `json:"createdAt"` // Slug of the region where registry data is stored. Region string `json:"region"` // The amount of storage used in the registry in bytes. StorageUsageBytes uint64 `json:"storageUsageBytes"` // The time at which the storage usage was updated. // Storage usage is calculated asynchronously, and may not immediately reflect pushes to the registry. StorageUsageBytesUpdatedAt string `json:"storageUsageBytesUpdatedAt"` // An object specifying the subscription for a Container Registry. Subscription Subscription `json:"subscription"` }
A DOContainerRegistryObservation reflects the observed state of a Container Registry on DigitalOcean.
func (*DOContainerRegistryObservation) DeepCopy ¶ added in v0.2.0
func (in *DOContainerRegistryObservation) DeepCopy() *DOContainerRegistryObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DOContainerRegistryObservation.
func (*DOContainerRegistryObservation) DeepCopyInto ¶ added in v0.2.0
func (in *DOContainerRegistryObservation) DeepCopyInto(out *DOContainerRegistryObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DOContainerRegistryParameters ¶ added in v0.2.0
type DOContainerRegistryParameters struct { // The slug of the subscription tier to sign up for. // Valid values can be retrieved using the options endpoint. SubscriptionTier string `json:"subscriptionTier"` // Slug of the region where registry data is stored. // When not provided, a region will be selected. // +immutable // +kubebuilder:validation:Optional Region *string `json:"region,omitempty"` }
DOContainerRegistryParameters define the desired state of a DigitalOcean Container Registry. Most fields map directly to a Containe rRegistry: https://docs.digitalocean.com/reference/api/api-reference/#tag/Container-Registry
func (*DOContainerRegistryParameters) DeepCopy ¶ added in v0.2.0
func (in *DOContainerRegistryParameters) DeepCopy() *DOContainerRegistryParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DOContainerRegistryParameters.
func (*DOContainerRegistryParameters) DeepCopyInto ¶ added in v0.2.0
func (in *DOContainerRegistryParameters) DeepCopyInto(out *DOContainerRegistryParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DOContainerRegistrySpec ¶ added in v0.2.0
type DOContainerRegistrySpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider DOContainerRegistryParameters `json:"forProvider"` }
A DOContainerRegistrySpec defines the desired state of a ContainerRegistry.
func (*DOContainerRegistrySpec) DeepCopy ¶ added in v0.2.0
func (in *DOContainerRegistrySpec) DeepCopy() *DOContainerRegistrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DOContainerRegistrySpec.
func (*DOContainerRegistrySpec) DeepCopyInto ¶ added in v0.2.0
func (in *DOContainerRegistrySpec) DeepCopyInto(out *DOContainerRegistrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DOContainerRegistryStatus ¶ added in v0.2.0
type DOContainerRegistryStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider DOContainerRegistryObservation `json:"atProvider,omitempty"` }
A DOContainerRegistryStatus represents the observed state of a ContainerRegistry.
func (*DOContainerRegistryStatus) DeepCopy ¶ added in v0.2.0
func (in *DOContainerRegistryStatus) DeepCopy() *DOContainerRegistryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DOContainerRegistryStatus.
func (*DOContainerRegistryStatus) DeepCopyInto ¶ added in v0.2.0
func (in *DOContainerRegistryStatus) DeepCopyInto(out *DOContainerRegistryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DOKubernetesCluster ¶
type DOKubernetesCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DOKubernetesClusterSpec `json:"spec"` Status DOKubernetesClusterStatus `json:"status,omitempty"` }
A DOKubernetesCluster is a managed resource that represents a DigitalOcean Kubernetes Cluster. +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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,do}
func (*DOKubernetesCluster) DeepCopy ¶
func (in *DOKubernetesCluster) DeepCopy() *DOKubernetesCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DOKubernetesCluster.
func (*DOKubernetesCluster) DeepCopyInto ¶
func (in *DOKubernetesCluster) DeepCopyInto(out *DOKubernetesCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DOKubernetesCluster) DeepCopyObject ¶
func (in *DOKubernetesCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DOKubernetesCluster) GetCondition ¶
func (mg *DOKubernetesCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DOKubernetesCluster.
func (*DOKubernetesCluster) GetDeletionPolicy ¶
func (mg *DOKubernetesCluster) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DOKubernetesCluster.
func (*DOKubernetesCluster) GetProviderConfigReference ¶
func (mg *DOKubernetesCluster) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this DOKubernetesCluster.
func (*DOKubernetesCluster) GetProviderReference ¶
func (mg *DOKubernetesCluster) GetProviderReference() *xpv1.Reference
GetProviderReference of this DOKubernetesCluster. Deprecated: Use GetProviderConfigReference.
func (*DOKubernetesCluster) GetWriteConnectionSecretToReference ¶
func (mg *DOKubernetesCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DOKubernetesCluster.
func (*DOKubernetesCluster) SetConditions ¶
func (mg *DOKubernetesCluster) SetConditions(c ...xpv1.Condition)
SetConditions of this DOKubernetesCluster.
func (*DOKubernetesCluster) SetDeletionPolicy ¶
func (mg *DOKubernetesCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DOKubernetesCluster.
func (*DOKubernetesCluster) SetProviderConfigReference ¶
func (mg *DOKubernetesCluster) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this DOKubernetesCluster.
func (*DOKubernetesCluster) SetProviderReference ¶
func (mg *DOKubernetesCluster) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this DOKubernetesCluster. Deprecated: Use SetProviderConfigReference.
func (*DOKubernetesCluster) SetWriteConnectionSecretToReference ¶
func (mg *DOKubernetesCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DOKubernetesCluster.
type DOKubernetesClusterList ¶
type DOKubernetesClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DOKubernetesCluster `json:"items"` }
DOKubernetesClusterList contains a list of KubernetesClusters.
func (*DOKubernetesClusterList) DeepCopy ¶
func (in *DOKubernetesClusterList) DeepCopy() *DOKubernetesClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DOKubernetesClusterList.
func (*DOKubernetesClusterList) DeepCopyInto ¶
func (in *DOKubernetesClusterList) DeepCopyInto(out *DOKubernetesClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DOKubernetesClusterList) DeepCopyObject ¶
func (in *DOKubernetesClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DOKubernetesClusterList) GetItems ¶
func (l *DOKubernetesClusterList) GetItems() []resource.Managed
GetItems of this DOKubernetesClusterList.
type DOKubernetesClusterObservation ¶
type DOKubernetesClusterObservation struct { // ID for the resource. This identifier is defined by the server. ID string `json:"id,omitempty"` // A human-readable name for a Kubernetes cluster. Name string `json:"name,omitempty"` // The slug identifier for the region where the Kubernetes cluster is located. Region string `json:"region,omitempty"` // The slug identifier for the version of Kubernetes used for the cluster. // If set to a minor version (e.g. "1.14"), the latest version within it will be used (e.g. "1.14.6-do.1"); // if set to "latest", the latest published version will be used. See the /v2/kubernetes/options endpoint // to find all currently available versions. Version string `json:"version,omitempty"` // The range of IP addresses in the overlay network of the Kubernetes cluster in CIDR notation. ClusterSubnet string `json:"clusterSubnet,omitempty"` // The range of assignable IP addresses for services running in the Kubernetes cluster in CIDR notation. ServiceSubnet string `json:"serviceSubnet,omitempty"` // A string specifying the UUID of the VPC to which the Kubernetes cluster is assigned. VPCUUID string `json:"vpcuuid,omitempty"` // The public IPv4 address of the Kubernetes master node. IPV4 string `json:"ipv4,omitempty"` // The base URL of the API server on the Kubernetes master node. Endpoint string `json:"endpoint,omitempty"` // An array of tags applied to the Kubernetes cluster. All clusters are automatically tagged k8s and k8s:$K8S_CLUSTER_ID. Tags []string `json:"tags,omitempty"` // An array of objects specifying the details of the worker nodes available to the Kubernetes cluster. NodePools []KubernetesNodePoolObservation `json:"nodePools,omitempty"` // An object specifying the maintenance window policy for the Kubernetes cluster. MaintenancePolicy KubernetesClusterMaintenancePolicyObservation `json:"maintenancePolicy,omitempty"` // A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window. AutoUpgrade bool `json:"autoUpgrade,omitempty"` // An object containing a state attribute whose value is set to a string indicating the current status of the cluster. Status KubernetesStatus `json:"status,omitempty"` // A time value given in ISO8601 combined date and time format that represents when the Kubernetes cluster was created. CreatedAt string `json:"createdAt,omitempty"` // A time value given in ISO8601 combined date and time format that represents when the Kubernetes cluster was last updated. UpdatedAt string `json:"updatedAt,omitempty"` // A boolean value indicating whether surge upgrade is enabled/disabled for the cluster. Surge upgrade makes cluster upgrades fast and reliable by bringing up new nodes before destroying the outdated nodes. SurgeUpgrade bool `json:"surgeUpgrade,omitempty"` // A boolean value indicating whether the control plane is run in a highly available configuration in the cluster. Highly available control planes incur less downtime. HighlyAvailable bool `json:"highlyAvailable,omitempty"` // A read-only boolean value indicating if a container registry is integrated with the cluster. RegistryEnabled bool `json:"registryEnabled,omitempty"` }
DOKubernetesClusterObservation reflects the observed state of a KubernetesCluster on DigitalOcean. See docs https://docs.digitalocean.com/reference/api/api-reference/#operation/create_kubernetes_cluster
func (*DOKubernetesClusterObservation) DeepCopy ¶
func (in *DOKubernetesClusterObservation) DeepCopy() *DOKubernetesClusterObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DOKubernetesClusterObservation.
func (*DOKubernetesClusterObservation) DeepCopyInto ¶
func (in *DOKubernetesClusterObservation) DeepCopyInto(out *DOKubernetesClusterObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DOKubernetesClusterParameters ¶
type DOKubernetesClusterParameters struct { // The slug identifier for the region where the Kubernetes cluster is located. Region string `json:"region"` // The slug identifier for the version of Kubernetes used for the cluster. // If set to a minor version (e.g. "1.14"), the latest version within it will be used (e.g. "1.14.6-do.1"); // if set to "latest", the latest published version will be used. See the /v2/kubernetes/options endpoint // to find all currently available versions. Version string `json:"version"` // A string specifying the UUID of the VPC to which the Kubernetes cluster is assigned. // +kubebuilder:validation:Optional VPCUUID *string `json:"vpcuui,omitempty"` // An array of tags applied to the Kubernetes cluster. All clusters are automatically tagged k8s and k8s:$K8S_CLUSTER_ID. // +kubebuilder:validation:Optional Tags []string `json:"tags,omitempty"` // An array of objects specifying the details of the worker nodes available to the Kubernetes cluster. NodePools []KubernetesNodePool `json:"nodePools"` // An object specifying the maintenance window policy for the Kubernetes cluster. // +kubebuilder:validation:Optional MaintenancePolicy *KubernetesClusterMaintenancePolicy `json:"maintenancePolicy,omitempty"` // A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window. // +kubebuilder:validation:Optional AutoUpgrade *bool `json:"autoUpgrade,omitempty"` // A boolean value indicating whether surge upgrade is enabled/disabled for the cluster. Surge upgrade makes cluster upgrades fast and reliable by bringing up new nodes before destroying the outdated nodes. // +kubebuilder:validation:Optional SurgeUpgrade *bool `json:"surgeUpgrade,omitempty"` // A boolean value indicating whether the control plane is run in a highly available configuration in the cluster. Highly available control planes incur less downtime. // +kubebuilder:validation:Optional HighlyAvailable *bool `json:"highlyAvailable,omitempty"` }
DOKubernetesClusterParameters define the desired state of a DigitalOcean Kubernetes Cluster Most fields map directly to a KubernetesCluster. See docs https://docs.digitalocean.com/reference/api/api-reference/#operation/create_kubernetes_cluster
func (*DOKubernetesClusterParameters) DeepCopy ¶
func (in *DOKubernetesClusterParameters) DeepCopy() *DOKubernetesClusterParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DOKubernetesClusterParameters.
func (*DOKubernetesClusterParameters) DeepCopyInto ¶
func (in *DOKubernetesClusterParameters) DeepCopyInto(out *DOKubernetesClusterParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DOKubernetesClusterSpec ¶
type DOKubernetesClusterSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider DOKubernetesClusterParameters `json:"forProvider"` }
A DOKubernetesClusterSpec defines the desired state of a KubernetesCluster.
func (*DOKubernetesClusterSpec) DeepCopy ¶
func (in *DOKubernetesClusterSpec) DeepCopy() *DOKubernetesClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DOKubernetesClusterSpec.
func (*DOKubernetesClusterSpec) DeepCopyInto ¶
func (in *DOKubernetesClusterSpec) DeepCopyInto(out *DOKubernetesClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DOKubernetesClusterStatus ¶
type DOKubernetesClusterStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider DOKubernetesClusterObservation `json:"atProvider,omitempty"` }
A DOKubernetesClusterStatus represents the observed state of a KubernetesCluster.
func (*DOKubernetesClusterStatus) DeepCopy ¶
func (in *DOKubernetesClusterStatus) DeepCopy() *DOKubernetesClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DOKubernetesClusterStatus.
func (*DOKubernetesClusterStatus) DeepCopyInto ¶
func (in *DOKubernetesClusterStatus) DeepCopyInto(out *DOKubernetesClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesClusterMaintenancePolicy ¶
type KubernetesClusterMaintenancePolicy struct { // The start time in UTC of the maintenance window policy in 24-hour clock format / HH:MM notation (e.g., 15:00). // +kubebuilder:validation:Optional StartTime string `json:"startTime,omitempty"` // The day of the maintenance window policy. May be one of monday through sunday, or any to indicate an arbitrary week day. // +kubebuilder:validation:Optional // +kubebuilder:validation:Enum=monday;tuesday;wednesday;thursday;friday;saturday;sunday Day string `json:"day,omitempty"` }
KubernetesClusterMaintenancePolicy represents a Maintenance Policy to be applied to a Kubernetes Cluster on DigitalOcean
func (*KubernetesClusterMaintenancePolicy) DeepCopy ¶
func (in *KubernetesClusterMaintenancePolicy) DeepCopy() *KubernetesClusterMaintenancePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesClusterMaintenancePolicy.
func (*KubernetesClusterMaintenancePolicy) DeepCopyInto ¶
func (in *KubernetesClusterMaintenancePolicy) DeepCopyInto(out *KubernetesClusterMaintenancePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesClusterMaintenancePolicyObservation ¶
type KubernetesClusterMaintenancePolicyObservation struct { Policy KubernetesClusterMaintenancePolicy `json:",inline"` // The duration of the maintenance window policy in human-readable format. // +kubebuilder:validation:Optional Duration string `json:"duration,omitempty"` }
KubernetesClusterMaintenancePolicyObservation is the observed state of KubernetesClusterMaintenancePolicy
func (*KubernetesClusterMaintenancePolicyObservation) DeepCopy ¶
func (in *KubernetesClusterMaintenancePolicyObservation) DeepCopy() *KubernetesClusterMaintenancePolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesClusterMaintenancePolicyObservation.
func (*KubernetesClusterMaintenancePolicyObservation) DeepCopyInto ¶
func (in *KubernetesClusterMaintenancePolicyObservation) DeepCopyInto(out *KubernetesClusterMaintenancePolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesNode ¶
type KubernetesNode struct { // A unique ID that can be used to identify and reference the node. // +kubebuilder:validation:Optional ID string `json:"id,omitempty"` // An automatically generated, human-readable name for the node. // +kubebuilder:validation:Optional Name string `json:"name,omitempty"` // An object containing a state attribute whose value is set to a string indicating the current status of the node. // +kubebuilder:validation:Optional Status KubernetesStatus `json:"status,omitempty"` // The ID of the Droplet used for the worker node. // +kubebuilder:validation:Optional DropletID string `json:"dropletID,omitempty"` // A time value given in ISO8601 combined date and time format that represents when the node was created. // +kubebuilder:validation:Optional CreatedAt string `json:"createdAt,omitempty"` // A time value given in ISO8601 combined date and time format that represents when the node was last updated. // +kubebuilder:validation:Optional UpdatedAt string `json:"updatedAt,omitempty"` }
KubernetesNode represents a Node inside of a KubernetesNodePool
func (*KubernetesNode) DeepCopy ¶
func (in *KubernetesNode) DeepCopy() *KubernetesNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesNode.
func (*KubernetesNode) DeepCopyInto ¶
func (in *KubernetesNode) DeepCopyInto(out *KubernetesNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesNodePool ¶
type KubernetesNodePool struct { // The slug identifier for the type of Droplet used as workers in the node pool. Size string `json:"size"` // A human-readable name for the node pool. Name string `json:"name"` // The number of Droplet instances in the node pool. Count int `json:"count"` // An array containing the tags applied to the node pool. All node pools are automatically tagged k8s, k8s-worker, and k8s:$K8S_CLUSTER_ID. // +kubebuilder:validation:Optional Tags []string `json:"tags,omitempty"` // An object containing a set of Kubernetes labels. The keys and are values are both user-defined. // +kubebuilder:validation:Optional Labels map[string]string `json:"labels,omitempty"` // An array of taints to apply to all nodes in a pool. // +kubebuilder:validation:Optional Taints []KubernetesNodePoolTaint `json:"taints,omitempty"` // A boolean value indicating whether auto-scaling is enabled for this node pool. // +kubebuilder:validation:Optional AutoScale bool `json:"autoScale,omitempty"` // The minimum number of nodes that this node pool can be auto-scaled to. The value will be 0 if auto_scale is set to false. // +kubebuilder:validation:Optional MinNodes int `json:"minNodes,omitempty"` // The maximum number of nodes that this node pool can be auto-scaled to. The value will be 0 if auto_scale is set to false. // +kubebuilder:validation:Optional MaxNodes int `json:"maxNodes,omitempty"` }
KubernetesNodePool represents a node pool that makes up a Kubernetes Cluster
func (*KubernetesNodePool) DeepCopy ¶
func (in *KubernetesNodePool) DeepCopy() *KubernetesNodePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesNodePool.
func (*KubernetesNodePool) DeepCopyInto ¶
func (in *KubernetesNodePool) DeepCopyInto(out *KubernetesNodePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesNodePoolObservation ¶
type KubernetesNodePoolObservation struct { // A unique ID that can be used to identify and reference a specific node pool. ID string `json:"id,omitempty"` // The slug identifier for the type of Droplet used as workers in the node pool. Size string `json:"size,omitempty"` // A human-readable name for the node pool. Name string `json:"name,omitempty"` // The number of Droplet instances in the node pool. Count int `json:"count,omitempty"` // An array containing the tags applied to the node pool. All node pools are automatically tagged k8s, k8s-worker, and k8s:$K8S_CLUSTER_ID. // +kubebuilder:validation:Optional Tags []string `json:"tags,omitempty"` // An object containing a set of Kubernetes labels. The keys and are values are both user-defined. // +kubebuilder:validation:Optional Labels map[string]string `json:"labels,omitempty"` // An array of taints to apply to all nodes in a pool. // +kubebuilder:validation:Optional Taints []KubernetesNodePoolTaint `json:"taints,omitempty"` // A boolean value indicating whether auto-scaling is enabled for this node pool. // +kubebuilder:validation:Optional AutoScale bool `json:"autoScale,omitempty"` // The minimum number of nodes that this node pool can be auto-scaled to. The value will be 0 if auto_scale is set to false. // +kubebuilder:validation:Optional MinNodes int `json:"minNodes,omitempty"` // The maximum number of nodes that this node pool can be auto-scaled to. The value will be 0 if auto_scale is set to false. // +kubebuilder:validation:Optional MaxNodes int `json:"maxNodes,omitempty"` // An object specifying the details of a specific worker node in a node pool. Nodes []KubernetesNode `json:"nodes,omitempty"` }
KubernetesNodePoolObservation represents the observed state of KubernetesNodePool
func (*KubernetesNodePoolObservation) DeepCopy ¶
func (in *KubernetesNodePoolObservation) DeepCopy() *KubernetesNodePoolObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesNodePoolObservation.
func (*KubernetesNodePoolObservation) DeepCopyInto ¶
func (in *KubernetesNodePoolObservation) DeepCopyInto(out *KubernetesNodePoolObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesNodePoolTaint ¶
type KubernetesNodePoolTaint struct { // An arbitrary string. The key and value fields of the taint object form a key-value pair. // For example, if the value of the key field is "special" and the value of the value field is "gpu", // the key value pair would be special=gpu. // +kubebuilder:validation:Optional Key string `json:"key,omitempty"` // An arbitrary string. The key and value fields of the taint object form a key-value pair. // For example, if the value of the key field is "special" and the value of the value field is "gpu", // the key value pair would be special=gpu. // +kubebuilder:validation:Optional Value string `json:"value,omitempty"` // How the node reacts to pods that it won't tolerate. Available effect values are NoSchedule, PreferNoSchedule, and NoExecute. // +kubebuilder:validation:Optional Effect string `json:"effect,omitempty"` }
KubernetesNodePoolTaint represents a Kubernetes Node Pool Taint. Taints will automatically be applied to all existing nodes and any subsequent nodes added to the pool. When a taint is removed, it is removed from all nodes in the pool
func (*KubernetesNodePoolTaint) DeepCopy ¶
func (in *KubernetesNodePoolTaint) DeepCopy() *KubernetesNodePoolTaint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesNodePoolTaint.
func (*KubernetesNodePoolTaint) DeepCopyInto ¶
func (in *KubernetesNodePoolTaint) DeepCopyInto(out *KubernetesNodePoolTaint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubernetesState ¶ added in v0.2.0
type KubernetesState string
KubernetesState are the various states that the DOKubernetesCluster and it's components can be in
const ( KubernetesStateRunning KubernetesState = "running" KubernetesStateProvisioning KubernetesState = "provisioning" KubernetesStateDegraded KubernetesState = "degraded" KubernetesStateError KubernetesState = "error" KubernetesStateDeleted KubernetesState = "deleted" KubernetesStateUpgrading KubernetesState = "upgrading" KubernetesStateDeleting KubernetesState = "deleting" )
Known Kubernetes Cluster Statuses
type KubernetesStatus ¶
type KubernetesStatus struct { // A string indicating the current status of the node. // +kubebuilder:validation:Optional State KubernetesState `json:"state,omitempty"` // A message relating to the current state // +kubebuilder:validation:Optional Message string `json:"message,omitempty"` }
KubernetesStatus represents the status of a Kubernetes Cluster
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 Subscription ¶ added in v0.2.0
type Subscription struct { // An object specifying the subscription tier for a Container Registry. Tier Tier `json:"tier"` // The time at which the subscription was created. CreatedAt string `json:"createdAt"` // The time at which the subscription was last updated. UpdatedAt string `json:"updatedAt"` }
The Subscription defines a subscription for a Container Registry.
func (*Subscription) DeepCopy ¶ added in v0.2.0
func (in *Subscription) DeepCopy() *Subscription
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subscription.
func (*Subscription) DeepCopyInto ¶ added in v0.2.0
func (in *Subscription) DeepCopyInto(out *Subscription)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Tier ¶ added in v0.2.0
type Tier struct { // The name of the subscription tier. Name string `json:"name"` // The slug identifier of the subscription tier. Slug string `json:"slug"` // The number of repositories included in the subscription tier. // 0 indicates that the subscription tier includes unlimited repositories. IncludedRepositories uint64 `json:"includedRepositories"` // The amount of storage included in the subscription tier in bytes. IncludedStorageBytes uint64 `json:"includedStorageBytes"` // A boolean indicating whether the subscription tier supports // additional storage above what is included in the base plan at an additional cost per GiB used. AllowStorageOverage bool `json:"allowStorageOverage"` // The amount of outbound data transfer included in the subscription tier in bytes. IncludedBandwidthBytes uint64 `json:"includedBandwidthBytes"` // The monthly cost of the subscription tier in cents. MonthlyPriceInCents uint64 `json:"monthlyPriceInCents"` }
The Tier defines a subscription tier for a Container Registry.
func (*Tier) DeepCopy ¶ added in v0.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tier.
func (*Tier) DeepCopyInto ¶ added in v0.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.