v1beta2

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Overview

Package v1beta2 contains API Schema definitions for the infrastructure v1beta2 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io

Index

Constants

View Source
const (
	// DevClusterReadyCondition is true if
	// - The DevCluster's is using a docker backend and LoadBalancerAvailable is true.
	DevClusterReadyCondition = clusterv1.ReadyCondition

	// DevClusterReadyReason surfaces when the DevCluster readiness criteria is met.
	DevClusterReadyReason = clusterv1.ReadyReason

	// DevClusterNotReadyReason surfaces when the DevCluster readiness criteria is not met.
	DevClusterNotReadyReason = clusterv1.NotReadyReason

	// DevClusterReadyUnknownReason surfaces when at least one DevCluster readiness criteria is unknown
	// and no DevCluster readiness criteria is not met.
	DevClusterReadyUnknownReason = clusterv1.ReadyUnknownReason
)

DevCluster's Ready condition and corresponding reasons.

View Source
const (
	// DevClusterDockerLoadBalancerAvailableCondition documents the availability of the container that implements
	// the load balancer for a DevCluster's docker backend..
	DevClusterDockerLoadBalancerAvailableCondition string = "LoadBalancerAvailable"

	// DevClusterDockerLoadBalancerNotAvailableReason surfaces when the container that implements
	// the load balancer for a DevCluster's docker backend is not available.
	DevClusterDockerLoadBalancerNotAvailableReason = clusterv1.NotAvailableReason

	// DevClusterDockerLoadBalancerAvailableReason surfaces when the container that implements
	// the load balancer for a DevCluster's docker backend is available.
	DevClusterDockerLoadBalancerAvailableReason = clusterv1.AvailableReason

	// DevClusterDockerLoadBalancerDeletingReason surfaces when the container that implements
	// the load balancer for a DevCluster's docker backend is deleting.
	DevClusterDockerLoadBalancerDeletingReason = clusterv1.DeletingReason
)

LoadBalancerAvailable condition and corresponding reasons for a DevCluster's docker backend.

View Source
const (
	// VMProvisionedCondition documents the status of the provisioning VM implementing the InMemoryMachine.
	VMProvisionedCondition clusterv1.ConditionType = "VMProvisioned"

	// WaitingControlPlaneInitializedReason (Severity=Info) documents an InMemoryMachine VM waiting
	// for the control plane to be initialized.
	WaitingControlPlaneInitializedReason = "WaitingControlPlaneInitialized"

	// VMWaitingForStartupTimeoutReason (Severity=Info) documents a InMemoryMachine VM provisioning.
	VMWaitingForStartupTimeoutReason = "WaitingForStartupTimeout"
)
View Source
const (
	// NodeProvisionedCondition documents the status of the provisioning of the node hosted on the InMemoryMachine.
	NodeProvisionedCondition clusterv1.ConditionType = "NodeProvisioned"

	// NodeWaitingForStartupTimeoutReason (Severity=Info) documents a InMemoryMachine Node provisioning.
	NodeWaitingForStartupTimeoutReason = "WaitingForStartupTimeout"
)
View Source
const (
	// EtcdProvisionedCondition documents the status of the provisioning of the etcd member hosted on the InMemoryMachine.
	EtcdProvisionedCondition clusterv1.ConditionType = "EtcdProvisioned"

	// EtcdWaitingForStartupTimeoutReason (Severity=Info) documents a InMemoryMachine etcd pod provisioning.
	EtcdWaitingForStartupTimeoutReason = "WaitingForStartupTimeout"
)
View Source
const (
	// APIServerProvisionedCondition documents the status of the provisioning of the APIServer instance hosted on the InMemoryMachine.
	APIServerProvisionedCondition clusterv1.ConditionType = "APIServerProvisioned"

	// APIServerWaitingForStartupTimeoutReason (Severity=Info) documents a InMemoryMachine API server pod provisioning.
	APIServerWaitingForStartupTimeoutReason = "WaitingForStartupTimeout"
)
View Source
const (
	// DevMachineReadyCondition is true if
	// - The DevMachine's is using a docker backend and LoadBalancerAvailable is true.
	// - The DevMachine's is using an in memory backend and VMProvisioned, NodeProvisioned,
	//	 EtcdProvisioned (if present) and APIServerProvisioned (if present) conditions are true
	DevMachineReadyCondition = clusterv1.ReadyCondition

	// DevMachineReadyReason surfaces when the DevMachine readiness criteria is met.
	DevMachineReadyReason = clusterv1.ReadyReason

	// DevMachineNotReadyReason surfaces when the DevMachine readiness criteria is not met.
	DevMachineNotReadyReason = clusterv1.NotReadyReason

	// DevMachineReadyUnknownReason surfaces when at least one DevMachine readiness criteria is unknown
	// and no DevMachine readiness criteria is not met.
	DevMachineReadyUnknownReason = clusterv1.ReadyUnknownReason
)

DevMachine's Ready condition and corresponding reasons.

View Source
const (
	// DevMachineDockerContainerProvisionedCondition documents the status of the provisioning of the container
	// generated by a DevMachine's docker backend.
	//
	// NOTE as a difference from other providers, container provisioning and bootstrap are directly managed
	// by the DevMachine's docker backend controller (not by cloud-init).
	DevMachineDockerContainerProvisionedCondition string = "ContainerProvisioned"

	// DevMachineDockerContainerWaitingForClusterInfrastructureReadyReason documents the container for a DevMachine's docker backend waiting for the cluster
	// infrastructure to be ready.
	DevMachineDockerContainerWaitingForClusterInfrastructureReadyReason = clusterv1.WaitingForClusterInfrastructureReadyReason

	// DevMachineDockerContainerWaitingForControlPlaneInitializedReason documents a container for a DevMachine's docker backend waiting
	// for the control plane to be initialized.
	DevMachineDockerContainerWaitingForControlPlaneInitializedReason = clusterv1.WaitingForControlPlaneInitializedReason

	// DevMachineDockerContainerWaitingForBootstrapDataReason documents a container for a DevMachine's docker backend waiting for the bootstrap
	// data to be ready.
	DevMachineDockerContainerWaitingForBootstrapDataReason = clusterv1.WaitingForBootstrapDataReason

	// DevMachineDockerContainerProvisionedReason documents the container for a DevMachine's docker backend is provisioned.
	DevMachineDockerContainerProvisionedReason = clusterv1.ProvisionedReason

	// DevMachineDockerContainerNotProvisionedReason documents the container for a DevMachine's docker
	// backend is not provisioned.
	DevMachineDockerContainerNotProvisionedReason = clusterv1.NotProvisionedReason

	// DevMachineDockerContainerDeletingReason surfaces when the container for a DevMachine's docker
	// backend is deleting.
	DevMachineDockerContainerDeletingReason = clusterv1.DeletingReason
)

ContainerProvisioned condition and corresponding reasons for a DevMachine's docker backend.

View Source
const (
	// DevMachineDockerContainerBootstrapExecSucceededCondition provides an observation of the DevMachine's docker backend bootstrap process.
	// It is set based on successful execution of bootstrap commands and on the existence of
	// the /run/cluster-api/bootstrap-success.complete file.
	// The condition gets generated after ContainerProvisioned condition is True.
	//
	// NOTE as a difference from other providers, container provisioning and bootstrap are directly managed
	// by the DevMachine's docker backend controller (not by cloud-init).
	DevMachineDockerContainerBootstrapExecSucceededCondition string = "BootstrapExecSucceeded"

	// DevMachineDockerContainerBootstrapExecSucceededReason documents the container for a DevMachine's docker backend having
	// completed bootstrap exec commands.
	DevMachineDockerContainerBootstrapExecSucceededReason string = "Succeeded"

	// DevMachineDockerContainerBootstrapExecNotSucceededReason documents the container for a DevMachine's docker backend not having
	// completed bootstrap exec commands.
	DevMachineDockerContainerBootstrapExecNotSucceededReason string = "NotSucceeded"
)

BootstrapExecSucceeded condition and corresponding reasons for a DevMachine's docker backend.

View Source
const (
	// DevMachineInMemoryVMProvisionedCondition documents the status of the provisioning of a fake VM for a DevMachine's in memory backend.
	DevMachineInMemoryVMProvisionedCondition string = "VMProvisioned"

	// DevMachineInMemoryVMWaitingForClusterInfrastructureReason documents a fake VM for a DevMachine's in memory backend waiting for the cluster
	// infrastructure to be ready.
	DevMachineInMemoryVMWaitingForClusterInfrastructureReason = clusterv1.WaitingForClusterInfrastructureReadyReason

	// DevMachineInMemoryVMWaitingForControlPlaneInitializedReason documents a fake VM for a DevMachine's in memory backend waiting
	// for the control plane to be initialized.
	DevMachineInMemoryVMWaitingForControlPlaneInitializedReason = clusterv1.WaitingForControlPlaneInitializedReason

	// DevMachineInMemoryVMWaitingForBootstrapDataReason documents a fake VM for a DevMachine's in memory backend waiting for the bootstrap
	// data to be ready.
	DevMachineInMemoryVMWaitingForBootstrapDataReason = clusterv1.WaitingForBootstrapDataReason

	// DevMachineInMemoryVMWaitingForStartupTimeoutReason documents when the infrastructure for a fake VM for a DevMachine's in memory backend
	// is provisioning (it waits for a startup timeout).
	DevMachineInMemoryVMWaitingForStartupTimeoutReason = "WaitingForStartupTimeout"

	// DevMachineInMemoryVMProvisionedReason documents when a fake VM for a DevMachine's in memory backend is fully provisioned.
	DevMachineInMemoryVMProvisionedReason = clusterv1.ProvisionedReason

	// DevMachineInMemoryVMInternalErrorReason surfaces unexpected error when reconciling a fake VM for a DevMachine's in memory backend.
	DevMachineInMemoryVMInternalErrorReason = clusterv1.InternalErrorReason
)

VirtualMachineProvisioned condition and corresponding reasons for a DevMachine's in memory backend.

View Source
const (
	// DevMachineInMemoryNodeProvisionedCondition documents the status of the provisioning of the node hosted on the DevMachine's in memory backend.
	DevMachineInMemoryNodeProvisionedCondition string = "NodeProvisioned"

	// DevMachineInMemoryNodeWaitingForVMProvisionedReason documents a fake Node for a DevMachine's in memory backend waiting for the VM
	// to be provisioned.
	DevMachineInMemoryNodeWaitingForVMProvisionedReason = "WaitingForVMProvisioned"

	// DevMachineInMemoryNodeWaitingForStartupTimeoutReason documents when the fake Node for a DevMachine's in memory backend
	// is provisioning (it waits for a startup timeout).
	DevMachineInMemoryNodeWaitingForStartupTimeoutReason = "WaitingForStartupTimeout"

	// DevMachineInMemoryNodeProvisionedReason documents when a fake Node for a DevMachine's in memory backend is fully provisioned.
	DevMachineInMemoryNodeProvisionedReason = clusterv1.ProvisionedReason

	// DevMachineInMemoryNodeInternalErrorReason surfaces unexpected error when reconciling a fake Node for a DevMachine's in memory backend.
	DevMachineInMemoryNodeInternalErrorReason = clusterv1.InternalErrorReason
)

NodeProvisioned condition and corresponding reasons for a DevMachine's in memory backend.

View Source
const (
	// DevMachineInMemoryEtcdProvisionedCondition documents the status of the etcd instance hosted on the DevMachine's in memory backend.
	DevMachineInMemoryEtcdProvisionedCondition string = "EtcdProvisioned"

	// DevMachineInMemoryEtcdWaitingForVMProvisionedReason documents a fake Etcd for a DevMachine's in memory backend waiting for the VM
	// to be provisioned.
	DevMachineInMemoryEtcdWaitingForVMProvisionedReason = "WaitingForVMProvisioned"

	// DevMachineInMemoryEtcdWaitingForNodeProvisionedReason documents a fake Etcd for a DevMachine's in memory backend waiting for the Node
	// to be provisioned.
	DevMachineInMemoryEtcdWaitingForNodeProvisionedReason = "WaitingForNodeProvisioned"

	// DevMachineInMemoryEtcdWaitingForStartupTimeoutReason documents when the fake Etcd for a DevMachine's in memory backend
	// is provisioning (it waits for a startup timeout).
	DevMachineInMemoryEtcdWaitingForStartupTimeoutReason = "WaitingForStartupTimeout"

	// DevMachineInMemoryEtcdProvisionedReason documents when a fake Etcd for a DevMachine's in memory backend is fully provisioned.
	DevMachineInMemoryEtcdProvisionedReason = clusterv1.ProvisionedReason

	// DevMachineInMemoryEtcdInternalErrorReason surfaces unexpected error when reconciling a fake Etcd for a DevMachine's in memory backend.
	DevMachineInMemoryEtcdInternalErrorReason = clusterv1.InternalErrorReason
)

EtcdProvisioned condition and corresponding reasons for a DevMachine's in memory backend.

View Source
const (
	// DevMachineInMemoryAPIServerProvisionedCondition documents the status of the provisioning of the APIServer instance hosted on the DevMachine's in memory backend.
	DevMachineInMemoryAPIServerProvisionedCondition string = "APIServerProvisioned"

	// DevMachineInMemoryAPIServerWaitingForVMProvisionedReason documents a fake APIServer for a DevMachine's in memory backend waiting for the VM
	// to be provisioned.
	DevMachineInMemoryAPIServerWaitingForVMProvisionedReason = "WaitingForVMProvisioned"

	// DevMachineInMemoryAPIServerWaitingForNodeProvisionedReason documents a fake APIServer for a DevMachine's in memory backend waiting for the Node
	// to be provisioned.
	DevMachineInMemoryAPIServerWaitingForNodeProvisionedReason = "WaitingForNodeProvisioned"

	// DevMachineInMemoryAPIServerWaitingForStartupTimeoutReason documents when the infrastructure for a fake APIServer for a DevMachine's in memory backend provisioning.
	DevMachineInMemoryAPIServerWaitingForStartupTimeoutReason = "WaitingForStartupTimeout"

	// DevMachineInMemoryAPIServerProvisionedReason documents when a fake APIServer for a DevMachine's in memory backend is fully provisioned.
	DevMachineInMemoryAPIServerProvisionedReason = clusterv1.ProvisionedReason

	// DevMachineInMemoryAPIServerInternalErrorReason surfaces unexpected error when reconciling a fake APIServer for a DevMachine's in memory backend.
	DevMachineInMemoryAPIServerInternalErrorReason = clusterv1.InternalErrorReason
)

APIServerProvisioned condition and corresponding reasons for a DevMachine's in memory backend.

View Source
const (
	// ContainerProvisionedV1Beta1Condition documents the status of the provisioning of the container
	// generated by a DockerMachine.
	//
	// NOTE: When the container provisioning starts the process completes almost immediately and within
	// the same reconciliation, so the user will always see a transition from Wait to Provisioned without
	// having evidence that the operation is started/is in progress.
	ContainerProvisionedV1Beta1Condition clusterv1.ConditionType = "ContainerProvisioned"

	// WaitingForClusterInfrastructureV1Beta1Reason (Severity=Info) documents a DockerMachine waiting for the cluster
	// infrastructure to be ready before starting to create the container that provides the DockerMachine
	// infrastructure.
	WaitingForClusterInfrastructureV1Beta1Reason = "WaitingForClusterInfrastructure"

	// WaitingForBootstrapDataV1Beta1Reason (Severity=Info) documents a DockerMachine waiting for the bootstrap
	// script to be ready before starting to create the container that provides the DockerMachine infrastructure.
	WaitingForBootstrapDataV1Beta1Reason = "WaitingForBootstrapData"

	// ContainerProvisioningFailedV1Beta1Reason (Severity=Warning) documents a DockerMachine controller detecting
	// an error while provisioning the container that provides the DockerMachine infrastructure; those kind of
	// errors are usually transient and failed provisioning are automatically re-tried by the controller.
	ContainerProvisioningFailedV1Beta1Reason = "ContainerProvisioningFailed"

	// ContainerDeletedV1Beta1Reason (Severity=Error) documents a DockerMachine controller detecting
	// the underlying container has been deleted unexpectedly.
	ContainerDeletedV1Beta1Reason = "ContainerDeleted"
)
View Source
const (
	// BootstrapExecSucceededV1Beta1Condition provides an observation of the DockerMachine bootstrap process.
	// 	It is set based on successful execution of bootstrap commands and on the existence of
	//	the /run/cluster-api/bootstrap-success.complete file.
	// The condition gets generated after ContainerProvisionedCondition is True.
	//
	// NOTE as a difference from other providers, container provisioning and bootstrap are directly managed
	// by the DockerMachine controller (not by cloud-init).
	BootstrapExecSucceededV1Beta1Condition clusterv1.ConditionType = "BootstrapExecSucceeded"

	// BootstrappingV1Beta1Reason documents (Severity=Info) a DockerMachine currently executing the bootstrap
	// script that creates the Kubernetes node on the newly provisioned machine infrastructure.
	BootstrappingV1Beta1Reason = "Bootstrapping"

	// BootstrapFailedV1Beta1Reason documents (Severity=Warning) a DockerMachine controller detecting an error while
	// bootstrapping the Kubernetes node on the machine just provisioned; those kind of errors are usually
	// transient and failed bootstrap are automatically re-tried by the controller.
	BootstrapFailedV1Beta1Reason = "BootstrapFailed"
)
View Source
const (
	// LoadBalancerAvailableV1Beta1Condition documents the availability of the container that implements the cluster load balancer.
	//
	// NOTE: When the load balancer provisioning starts the process completes almost immediately and within
	// the same reconciliation, so the user will always see a transition from no condition to available without
	// having evidence that the operation is started/is in progress.
	LoadBalancerAvailableV1Beta1Condition clusterv1.ConditionType = "LoadBalancerAvailable"

	// LoadBalancerProvisioningFailedV1Beta1Reason (Severity=Warning) documents a DockerCluster controller detecting
	// an error while provisioning the container that provides the cluster load balancer.; those kind of
	// errors are usually transient and failed provisioning are automatically re-tried by the controller.
	LoadBalancerProvisioningFailedV1Beta1Reason = "LoadBalancerProvisioningFailed"
)
View Source
const (
	// ClusterFinalizer allows DockerClusterReconciler to clean up resources associated with DockerCluster before
	// removing it from the apiserver.
	ClusterFinalizer = "dockercluster.infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// ListenerAnnotationName tracks the name of the listener a cluster is linked to.
	// NOTE: the annotation must be added by the components that creates the listener only if using the HotRestart feature.
	ListenerAnnotationName = "inmemorycluster.infrastructure.cluster.x-k8s.io/listener"
)
View Source
const (
	// MachineFinalizer allows ReconcileDockerMachine to clean up resources associated with DockerMachine before
	// removing it from the apiserver.
	MachineFinalizer = "dockermachine.infrastructure.cluster.x-k8s.io"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1beta2"}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = schemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type APIEndpoint

type APIEndpoint struct {
	// host is the hostname on which the API server is serving.
	// +optional
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=512
	Host string `json:"host,omitempty"`

	// port is the port on which the API server is serving.
	// +optional
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=65535
	Port int32 `json:"port,omitempty"`
}

APIEndpoint represents a reachable Kubernetes API endpoint. +kubebuilder:validation:MinProperties=1

func (*APIEndpoint) DeepCopy

func (in *APIEndpoint) DeepCopy() *APIEndpoint

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

func (*APIEndpoint) DeepCopyInto

func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint)

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

type CommonProvisioningSettings

type CommonProvisioningSettings struct {
	// startupDuration defines the duration of the object provisioning phase.
	StartupDuration metav1.Duration `json:"startupDuration"`

	// startupJitter adds some randomness on StartupDuration; the actual duration will be StartupDuration plus an additional
	// amount chosen uniformly at random from the interval between zero and `StartupJitter*StartupDuration`.
	// NOTE: this is modeled as string because the usage of float is highly discouraged, as support for them varies across languages.
	StartupJitter string `json:"startupJitter,omitempty"`
}

CommonProvisioningSettings holds parameters that applies to provisioning of most of the objects.

func (*CommonProvisioningSettings) DeepCopy

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

func (*CommonProvisioningSettings) DeepCopyInto

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

type DevCluster

type DevCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DevClusterSpec   `json:"spec,omitempty"`
	Status DevClusterStatus `json:"status,omitempty"`
}

DevCluster is the schema for the dev cluster infrastructure API.

func (*DevCluster) DeepCopy

func (in *DevCluster) DeepCopy() *DevCluster

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

func (*DevCluster) DeepCopyInto

func (in *DevCluster) DeepCopyInto(out *DevCluster)

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

func (*DevCluster) DeepCopyObject

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

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

func (*DevCluster) GetConditions

func (c *DevCluster) GetConditions() []metav1.Condition

GetConditions returns the set of conditions for this object.

func (*DevCluster) GetV1Beta1Conditions

func (c *DevCluster) GetV1Beta1Conditions() clusterv1.Conditions

GetV1Beta1Conditions returns the set of conditions for this object.

func (*DevCluster) Hub

func (*DevCluster) Hub()

func (*DevCluster) SetConditions

func (c *DevCluster) SetConditions(conditions []metav1.Condition)

SetConditions sets conditions for an API object.

func (*DevCluster) SetV1Beta1Conditions

func (c *DevCluster) SetV1Beta1Conditions(conditions clusterv1.Conditions)

SetV1Beta1Conditions sets the conditions on this object.

type DevClusterBackendSpec

type DevClusterBackendSpec struct {
	// docker defines a backend for a DevCluster using docker containers.
	// +optional
	Docker *DockerClusterBackendSpec `json:"docker,omitempty"`

	// inMemory defines a backend for a DevCluster that runs in memory.
	// +optional
	InMemory *InMemoryClusterBackendSpec `json:"inMemory,omitempty"`
}

DevClusterBackendSpec defines backends for a DevCluster.

func (*DevClusterBackendSpec) DeepCopy

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

func (*DevClusterBackendSpec) DeepCopyInto

func (in *DevClusterBackendSpec) DeepCopyInto(out *DevClusterBackendSpec)

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

type DevClusterDeprecatedStatus

type DevClusterDeprecatedStatus struct {
	// v1beta1 groups all the status fields that are deprecated and will be removed when support for v1beta1 will be dropped.
	// +optional
	V1Beta1 *DevClusterV1Beta1DeprecatedStatus `json:"v1beta1,omitempty"`
}

DevClusterDeprecatedStatus groups all the status fields that are deprecated and will be removed when support for v1beta1 will be dropped. See https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more context.

func (*DevClusterDeprecatedStatus) DeepCopy

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

func (*DevClusterDeprecatedStatus) DeepCopyInto

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

type DevClusterInitializationStatus

type DevClusterInitializationStatus struct {
	// provisioned is true when the infrastructure provider reports that the Cluster's infrastructure is fully provisioned.
	// NOTE: this field is part of the Cluster API contract, and it is used to orchestrate initial Cluster provisioning.
	// +optional
	Provisioned *bool `json:"provisioned,omitempty"`
}

DevClusterInitializationStatus provides observations of the DevCluster initialization process. +kubebuilder:validation:MinProperties=1

func (*DevClusterInitializationStatus) DeepCopy

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

func (*DevClusterInitializationStatus) DeepCopyInto

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

type DevClusterList

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

DevClusterList contains a list of DevCluster.

func (*DevClusterList) DeepCopy

func (in *DevClusterList) DeepCopy() *DevClusterList

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

func (*DevClusterList) DeepCopyInto

func (in *DevClusterList) DeepCopyInto(out *DevClusterList)

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

func (*DevClusterList) DeepCopyObject

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

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

type DevClusterSpec

type DevClusterSpec struct {
	// controlPlaneEndpoint represents the endpoint used to communicate with the control plane.
	// +optional
	ControlPlaneEndpoint APIEndpoint `json:"controlPlaneEndpoint,omitempty,omitzero"`

	// backend defines backends for a DevCluster.
	// +required
	Backend DevClusterBackendSpec `json:"backend"`
}

DevClusterSpec defines the desired state of the DevCluster infrastructure.

func (*DevClusterSpec) DeepCopy

func (in *DevClusterSpec) DeepCopy() *DevClusterSpec

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

func (*DevClusterSpec) DeepCopyInto

func (in *DevClusterSpec) DeepCopyInto(out *DevClusterSpec)

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

type DevClusterStatus

type DevClusterStatus struct {
	// conditions represents the observations of a DevCluster's current state.
	// Known condition types are Ready, LoadBalancerAvailable and Paused.
	// +optional
	// +listType=map
	// +listMapKey=type
	// +kubebuilder:validation:MaxItems=32
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// initialization provides observations of the DevCluster initialization process.
	// NOTE: Fields in this struct are part of the Cluster API contract and are used to orchestrate initial Cluster provisioning.
	// +optional
	Initialization DevClusterInitializationStatus `json:"initialization,omitempty,omitzero"`

	// failureDomains is a list of failure domain objects synced from the infrastructure provider.
	// It don't mean much in CAPD since it's all local, but we can see how the rest of cluster API
	// will use this if we populate it.
	// +optional
	// +listType=map
	// +listMapKey=name
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=100
	FailureDomains []clusterv1.FailureDomain `json:"failureDomains,omitempty"`

	// deprecated groups all the status fields that are deprecated and will be removed when all the nested field are removed.
	// +optional
	Deprecated *DevClusterDeprecatedStatus `json:"deprecated,omitempty"`
}

DevClusterStatus defines the observed state of the DevCluster.

func (*DevClusterStatus) DeepCopy

func (in *DevClusterStatus) DeepCopy() *DevClusterStatus

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

func (*DevClusterStatus) DeepCopyInto

func (in *DevClusterStatus) DeepCopyInto(out *DevClusterStatus)

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

type DevClusterTemplate

type DevClusterTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec DevClusterTemplateSpec `json:"spec,omitempty"`
}

DevClusterTemplate is the Schema for the DevClusterTemplate API.

func (*DevClusterTemplate) DeepCopy

func (in *DevClusterTemplate) DeepCopy() *DevClusterTemplate

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

func (*DevClusterTemplate) DeepCopyInto

func (in *DevClusterTemplate) DeepCopyInto(out *DevClusterTemplate)

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

func (*DevClusterTemplate) DeepCopyObject

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

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

func (*DevClusterTemplate) Hub

func (*DevClusterTemplate) Hub()

type DevClusterTemplateList

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

DevClusterTemplateList contains a list of DevClusterTemplate.

func (*DevClusterTemplateList) DeepCopy

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

func (*DevClusterTemplateList) DeepCopyInto

func (in *DevClusterTemplateList) DeepCopyInto(out *DevClusterTemplateList)

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

func (*DevClusterTemplateList) DeepCopyObject

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

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

type DevClusterTemplateResource

type DevClusterTemplateResource struct {
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	ObjectMeta clusterv1.ObjectMeta `json:"metadata,omitempty,omitzero"`
	Spec       DevClusterSpec       `json:"spec"`
}

DevClusterTemplateResource describes the data needed to create a DevCluster from a template.

func (*DevClusterTemplateResource) DeepCopy

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

func (*DevClusterTemplateResource) DeepCopyInto

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

type DevClusterTemplateSpec

type DevClusterTemplateSpec struct {
	Template DevClusterTemplateResource `json:"template"`
}

DevClusterTemplateSpec defines the desired state of DevClusterTemplate.

func (*DevClusterTemplateSpec) DeepCopy

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

func (*DevClusterTemplateSpec) DeepCopyInto

func (in *DevClusterTemplateSpec) DeepCopyInto(out *DevClusterTemplateSpec)

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

type DevClusterV1Beta1DeprecatedStatus

type DevClusterV1Beta1DeprecatedStatus struct {
	// conditions defines current service state of the DevCluster.
	//
	// +optional
	//
	// Deprecated: This field is deprecated and is going to be removed when support for v1beta1 is dropped.
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

DevClusterV1Beta1DeprecatedStatus groups all the status fields that are deprecated and will be removed when support for v1beta1 will be dropped. See https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more context.

func (*DevClusterV1Beta1DeprecatedStatus) DeepCopy

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

func (*DevClusterV1Beta1DeprecatedStatus) DeepCopyInto

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

type DevMachine

type DevMachine struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DevMachineSpec   `json:"spec,omitempty"`
	Status DevMachineStatus `json:"status,omitempty"`
}

DevMachine is the schema for the dev machine infrastructure API.

func (*DevMachine) DeepCopy

func (in *DevMachine) DeepCopy() *DevMachine

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

func (*DevMachine) DeepCopyInto

func (in *DevMachine) DeepCopyInto(out *DevMachine)

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

func (*DevMachine) DeepCopyObject

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

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

func (*DevMachine) GetConditions

func (c *DevMachine) GetConditions() []metav1.Condition

GetConditions returns the set of conditions for this object.

func (*DevMachine) GetV1Beta1Conditions

func (c *DevMachine) GetV1Beta1Conditions() clusterv1.Conditions

GetV1Beta1Conditions returns the set of conditions for this object.

func (*DevMachine) Hub

func (*DevMachine) Hub()

func (*DevMachine) SetConditions

func (c *DevMachine) SetConditions(conditions []metav1.Condition)

SetConditions sets conditions for an API object.

func (*DevMachine) SetV1Beta1Conditions

func (c *DevMachine) SetV1Beta1Conditions(conditions clusterv1.Conditions)

SetV1Beta1Conditions sets the conditions on this object.

type DevMachineBackendSpec

type DevMachineBackendSpec struct {
	// docker defines a backend for a DevMachine using docker containers.
	// +optional
	Docker *DockerMachineBackendSpec `json:"docker,omitempty"`

	// inMemory defines a backend for a DevMachine that runs in memory.
	// +optional
	InMemory *InMemoryMachineBackendSpec `json:"inMemory,omitempty"`
}

DevMachineBackendSpec defines backends for a DevMachine.

func (*DevMachineBackendSpec) DeepCopy

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

func (*DevMachineBackendSpec) DeepCopyInto

func (in *DevMachineBackendSpec) DeepCopyInto(out *DevMachineBackendSpec)

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

type DevMachineBackendStatus

type DevMachineBackendStatus struct {
	// docker define backend status for a DevMachine for a machine using docker containers.
	// +optional
	Docker *DockerMachineBackendStatus `json:"docker,omitempty"`
}

DevMachineBackendStatus define backend status for a DevMachine.

func (*DevMachineBackendStatus) DeepCopy

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

func (*DevMachineBackendStatus) DeepCopyInto

func (in *DevMachineBackendStatus) DeepCopyInto(out *DevMachineBackendStatus)

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

type DevMachineDeprecatedStatus

type DevMachineDeprecatedStatus struct {
	// v1beta1 groups all the status fields that are deprecated and will be removed when support for v1beta1 will be dropped.
	// +optional
	V1Beta1 *DevMachineV1Beta1DeprecatedStatus `json:"v1beta1,omitempty"`
}

DevMachineDeprecatedStatus groups all the status fields that are deprecated and will be removed when support for v1beta1 will be dropped. See https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more context.

func (*DevMachineDeprecatedStatus) DeepCopy

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

func (*DevMachineDeprecatedStatus) DeepCopyInto

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

type DevMachineInitializationStatus

type DevMachineInitializationStatus struct {
	// provisioned is true when the infrastructure provider reports that the Machine's infrastructure is fully provisioned.
	// NOTE: this field is part of the Cluster API contract, and it is used to orchestrate initial Machine provisioning.
	// +optional
	Provisioned *bool `json:"provisioned,omitempty"`
}

DevMachineInitializationStatus provides observations of the DevMachine initialization process. +kubebuilder:validation:MinProperties=1

func (*DevMachineInitializationStatus) DeepCopy

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

func (*DevMachineInitializationStatus) DeepCopyInto

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

type DevMachineList

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

DevMachineList contains a list of DevMachine.

func (*DevMachineList) DeepCopy

func (in *DevMachineList) DeepCopy() *DevMachineList

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

func (*DevMachineList) DeepCopyInto

func (in *DevMachineList) DeepCopyInto(out *DevMachineList)

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

func (*DevMachineList) DeepCopyObject

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

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

type DevMachineSpec

type DevMachineSpec struct {
	// providerID used to link this machine with the node hosted on it.
	// +optional
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=512
	ProviderID string `json:"providerID,omitempty"`

	// backend defines backends for a DevMachine.
	// +required
	Backend DevMachineBackendSpec `json:"backend"`
}

DevMachineSpec defines the desired state of DevMachine.

func (*DevMachineSpec) DeepCopy

func (in *DevMachineSpec) DeepCopy() *DevMachineSpec

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

func (*DevMachineSpec) DeepCopyInto

func (in *DevMachineSpec) DeepCopyInto(out *DevMachineSpec)

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

type DevMachineStatus

type DevMachineStatus struct {
	// conditions represents the observations of a DevMachine's current state.
	// Known condition types are Ready, NodeProvisioned, EtcdProvisioned, APIServerProvisioned, VMProvisioned,
	// ControlPlaneInitialized, BootstrapExecSucceeded, LoadBalancerAvailable, ContainerProvisioned and Paused.
	// +optional
	// +listType=map
	// +listMapKey=type
	// +kubebuilder:validation:MaxItems=32
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// initialization provides observations of the DevMachine initialization process.
	// NOTE: Fields in this struct are part of the Cluster API contract and are used to orchestrate initial Machine provisioning.
	// +optional
	Initialization DevMachineInitializationStatus `json:"initialization,omitempty,omitzero"`

	// addresses contains the associated addresses for the dev machine.
	// +optional
	Addresses []clusterv1.MachineAddress `json:"addresses,omitempty"`

	// backend defines backends status for a DevMachine.
	// +optional
	Backend *DevMachineBackendStatus `json:"backend,omitempty"`

	// deprecated groups all the status fields that are deprecated and will be removed when all the nested field are removed.
	// +optional
	Deprecated *DevMachineDeprecatedStatus `json:"deprecated,omitempty"`
}

DevMachineStatus defines the observed state of DevMachine.

func (*DevMachineStatus) DeepCopy

func (in *DevMachineStatus) DeepCopy() *DevMachineStatus

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

func (*DevMachineStatus) DeepCopyInto

func (in *DevMachineStatus) DeepCopyInto(out *DevMachineStatus)

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

type DevMachineTemplate

type DevMachineTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DevMachineTemplateSpec   `json:"spec,omitempty"`
	Status DevMachineTemplateStatus `json:"status,omitempty"`
}

DevMachineTemplate is the schema for the in-memory machine template API.

func (*DevMachineTemplate) DeepCopy

func (in *DevMachineTemplate) DeepCopy() *DevMachineTemplate

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

func (*DevMachineTemplate) DeepCopyInto

func (in *DevMachineTemplate) DeepCopyInto(out *DevMachineTemplate)

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

func (*DevMachineTemplate) DeepCopyObject

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

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

func (*DevMachineTemplate) Hub

func (*DevMachineTemplate) Hub()

type DevMachineTemplateList

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

DevMachineTemplateList contains a list of DevMachineTemplate.

func (*DevMachineTemplateList) DeepCopy

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

func (*DevMachineTemplateList) DeepCopyInto

func (in *DevMachineTemplateList) DeepCopyInto(out *DevMachineTemplateList)

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

func (*DevMachineTemplateList) DeepCopyObject

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

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

type DevMachineTemplateResource

type DevMachineTemplateResource struct {
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	ObjectMeta clusterv1.ObjectMeta `json:"metadata,omitempty,omitzero"`

	// Spec is the specification of the desired behavior of the machine.
	Spec DevMachineSpec `json:"spec"`
}

DevMachineTemplateResource describes the data needed to create a DevMachine from a template.

func (*DevMachineTemplateResource) DeepCopy

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

func (*DevMachineTemplateResource) DeepCopyInto

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

type DevMachineTemplateSpec

type DevMachineTemplateSpec struct {
	Template DevMachineTemplateResource `json:"template"`
}

DevMachineTemplateSpec defines the desired state of DevMachineTemplate.

func (*DevMachineTemplateSpec) DeepCopy

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

func (*DevMachineTemplateSpec) DeepCopyInto

func (in *DevMachineTemplateSpec) DeepCopyInto(out *DevMachineTemplateSpec)

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

type DevMachineTemplateStatus

type DevMachineTemplateStatus struct {
	// capacity defines the resource capacity for this DevMachineTemplate.
	// This value is used for autoscaling from zero operations as defined in:
	// https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20210310-opt-in-autoscaling-from-zero.md
	// +optional
	Capacity corev1.ResourceList `json:"capacity,omitempty"`
}

DevMachineTemplateStatus defines the observed state of a DevMachineTemplate.

func (*DevMachineTemplateStatus) DeepCopy

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

func (*DevMachineTemplateStatus) DeepCopyInto

func (in *DevMachineTemplateStatus) DeepCopyInto(out *DevMachineTemplateStatus)

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

type DevMachineV1Beta1DeprecatedStatus

type DevMachineV1Beta1DeprecatedStatus struct {
	// conditions defines current service state of the DevMachine.
	//
	// +optional
	//
	// Deprecated: This field is deprecated and is going to be removed when support for v1beta1 is dropped.
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

DevMachineV1Beta1DeprecatedStatus groups all the status fields that are deprecated and will be removed when support for v1beta1 will be dropped. See https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more context.

func (*DevMachineV1Beta1DeprecatedStatus) DeepCopy

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

func (*DevMachineV1Beta1DeprecatedStatus) DeepCopyInto

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

type DockerCluster

type DockerCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DockerClusterSpec   `json:"spec,omitempty"`
	Status DockerClusterStatus `json:"status,omitempty"`
}

DockerCluster is the Schema for the dockerclusters API.

func (*DockerCluster) DeepCopy

func (in *DockerCluster) DeepCopy() *DockerCluster

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

func (*DockerCluster) DeepCopyInto

func (in *DockerCluster) DeepCopyInto(out *DockerCluster)

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

func (*DockerCluster) DeepCopyObject

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

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

func (*DockerCluster) GetConditions

func (c *DockerCluster) GetConditions() []metav1.Condition

GetConditions returns the set of conditions for this object.

func (*DockerCluster) GetV1Beta1Conditions

func (c *DockerCluster) GetV1Beta1Conditions() clusterv1.Conditions

GetV1Beta1Conditions returns the set of conditions for this object.

func (*DockerCluster) Hub

func (*DockerCluster) Hub()

func (*DockerCluster) SetConditions

func (c *DockerCluster) SetConditions(conditions []metav1.Condition)

SetConditions sets conditions for an API object.

func (*DockerCluster) SetV1Beta1Conditions

func (c *DockerCluster) SetV1Beta1Conditions(conditions clusterv1.Conditions)

SetV1Beta1Conditions sets the conditions on this object.

type DockerClusterBackendSpec

type DockerClusterBackendSpec struct {
	// failureDomains are usually not defined in the spec.
	// The docker provider is special since failure domains don't mean anything in a local docker environment.
	// Instead, the docker cluster controller will simply copy these into the Status and allow the Cluster API
	// controllers to do what they will with the defined failure domains.
	// +optional
	// +listType=map
	// +listMapKey=name
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=100
	FailureDomains []clusterv1.FailureDomain `json:"failureDomains,omitempty"`

	// loadBalancer allows defining configurations for the cluster load balancer.
	// +optional
	LoadBalancer DockerLoadBalancer `json:"loadBalancer,omitempty"`
}

DockerClusterBackendSpec defines a backend for a DevCluster using docker containers.

func (*DockerClusterBackendSpec) DeepCopy

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

func (*DockerClusterBackendSpec) DeepCopyInto

func (in *DockerClusterBackendSpec) DeepCopyInto(out *DockerClusterBackendSpec)

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

type DockerClusterDeprecatedStatus

type DockerClusterDeprecatedStatus struct {
	// v1beta1 groups all the status fields that are deprecated and will be removed when support for v1beta1 will be dropped.
	// +optional
	V1Beta1 *DockerClusterV1Beta1DeprecatedStatus `json:"v1beta1,omitempty"`
}

DockerClusterDeprecatedStatus groups all the status fields that are deprecated and will be removed when support for v1beta1 will be dropped. See https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more context.

func (*DockerClusterDeprecatedStatus) DeepCopy

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

func (*DockerClusterDeprecatedStatus) DeepCopyInto

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

type DockerClusterInitializationStatus

type DockerClusterInitializationStatus struct {
	// provisioned is true when the infrastructure provider reports that the Cluster's infrastructure is fully provisioned.
	// NOTE: this field is part of the Cluster API contract, and it is used to orchestrate initial Cluster provisioning.
	// +optional
	Provisioned *bool `json:"provisioned,omitempty"`
}

DockerClusterInitializationStatus provides observations of the DockerCluster initialization process. +kubebuilder:validation:MinProperties=1

func (*DockerClusterInitializationStatus) DeepCopy

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

func (*DockerClusterInitializationStatus) DeepCopyInto

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

type DockerClusterList

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

DockerClusterList contains a list of DockerCluster.

func (*DockerClusterList) DeepCopy

func (in *DockerClusterList) DeepCopy() *DockerClusterList

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

func (*DockerClusterList) DeepCopyInto

func (in *DockerClusterList) DeepCopyInto(out *DockerClusterList)

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

func (*DockerClusterList) DeepCopyObject

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

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

type DockerClusterSpec

type DockerClusterSpec struct {

	// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
	// +optional
	ControlPlaneEndpoint APIEndpoint `json:"controlPlaneEndpoint,omitempty,omitzero"`

	// FailureDomains are usually not defined in the spec.
	// The docker provider is special since failure domains don't mean anything in a local docker environment.
	// Instead, the docker cluster controller will simply copy these into the Status and allow the Cluster API
	// controllers to do what they will with the defined failure domains.
	// +optional
	// +listType=map
	// +listMapKey=name
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=100
	FailureDomains []clusterv1.FailureDomain `json:"failureDomains,omitempty"`

	// LoadBalancer allows defining configurations for the cluster load balancer.
	// +optional
	LoadBalancer DockerLoadBalancer `json:"loadBalancer,omitempty"`
}

DockerClusterSpec defines the desired state of DockerCluster.

func (*DockerClusterSpec) DeepCopy

func (in *DockerClusterSpec) DeepCopy() *DockerClusterSpec

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

func (*DockerClusterSpec) DeepCopyInto

func (in *DockerClusterSpec) DeepCopyInto(out *DockerClusterSpec)

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

type DockerClusterStatus

type DockerClusterStatus struct {
	// conditions represents the observations of a DockerCluster's current state.
	// Known condition types are LoadBalancerAvailable and Paused.
	// +optional
	// +listType=map
	// +listMapKey=type
	// +kubebuilder:validation:MaxItems=32
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// initialization provides observations of the DockerCluster initialization process.
	// NOTE: Fields in this struct are part of the Cluster API contract and are used to orchestrate initial Cluster provisioning.
	// +optional
	Initialization DockerClusterInitializationStatus `json:"initialization,omitempty,omitzero"`

	// failureDomains is a list of failure domain objects synced from the infrastructure provider.
	// It don't mean much in CAPD since it's all local, but we can see how the rest of cluster API
	// will use this if we populate it.
	// +optional
	// +listType=map
	// +listMapKey=name
	// +kubebuilder:validation:MinItems=1
	// +kubebuilder:validation:MaxItems=100
	FailureDomains []clusterv1.FailureDomain `json:"failureDomains,omitempty"`

	// deprecated groups all the status fields that are deprecated and will be removed when all the nested field are removed.
	// +optional
	Deprecated *DockerClusterDeprecatedStatus `json:"deprecated,omitempty"`
}

DockerClusterStatus defines the observed state of DockerCluster.

func (*DockerClusterStatus) DeepCopy

func (in *DockerClusterStatus) DeepCopy() *DockerClusterStatus

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

func (*DockerClusterStatus) DeepCopyInto

func (in *DockerClusterStatus) DeepCopyInto(out *DockerClusterStatus)

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

type DockerClusterTemplate

type DockerClusterTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec DockerClusterTemplateSpec `json:"spec,omitempty"`
}

DockerClusterTemplate is the Schema for the dockerclustertemplates API.

func (*DockerClusterTemplate) DeepCopy

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

func (*DockerClusterTemplate) DeepCopyInto

func (in *DockerClusterTemplate) DeepCopyInto(out *DockerClusterTemplate)

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

func (*DockerClusterTemplate) DeepCopyObject

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

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

func (*DockerClusterTemplate) Hub

func (*DockerClusterTemplate) Hub()

type DockerClusterTemplateList

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

DockerClusterTemplateList contains a list of DockerClusterTemplate.

func (*DockerClusterTemplateList) DeepCopy

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

func (*DockerClusterTemplateList) DeepCopyInto

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

func (*DockerClusterTemplateList) DeepCopyObject

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

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

type DockerClusterTemplateResource

type DockerClusterTemplateResource struct {
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	ObjectMeta clusterv1.ObjectMeta `json:"metadata,omitempty,omitzero"`
	Spec       DockerClusterSpec    `json:"spec"`
}

DockerClusterTemplateResource describes the data needed to create a DockerCluster from a template.

func (*DockerClusterTemplateResource) DeepCopy

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

func (*DockerClusterTemplateResource) DeepCopyInto

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

type DockerClusterTemplateSpec

type DockerClusterTemplateSpec struct {
	Template DockerClusterTemplateResource `json:"template"`
}

DockerClusterTemplateSpec defines the desired state of DockerClusterTemplate.

func (*DockerClusterTemplateSpec) DeepCopy

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

func (*DockerClusterTemplateSpec) DeepCopyInto

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

type DockerClusterV1Beta1DeprecatedStatus

type DockerClusterV1Beta1DeprecatedStatus struct {
	// conditions defines current service state of the DockerCluster.
	//
	// +optional
	//
	// Deprecated: This field is deprecated and is going to be removed when support for v1beta1 is dropped.
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

DockerClusterV1Beta1DeprecatedStatus groups all the status fields that are deprecated and will be removed when support for v1beta1 will be dropped. See https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more context.

func (*DockerClusterV1Beta1DeprecatedStatus) DeepCopy

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

func (*DockerClusterV1Beta1DeprecatedStatus) DeepCopyInto

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

type DockerLoadBalancer

type DockerLoadBalancer struct {
	// ImageMeta allows customizing the image used for the cluster load balancer.
	ImageMeta `json:",inline"`

	// CustomHAProxyConfigTemplateRef allows you to replace the default HAProxy config file.
	// This field is a reference to a config map that contains the configuration template. The key of the config map should be equal to 'value'.
	// The content of the config map will be processed and will replace the default HAProxy config file. Please use it with caution, as there are
	// no checks to ensure the validity of the configuration. This template will support the following variables that will be passed by the controller:
	// $IPv6 (bool) indicates if the cluster is IPv6, $FrontendControlPlanePort (string) indicates the frontend control plane port,
	// $BackendControlPlanePort (string) indicates the backend control plane port, $BackendServers (map[string]string) indicates the backend server
	// where the key is the server name and the value is the address. This map is dynamic and is updated every time a new control plane
	// node is added or removed. The template will also support the JoinHostPort function to join the host and port of the backend server.
	// +optional
	CustomHAProxyConfigTemplateRef *corev1.LocalObjectReference `json:"customHAProxyConfigTemplateRef,omitempty"`
}

DockerLoadBalancer allows defining configurations for the cluster load balancer.

func (*DockerLoadBalancer) DeepCopy

func (in *DockerLoadBalancer) DeepCopy() *DockerLoadBalancer

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

func (*DockerLoadBalancer) DeepCopyInto

func (in *DockerLoadBalancer) DeepCopyInto(out *DockerLoadBalancer)

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

type DockerMachine

type DockerMachine struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DockerMachineSpec   `json:"spec,omitempty"`
	Status DockerMachineStatus `json:"status,omitempty"`
}

DockerMachine is the Schema for the dockermachines API.

func (*DockerMachine) DeepCopy

func (in *DockerMachine) DeepCopy() *DockerMachine

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

func (*DockerMachine) DeepCopyInto

func (in *DockerMachine) DeepCopyInto(out *DockerMachine)

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

func (*DockerMachine) DeepCopyObject

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

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

func (*DockerMachine) GetConditions

func (c *DockerMachine) GetConditions() []metav1.Condition

GetConditions returns the set of conditions for this object.

func (*DockerMachine) GetV1Beta1Conditions

func (c *DockerMachine) GetV1Beta1Conditions() clusterv1.Conditions

GetV1Beta1Conditions returns the set of conditions for this object.

func (*DockerMachine) Hub

func (*DockerMachine) Hub()

func (*DockerMachine) SetConditions

func (c *DockerMachine) SetConditions(conditions []metav1.Condition)

SetConditions sets conditions for an API object.

func (*DockerMachine) SetV1Beta1Conditions

func (c *DockerMachine) SetV1Beta1Conditions(conditions clusterv1.Conditions)

SetV1Beta1Conditions sets the conditions on this object.

type DockerMachineBackendSpec

type DockerMachineBackendSpec struct {
	// customImage allows customizing the container image that is used for
	// running the machine
	// +optional
	CustomImage string `json:"customImage,omitempty"`

	// preLoadImages allows to pre-load images in a newly created machine. This can be used to
	// speed up tests by avoiding e.g. to download CNI images on all the containers.
	// +optional
	PreLoadImages []string `json:"preLoadImages,omitempty"`

	// extraMounts describes additional mount points for the node container
	// These may be used to bind a hostPath
	// +optional
	ExtraMounts []Mount `json:"extraMounts,omitempty"`

	// bootstrapped is true when the kubeadm bootstrapping has been run
	// against this machine
	//
	// Deprecated: This field will be removed in the next apiVersion.
	// When removing also remove from staticcheck exclude-rules for SA1019 in golangci.yml.
	// +optional
	Bootstrapped bool `json:"bootstrapped,omitempty"`

	// bootstrapTimeout is the total amount of time to wait for the machine to bootstrap before timing out.
	// The default value is 3m.
	// +optional
	BootstrapTimeout *metav1.Duration `json:"bootstrapTimeout,omitempty"`
}

DockerMachineBackendSpec defines a backend for a DevMachine using docker containers.

func (*DockerMachineBackendSpec) DeepCopy

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

func (*DockerMachineBackendSpec) DeepCopyInto

func (in *DockerMachineBackendSpec) DeepCopyInto(out *DockerMachineBackendSpec)

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

type DockerMachineBackendStatus

type DockerMachineBackendStatus struct {
	// loadBalancerConfigured denotes that the machine has been
	// added to the load balancer
	// +optional
	LoadBalancerConfigured bool `json:"loadBalancerConfigured"`
}

DockerMachineBackendStatus define backend status for a DevMachine for a machine using docker containers.

func (*DockerMachineBackendStatus) DeepCopy

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

func (*DockerMachineBackendStatus) DeepCopyInto

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

type DockerMachineDeprecatedStatus

type DockerMachineDeprecatedStatus struct {
	// v1beta1 groups all the status fields that are deprecated and will be removed when support for v1beta1 will be dropped.
	// +optional
	V1Beta1 *DockerMachineV1Beta1DeprecatedStatus `json:"v1beta1,omitempty"`
}

DockerMachineDeprecatedStatus groups all the status fields that are deprecated and will be removed when support for v1beta1 will be dropped. See https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more context.

func (*DockerMachineDeprecatedStatus) DeepCopy

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

func (*DockerMachineDeprecatedStatus) DeepCopyInto

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

type DockerMachineInitializationStatus

type DockerMachineInitializationStatus struct {
	// provisioned is true when the infrastructure provider reports that the Machine's infrastructure is fully provisioned.
	// NOTE: this field is part of the Cluster API contract, and it is used to orchestrate initial Machine provisioning.
	// +optional
	Provisioned *bool `json:"provisioned,omitempty"`
}

DockerMachineInitializationStatus provides observations of the DockerMachine initialization process. +kubebuilder:validation:MinProperties=1

func (*DockerMachineInitializationStatus) DeepCopy

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

func (*DockerMachineInitializationStatus) DeepCopyInto

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

type DockerMachineList

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

DockerMachineList contains a list of DockerMachine.

func (*DockerMachineList) DeepCopy

func (in *DockerMachineList) DeepCopy() *DockerMachineList

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

func (*DockerMachineList) DeepCopyInto

func (in *DockerMachineList) DeepCopyInto(out *DockerMachineList)

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

func (*DockerMachineList) DeepCopyObject

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

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

type DockerMachineSpec

type DockerMachineSpec struct {
	// ProviderID will be the container name in ProviderID format (docker:////<containername>)
	// +optional
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:MaxLength=512
	ProviderID string `json:"providerID,omitempty"`

	// CustomImage allows customizing the container image that is used for
	// running the machine
	// +optional
	CustomImage string `json:"customImage,omitempty"`

	// PreLoadImages allows to pre-load images in a newly created machine. This can be used to
	// speed up tests by avoiding e.g. to download CNI images on all the containers.
	// +optional
	PreLoadImages []string `json:"preLoadImages,omitempty"`

	// ExtraMounts describes additional mount points for the node container
	// These may be used to bind a hostPath
	// +optional
	ExtraMounts []Mount `json:"extraMounts,omitempty"`

	// Bootstrapped is true when the kubeadm bootstrapping has been run
	// against this machine
	//
	// Deprecated: This field will be removed in the next apiVersion.
	// When removing also remove from staticcheck exclude-rules for SA1019 in golangci.yml.
	// +optional
	Bootstrapped bool `json:"bootstrapped,omitempty"`

	// BootstrapTimeout is the total amount of time to wait for the machine to bootstrap before timing out.
	// The default value is 3m.
	// +optional
	BootstrapTimeout *metav1.Duration `json:"bootstrapTimeout,omitempty"`
}

DockerMachineSpec defines the desired state of DockerMachine.

func (*DockerMachineSpec) DeepCopy

func (in *DockerMachineSpec) DeepCopy() *DockerMachineSpec

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

func (*DockerMachineSpec) DeepCopyInto

func (in *DockerMachineSpec) DeepCopyInto(out *DockerMachineSpec)

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

type DockerMachineStatus

type DockerMachineStatus struct {
	// conditions represents the observations of a DockerMachine's current state.
	// Known condition types are NodeProvisioned, EtcdProvisioned, APIServerProvisioned, VMProvisioned,
	// ControlPlaneInitialized, BootstrapExecSucceeded, LoadBalancerAvailable, ContainerProvisioned and Paused.
	// +optional
	// +listType=map
	// +listMapKey=type
	// +kubebuilder:validation:MaxItems=32
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// initialization provides observations of the DockerMachine initialization process.
	// NOTE: Fields in this struct are part of the Cluster API contract and are used to orchestrate initial Machine provisioning.
	// +optional
	Initialization DockerMachineInitializationStatus `json:"initialization,omitempty,omitzero"`

	// LoadBalancerConfigured denotes that the machine has been
	// added to the load balancer
	// +optional
	LoadBalancerConfigured bool `json:"loadBalancerConfigured"`

	// Addresses contains the associated addresses for the docker machine.
	// +optional
	Addresses []clusterv1.MachineAddress `json:"addresses,omitempty"`

	// deprecated groups all the status fields that are deprecated and will be removed when all the nested field are removed.
	// +optional
	Deprecated *DockerMachineDeprecatedStatus `json:"deprecated,omitempty"`
}

DockerMachineStatus defines the observed state of DockerMachine.

func (*DockerMachineStatus) DeepCopy

func (in *DockerMachineStatus) DeepCopy() *DockerMachineStatus

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

func (*DockerMachineStatus) DeepCopyInto

func (in *DockerMachineStatus) DeepCopyInto(out *DockerMachineStatus)

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

type DockerMachineTemplate

type DockerMachineTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   DockerMachineTemplateSpec   `json:"spec,omitempty"`
	Status DockerMachineTemplateStatus `json:"status,omitempty"`
}

DockerMachineTemplate is the Schema for the dockermachinetemplates API.

func (*DockerMachineTemplate) DeepCopy

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

func (*DockerMachineTemplate) DeepCopyInto

func (in *DockerMachineTemplate) DeepCopyInto(out *DockerMachineTemplate)

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

func (*DockerMachineTemplate) DeepCopyObject

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

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

func (*DockerMachineTemplate) Hub

func (*DockerMachineTemplate) Hub()

type DockerMachineTemplateList

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

DockerMachineTemplateList contains a list of DockerMachineTemplate.

func (*DockerMachineTemplateList) DeepCopy

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

func (*DockerMachineTemplateList) DeepCopyInto

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

func (*DockerMachineTemplateList) DeepCopyObject

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

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

type DockerMachineTemplateResource

type DockerMachineTemplateResource struct {
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	ObjectMeta clusterv1.ObjectMeta `json:"metadata,omitempty,omitzero"`
	// Spec is the specification of the desired behavior of the machine.
	Spec DockerMachineSpec `json:"spec"`
}

DockerMachineTemplateResource describes the data needed to create a DockerMachine from a template.

func (*DockerMachineTemplateResource) DeepCopy

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

func (*DockerMachineTemplateResource) DeepCopyInto

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

type DockerMachineTemplateSpec

type DockerMachineTemplateSpec struct {
	Template DockerMachineTemplateResource `json:"template"`
}

DockerMachineTemplateSpec defines the desired state of DockerMachineTemplate.

func (*DockerMachineTemplateSpec) DeepCopy

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

func (*DockerMachineTemplateSpec) DeepCopyInto

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

type DockerMachineTemplateStatus

type DockerMachineTemplateStatus struct {
	// capacity defines the resource capacity for this DockerMachineTemplate.
	// This value is used for autoscaling from zero operations as defined in:
	// https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20210310-opt-in-autoscaling-from-zero.md
	// +optional
	Capacity corev1.ResourceList `json:"capacity,omitempty"`
}

DockerMachineTemplateStatus defines the observed state of a DockerMachineTemplate.

func (*DockerMachineTemplateStatus) DeepCopy

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

func (*DockerMachineTemplateStatus) DeepCopyInto

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

type DockerMachineV1Beta1DeprecatedStatus

type DockerMachineV1Beta1DeprecatedStatus struct {
	// conditions defines current service state of the DockerMachine.
	//
	// +optional
	//
	// Deprecated: This field is deprecated and is going to be removed when support for v1beta1 is dropped.
	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

DockerMachineV1Beta1DeprecatedStatus groups all the status fields that are deprecated and will be removed when support for v1beta1 will be dropped. See https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more context.

func (*DockerMachineV1Beta1DeprecatedStatus) DeepCopy

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

func (*DockerMachineV1Beta1DeprecatedStatus) DeepCopyInto

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

type ImageMeta

type ImageMeta struct {
	// ImageRepository sets the container registry to pull the haproxy image from.
	// if not set, "kindest" will be used instead.
	// +optional
	ImageRepository string `json:"imageRepository,omitempty"`

	// ImageTag allows to specify a tag for the haproxy image.
	// if not set, "v20210715-a6da3463" will be used instead.
	// +optional
	ImageTag string `json:"imageTag,omitempty"`
}

ImageMeta allows customizing the image used for components that are not originated from the Kubernetes/Kubernetes release process.

func (*ImageMeta) DeepCopy

func (in *ImageMeta) DeepCopy() *ImageMeta

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

func (*ImageMeta) DeepCopyInto

func (in *ImageMeta) DeepCopyInto(out *ImageMeta)

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

type InMemoryAPIServerSpec

type InMemoryAPIServerSpec struct {
	// provisioning defines variables influencing how the APIServer hosted on the InMemoryMachine is going to be provisioned.
	// NOTE: APIServer provisioning includes all the steps from starting the static Pod to the Pod become ready and being registered in K8s.
	Provisioning CommonProvisioningSettings `json:"provisioning,omitempty"`
}

InMemoryAPIServerSpec defines the behaviour of the APIServer hosted on the InMemoryMachine.

func (*InMemoryAPIServerSpec) DeepCopy

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

func (*InMemoryAPIServerSpec) DeepCopyInto

func (in *InMemoryAPIServerSpec) DeepCopyInto(out *InMemoryAPIServerSpec)

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

type InMemoryClusterBackendSpec

type InMemoryClusterBackendSpec struct{}

InMemoryClusterBackendSpec defines backend for a DevCluster that runs in memory.

func (*InMemoryClusterBackendSpec) DeepCopy

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

func (*InMemoryClusterBackendSpec) DeepCopyInto

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

type InMemoryEtcdSpec

type InMemoryEtcdSpec struct {
	// provisioning defines variables influencing how the etcd member hosted on the InMemoryMachine is going to be provisioned.
	// NOTE: Etcd provisioning includes all the steps from starting the static Pod to the Pod become ready and being registered in K8s.
	Provisioning CommonProvisioningSettings `json:"provisioning,omitempty"`
}

InMemoryEtcdSpec defines the behaviour of the etcd member hosted on the InMemoryMachine.

func (*InMemoryEtcdSpec) DeepCopy

func (in *InMemoryEtcdSpec) DeepCopy() *InMemoryEtcdSpec

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

func (*InMemoryEtcdSpec) DeepCopyInto

func (in *InMemoryEtcdSpec) DeepCopyInto(out *InMemoryEtcdSpec)

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

type InMemoryMachineBackendSpec

type InMemoryMachineBackendSpec struct {
	// vm defines the behaviour of the VM implementing the InMemoryMachine.
	VM *InMemoryVMSpec `json:"vm,omitempty"`

	// node defines the behaviour of the Node (the kubelet) hosted on the InMemoryMachine.
	Node *InMemoryNodeSpec `json:"node,omitempty"`

	// apiServer defines the behaviour of the APIServer hosted on the InMemoryMachine.
	APIServer *InMemoryAPIServerSpec `json:"apiServer,omitempty"`

	// etcd defines the behaviour of the etcd member hosted on the InMemoryMachine.
	Etcd *InMemoryEtcdSpec `json:"etcd,omitempty"`
}

InMemoryMachineBackendSpec defines a backend for a DevMachine that runs in memory.

func (*InMemoryMachineBackendSpec) DeepCopy

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

func (*InMemoryMachineBackendSpec) DeepCopyInto

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

type InMemoryNodeSpec

type InMemoryNodeSpec struct {
	// provisioning defines variables influencing how the Node (the kubelet) hosted on the InMemoryMachine is going to be provisioned.
	// NOTE: Node provisioning includes all the steps from starting kubelet to the node become ready, get a provider ID, and being registered in K8s.
	Provisioning CommonProvisioningSettings `json:"provisioning,omitempty"`
}

InMemoryNodeSpec defines the behaviour of the Node (the kubelet) hosted on the InMemoryMachine.

func (*InMemoryNodeSpec) DeepCopy

func (in *InMemoryNodeSpec) DeepCopy() *InMemoryNodeSpec

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

func (*InMemoryNodeSpec) DeepCopyInto

func (in *InMemoryNodeSpec) DeepCopyInto(out *InMemoryNodeSpec)

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

type InMemoryVMSpec

type InMemoryVMSpec struct {
	// provisioning defines variables influencing how the VM implementing the InMemoryMachine is going to be provisioned.
	// NOTE: VM provisioning includes all the steps from creation to power-on.
	Provisioning CommonProvisioningSettings `json:"provisioning,omitempty"`
}

InMemoryVMSpec defines the behaviour of the VM implementing the InMemoryMachine.

func (*InMemoryVMSpec) DeepCopy

func (in *InMemoryVMSpec) DeepCopy() *InMemoryVMSpec

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

func (*InMemoryVMSpec) DeepCopyInto

func (in *InMemoryVMSpec) DeepCopyInto(out *InMemoryVMSpec)

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

type Mount

type Mount struct {
	// Path of the mount within the container.
	ContainerPath string `json:"containerPath,omitempty"`

	// Path of the mount on the host. If the hostPath doesn't exist, then runtimes
	// should report error. If the hostpath is a symbolic link, runtimes should
	// follow the symlink and mount the real destination to container.
	HostPath string `json:"hostPath,omitempty"`

	// If set, the mount is read-only.
	// +optional
	Readonly bool `json:"readOnly,omitempty"`
}

Mount specifies a host volume to mount into a container. This is a simplified version of kind v1alpha4.Mount types.

func (*Mount) DeepCopy

func (in *Mount) DeepCopy() *Mount

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

func (*Mount) DeepCopyInto

func (in *Mount) DeepCopyInto(out *Mount)

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