v1alpha4

package
v1.9.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package v1alpha4 contains the v1alpha4 API implementation. +k8s:conversion-gen=sigs.k8s.io/cluster-api/test/infrastructure/docker/api/v1beta1

Deprecated: This package will be removed in one of the next releases.

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

Index

Constants

View Source
const (
	// ContainerProvisionedCondition 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.
	ContainerProvisionedCondition clusterv1.ConditionType = "ContainerProvisioned"

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

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

	// ContainerProvisioningFailedReason (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.
	ContainerProvisioningFailedReason = "ContainerProvisioningFailed"
)
View Source
const (
	// BootstrapExecSucceededCondition 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).
	BootstrapExecSucceededCondition clusterv1.ConditionType = "BootstrapExecSucceeded"

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

	// BootstrapFailedReason 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.
	BootstrapFailedReason = "BootstrapFailed"
)
View Source
const (
	// LoadBalancerAvailableCondition 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.
	LoadBalancerAvailableCondition clusterv1.ConditionType = "LoadBalancerAvailable"

	// LoadBalancerProvisioningFailedReason (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.
	LoadBalancerProvisioningFailedReason = "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 (
	// MachineFinalizer allows ReconcileDockerMachine to clean up resources associated with AWSMachine 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: "v1alpha4"}

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

Functions

func Convert_v1alpha4_APIEndpoint_To_v1beta1_APIEndpoint added in v1.0.0

func Convert_v1alpha4_APIEndpoint_To_v1beta1_APIEndpoint(in *APIEndpoint, out *v1beta1.APIEndpoint, s conversion.Scope) error

Convert_v1alpha4_APIEndpoint_To_v1beta1_APIEndpoint is an autogenerated conversion function.

func Convert_v1alpha4_DockerClusterList_To_v1beta1_DockerClusterList added in v1.0.0

func Convert_v1alpha4_DockerClusterList_To_v1beta1_DockerClusterList(in *DockerClusterList, out *v1beta1.DockerClusterList, s conversion.Scope) error

Convert_v1alpha4_DockerClusterList_To_v1beta1_DockerClusterList is an autogenerated conversion function.

func Convert_v1alpha4_DockerClusterSpec_To_v1beta1_DockerClusterSpec added in v1.0.0

func Convert_v1alpha4_DockerClusterSpec_To_v1beta1_DockerClusterSpec(in *DockerClusterSpec, out *v1beta1.DockerClusterSpec, s conversion.Scope) error

Convert_v1alpha4_DockerClusterSpec_To_v1beta1_DockerClusterSpec is an autogenerated conversion function.

func Convert_v1alpha4_DockerClusterStatus_To_v1beta1_DockerClusterStatus added in v1.0.0

func Convert_v1alpha4_DockerClusterStatus_To_v1beta1_DockerClusterStatus(in *DockerClusterStatus, out *v1beta1.DockerClusterStatus, s conversion.Scope) error

Convert_v1alpha4_DockerClusterStatus_To_v1beta1_DockerClusterStatus is an autogenerated conversion function.

func Convert_v1alpha4_DockerClusterTemplateList_To_v1beta1_DockerClusterTemplateList added in v1.0.0

func Convert_v1alpha4_DockerClusterTemplateList_To_v1beta1_DockerClusterTemplateList(in *DockerClusterTemplateList, out *v1beta1.DockerClusterTemplateList, s conversion.Scope) error

Convert_v1alpha4_DockerClusterTemplateList_To_v1beta1_DockerClusterTemplateList is an autogenerated conversion function.

func Convert_v1alpha4_DockerClusterTemplateResource_To_v1beta1_DockerClusterTemplateResource added in v1.0.0

func Convert_v1alpha4_DockerClusterTemplateResource_To_v1beta1_DockerClusterTemplateResource(in *DockerClusterTemplateResource, out *v1beta1.DockerClusterTemplateResource, s conversion.Scope) error

Convert_v1alpha4_DockerClusterTemplateResource_To_v1beta1_DockerClusterTemplateResource is an autogenerated conversion function.

func Convert_v1alpha4_DockerClusterTemplateSpec_To_v1beta1_DockerClusterTemplateSpec added in v1.0.0

func Convert_v1alpha4_DockerClusterTemplateSpec_To_v1beta1_DockerClusterTemplateSpec(in *DockerClusterTemplateSpec, out *v1beta1.DockerClusterTemplateSpec, s conversion.Scope) error

Convert_v1alpha4_DockerClusterTemplateSpec_To_v1beta1_DockerClusterTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha4_DockerClusterTemplate_To_v1beta1_DockerClusterTemplate added in v1.0.0

func Convert_v1alpha4_DockerClusterTemplate_To_v1beta1_DockerClusterTemplate(in *DockerClusterTemplate, out *v1beta1.DockerClusterTemplate, s conversion.Scope) error

Convert_v1alpha4_DockerClusterTemplate_To_v1beta1_DockerClusterTemplate is an autogenerated conversion function.

func Convert_v1alpha4_DockerCluster_To_v1beta1_DockerCluster added in v1.0.0

func Convert_v1alpha4_DockerCluster_To_v1beta1_DockerCluster(in *DockerCluster, out *v1beta1.DockerCluster, s conversion.Scope) error

Convert_v1alpha4_DockerCluster_To_v1beta1_DockerCluster is an autogenerated conversion function.

func Convert_v1alpha4_DockerLoadBalancer_To_v1beta1_DockerLoadBalancer added in v1.0.0

func Convert_v1alpha4_DockerLoadBalancer_To_v1beta1_DockerLoadBalancer(in *DockerLoadBalancer, out *v1beta1.DockerLoadBalancer, s conversion.Scope) error

Convert_v1alpha4_DockerLoadBalancer_To_v1beta1_DockerLoadBalancer is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachineList_To_v1beta1_DockerMachineList added in v1.0.0

func Convert_v1alpha4_DockerMachineList_To_v1beta1_DockerMachineList(in *DockerMachineList, out *v1beta1.DockerMachineList, s conversion.Scope) error

Convert_v1alpha4_DockerMachineList_To_v1beta1_DockerMachineList is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachineSpec_To_v1beta1_DockerMachineSpec added in v1.0.0

func Convert_v1alpha4_DockerMachineSpec_To_v1beta1_DockerMachineSpec(in *DockerMachineSpec, out *v1beta1.DockerMachineSpec, s conversion.Scope) error

Convert_v1alpha4_DockerMachineSpec_To_v1beta1_DockerMachineSpec is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachineStatus_To_v1beta1_DockerMachineStatus added in v1.0.0

func Convert_v1alpha4_DockerMachineStatus_To_v1beta1_DockerMachineStatus(in *DockerMachineStatus, out *v1beta1.DockerMachineStatus, s conversion.Scope) error

Convert_v1alpha4_DockerMachineStatus_To_v1beta1_DockerMachineStatus is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachineTemplateList_To_v1beta1_DockerMachineTemplateList added in v1.0.0

func Convert_v1alpha4_DockerMachineTemplateList_To_v1beta1_DockerMachineTemplateList(in *DockerMachineTemplateList, out *v1beta1.DockerMachineTemplateList, s conversion.Scope) error

Convert_v1alpha4_DockerMachineTemplateList_To_v1beta1_DockerMachineTemplateList is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachineTemplateResource_To_v1beta1_DockerMachineTemplateResource added in v1.0.0

func Convert_v1alpha4_DockerMachineTemplateResource_To_v1beta1_DockerMachineTemplateResource(in *DockerMachineTemplateResource, out *v1beta1.DockerMachineTemplateResource, s conversion.Scope) error

Convert_v1alpha4_DockerMachineTemplateResource_To_v1beta1_DockerMachineTemplateResource is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachineTemplateSpec_To_v1beta1_DockerMachineTemplateSpec added in v1.0.0

func Convert_v1alpha4_DockerMachineTemplateSpec_To_v1beta1_DockerMachineTemplateSpec(in *DockerMachineTemplateSpec, out *v1beta1.DockerMachineTemplateSpec, s conversion.Scope) error

Convert_v1alpha4_DockerMachineTemplateSpec_To_v1beta1_DockerMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachineTemplate_To_v1beta1_DockerMachineTemplate added in v1.0.0

func Convert_v1alpha4_DockerMachineTemplate_To_v1beta1_DockerMachineTemplate(in *DockerMachineTemplate, out *v1beta1.DockerMachineTemplate, s conversion.Scope) error

Convert_v1alpha4_DockerMachineTemplate_To_v1beta1_DockerMachineTemplate is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachine_To_v1beta1_DockerMachine added in v1.0.0

func Convert_v1alpha4_DockerMachine_To_v1beta1_DockerMachine(in *DockerMachine, out *v1beta1.DockerMachine, s conversion.Scope) error

Convert_v1alpha4_DockerMachine_To_v1beta1_DockerMachine is an autogenerated conversion function.

func Convert_v1alpha4_ImageMeta_To_v1beta1_ImageMeta added in v1.0.0

func Convert_v1alpha4_ImageMeta_To_v1beta1_ImageMeta(in *ImageMeta, out *v1beta1.ImageMeta, s conversion.Scope) error

Convert_v1alpha4_ImageMeta_To_v1beta1_ImageMeta is an autogenerated conversion function.

func Convert_v1alpha4_Mount_To_v1beta1_Mount added in v1.0.0

func Convert_v1alpha4_Mount_To_v1beta1_Mount(in *Mount, out *v1beta1.Mount, s conversion.Scope) error

Convert_v1alpha4_Mount_To_v1beta1_Mount is an autogenerated conversion function.

func Convert_v1beta1_APIEndpoint_To_v1alpha4_APIEndpoint added in v1.0.0

func Convert_v1beta1_APIEndpoint_To_v1alpha4_APIEndpoint(in *v1beta1.APIEndpoint, out *APIEndpoint, s conversion.Scope) error

Convert_v1beta1_APIEndpoint_To_v1alpha4_APIEndpoint is an autogenerated conversion function.

func Convert_v1beta1_DockerClusterList_To_v1alpha4_DockerClusterList added in v1.0.0

func Convert_v1beta1_DockerClusterList_To_v1alpha4_DockerClusterList(in *v1beta1.DockerClusterList, out *DockerClusterList, s conversion.Scope) error

Convert_v1beta1_DockerClusterList_To_v1alpha4_DockerClusterList is an autogenerated conversion function.

func Convert_v1beta1_DockerClusterSpec_To_v1alpha4_DockerClusterSpec added in v1.0.0

func Convert_v1beta1_DockerClusterSpec_To_v1alpha4_DockerClusterSpec(in *v1beta1.DockerClusterSpec, out *DockerClusterSpec, s conversion.Scope) error

Convert_v1beta1_DockerClusterSpec_To_v1alpha4_DockerClusterSpec is an autogenerated conversion function.

func Convert_v1beta1_DockerClusterStatus_To_v1alpha4_DockerClusterStatus added in v1.0.0

func Convert_v1beta1_DockerClusterStatus_To_v1alpha4_DockerClusterStatus(in *infrav1.DockerClusterStatus, out *DockerClusterStatus, s apiconversion.Scope) error

func Convert_v1beta1_DockerClusterTemplateList_To_v1alpha4_DockerClusterTemplateList added in v1.0.0

func Convert_v1beta1_DockerClusterTemplateList_To_v1alpha4_DockerClusterTemplateList(in *v1beta1.DockerClusterTemplateList, out *DockerClusterTemplateList, s conversion.Scope) error

Convert_v1beta1_DockerClusterTemplateList_To_v1alpha4_DockerClusterTemplateList is an autogenerated conversion function.

func Convert_v1beta1_DockerClusterTemplateResource_To_v1alpha4_DockerClusterTemplateResource added in v1.0.0

func Convert_v1beta1_DockerClusterTemplateResource_To_v1alpha4_DockerClusterTemplateResource(in *infrav1.DockerClusterTemplateResource, out *DockerClusterTemplateResource, s apiconversion.Scope) error

func Convert_v1beta1_DockerClusterTemplateSpec_To_v1alpha4_DockerClusterTemplateSpec added in v1.0.0

func Convert_v1beta1_DockerClusterTemplateSpec_To_v1alpha4_DockerClusterTemplateSpec(in *v1beta1.DockerClusterTemplateSpec, out *DockerClusterTemplateSpec, s conversion.Scope) error

Convert_v1beta1_DockerClusterTemplateSpec_To_v1alpha4_DockerClusterTemplateSpec is an autogenerated conversion function.

func Convert_v1beta1_DockerClusterTemplate_To_v1alpha4_DockerClusterTemplate added in v1.0.0

func Convert_v1beta1_DockerClusterTemplate_To_v1alpha4_DockerClusterTemplate(in *v1beta1.DockerClusterTemplate, out *DockerClusterTemplate, s conversion.Scope) error

Convert_v1beta1_DockerClusterTemplate_To_v1alpha4_DockerClusterTemplate is an autogenerated conversion function.

func Convert_v1beta1_DockerCluster_To_v1alpha4_DockerCluster added in v1.0.0

func Convert_v1beta1_DockerCluster_To_v1alpha4_DockerCluster(in *v1beta1.DockerCluster, out *DockerCluster, s conversion.Scope) error

Convert_v1beta1_DockerCluster_To_v1alpha4_DockerCluster is an autogenerated conversion function.

func Convert_v1beta1_DockerLoadBalancer_To_v1alpha4_DockerLoadBalancer added in v1.0.0

func Convert_v1beta1_DockerLoadBalancer_To_v1alpha4_DockerLoadBalancer(in *infrav1.DockerLoadBalancer, out *DockerLoadBalancer, s apiconversion.Scope) error

func Convert_v1beta1_DockerMachineList_To_v1alpha4_DockerMachineList added in v1.0.0

func Convert_v1beta1_DockerMachineList_To_v1alpha4_DockerMachineList(in *v1beta1.DockerMachineList, out *DockerMachineList, s conversion.Scope) error

Convert_v1beta1_DockerMachineList_To_v1alpha4_DockerMachineList is an autogenerated conversion function.

func Convert_v1beta1_DockerMachineSpec_To_v1alpha4_DockerMachineSpec added in v1.0.0

func Convert_v1beta1_DockerMachineSpec_To_v1alpha4_DockerMachineSpec(in *infrav1.DockerMachineSpec, out *DockerMachineSpec, s apiconversion.Scope) error

func Convert_v1beta1_DockerMachineStatus_To_v1alpha4_DockerMachineStatus added in v1.0.0

func Convert_v1beta1_DockerMachineStatus_To_v1alpha4_DockerMachineStatus(in *infrav1.DockerMachineStatus, out *DockerMachineStatus, s apiconversion.Scope) error

func Convert_v1beta1_DockerMachineTemplateList_To_v1alpha4_DockerMachineTemplateList added in v1.0.0

func Convert_v1beta1_DockerMachineTemplateList_To_v1alpha4_DockerMachineTemplateList(in *v1beta1.DockerMachineTemplateList, out *DockerMachineTemplateList, s conversion.Scope) error

Convert_v1beta1_DockerMachineTemplateList_To_v1alpha4_DockerMachineTemplateList is an autogenerated conversion function.

func Convert_v1beta1_DockerMachineTemplateResource_To_v1alpha4_DockerMachineTemplateResource added in v1.0.0

func Convert_v1beta1_DockerMachineTemplateResource_To_v1alpha4_DockerMachineTemplateResource(in *infrav1.DockerMachineTemplateResource, out *DockerMachineTemplateResource, s apiconversion.Scope) error

func Convert_v1beta1_DockerMachineTemplateSpec_To_v1alpha4_DockerMachineTemplateSpec added in v1.0.0

func Convert_v1beta1_DockerMachineTemplateSpec_To_v1alpha4_DockerMachineTemplateSpec(in *v1beta1.DockerMachineTemplateSpec, out *DockerMachineTemplateSpec, s conversion.Scope) error

Convert_v1beta1_DockerMachineTemplateSpec_To_v1alpha4_DockerMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1beta1_DockerMachineTemplate_To_v1alpha4_DockerMachineTemplate added in v1.0.0

func Convert_v1beta1_DockerMachineTemplate_To_v1alpha4_DockerMachineTemplate(in *v1beta1.DockerMachineTemplate, out *DockerMachineTemplate, s conversion.Scope) error

Convert_v1beta1_DockerMachineTemplate_To_v1alpha4_DockerMachineTemplate is an autogenerated conversion function.

func Convert_v1beta1_DockerMachine_To_v1alpha4_DockerMachine added in v1.0.0

func Convert_v1beta1_DockerMachine_To_v1alpha4_DockerMachine(in *v1beta1.DockerMachine, out *DockerMachine, s conversion.Scope) error

Convert_v1beta1_DockerMachine_To_v1alpha4_DockerMachine is an autogenerated conversion function.

func Convert_v1beta1_ImageMeta_To_v1alpha4_ImageMeta added in v1.0.0

func Convert_v1beta1_ImageMeta_To_v1alpha4_ImageMeta(in *v1beta1.ImageMeta, out *ImageMeta, s conversion.Scope) error

Convert_v1beta1_ImageMeta_To_v1alpha4_ImageMeta is an autogenerated conversion function.

func Convert_v1beta1_Mount_To_v1alpha4_Mount added in v1.0.0

func Convert_v1beta1_Mount_To_v1alpha4_Mount(in *v1beta1.Mount, out *Mount, s conversion.Scope) error

Convert_v1beta1_Mount_To_v1alpha4_Mount is an autogenerated conversion function.

func RegisterConversions added in v1.0.0

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

Types

type APIEndpoint

type APIEndpoint struct {
	// Host is the hostname on which the API server is serving.
	Host string `json:"host"`

	// Port is the port on which the API server is serving.
	Port int `json:"port"`
}

APIEndpoint represents a reachable Kubernetes API endpoint.

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 DockerCluster deprecated

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.

Deprecated: This type will be removed in one of the next releases.

func (*DockerCluster) ConvertFrom added in v1.0.0

func (dst *DockerCluster) ConvertFrom(srcRaw conversion.Hub) error

func (*DockerCluster) ConvertTo added in v1.0.0

func (src *DockerCluster) ConvertTo(dstRaw conversion.Hub) error

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() clusterv1alpha4.Conditions

GetConditions returns the set of conditions for this object.

func (*DockerCluster) SetConditions

func (c *DockerCluster) SetConditions(conditions clusterv1alpha4.Conditions)

SetConditions sets the conditions on this object.

type DockerClusterList deprecated

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

DockerClusterList contains a list of DockerCluster.

Deprecated: This type will be removed in one of the next releases.

func (*DockerClusterList) ConvertFrom added in v1.0.0

func (dst *DockerClusterList) ConvertFrom(srcRaw conversion.Hub) error

func (*DockerClusterList) ConvertTo added in v1.0.0

func (src *DockerClusterList) ConvertTo(dstRaw conversion.Hub) error

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"`

	// FailureDomains are not usulaly defined on 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
	FailureDomains clusterv1alpha4.FailureDomains `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 {
	// Ready denotes that the docker cluster (infrastructure) is ready.
	Ready bool `json:"ready"`

	// FailureDomains 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.
	FailureDomains clusterv1alpha4.FailureDomains `json:"failureDomains,omitempty"`

	// Conditions defines current service state of the DockerCluster.
	// +optional
	Conditions clusterv1alpha4.Conditions `json:"conditions,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 deprecated added in v0.4.1

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.

Deprecated: This type will be removed in one of the next releases.

func (*DockerClusterTemplate) ConvertFrom added in v1.0.0

func (dst *DockerClusterTemplate) ConvertFrom(srcRaw conversion.Hub) error

func (*DockerClusterTemplate) ConvertTo added in v1.0.0

func (src *DockerClusterTemplate) ConvertTo(dstRaw conversion.Hub) error

func (*DockerClusterTemplate) DeepCopy added in v0.4.1

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

func (*DockerClusterTemplate) DeepCopyInto added in v0.4.1

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

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

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

type DockerClusterTemplateList deprecated added in v0.4.1

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

DockerClusterTemplateList contains a list of DockerClusterTemplate.

Deprecated: This type will be removed in one of the next releases.

func (*DockerClusterTemplateList) ConvertFrom added in v1.0.0

func (dst *DockerClusterTemplateList) ConvertFrom(srcRaw conversion.Hub) error

func (*DockerClusterTemplateList) ConvertTo added in v1.0.0

func (src *DockerClusterTemplateList) ConvertTo(dstRaw conversion.Hub) error

func (*DockerClusterTemplateList) DeepCopy added in v0.4.1

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

func (*DockerClusterTemplateList) DeepCopyInto added in v0.4.1

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

func (*DockerClusterTemplateList) DeepCopyObject added in v0.4.1

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

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

type DockerClusterTemplateResource added in v0.4.1

type DockerClusterTemplateResource struct {
	Spec DockerClusterSpec `json:"spec"`
}

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

func (*DockerClusterTemplateResource) DeepCopy added in v0.4.1

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

func (*DockerClusterTemplateResource) DeepCopyInto added in v0.4.1

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

type DockerClusterTemplateSpec added in v0.4.1

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

DockerClusterTemplateSpec defines the desired state of DockerClusterTemplate.

func (*DockerClusterTemplateSpec) DeepCopy added in v0.4.1

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

func (*DockerClusterTemplateSpec) DeepCopyInto added in v0.4.1

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

type DockerLoadBalancer added in v0.4.1

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

DockerLoadBalancer allows defining configurations for the cluster load balancer.

func (*DockerLoadBalancer) DeepCopy added in v0.4.1

func (in *DockerLoadBalancer) DeepCopy() *DockerLoadBalancer

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

func (*DockerLoadBalancer) DeepCopyInto added in v0.4.1

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 deprecated

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.

Deprecated: This type will be removed in one of the next releases.

func (*DockerMachine) ConvertFrom added in v1.0.0

func (dst *DockerMachine) ConvertFrom(srcRaw conversion.Hub) error

func (*DockerMachine) ConvertTo added in v1.0.0

func (src *DockerMachine) ConvertTo(dstRaw conversion.Hub) error

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() clusterv1alpha4.Conditions

GetConditions returns the set of conditions for this object.

func (*DockerMachine) SetConditions

func (c *DockerMachine) SetConditions(conditions clusterv1alpha4.Conditions)

SetConditions sets the conditions on this object.

type DockerMachineList deprecated

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

DockerMachineList contains a list of DockerMachine.

Deprecated: This type will be removed in one of the next releases.

func (*DockerMachineList) ConvertFrom added in v1.0.0

func (dst *DockerMachineList) ConvertFrom(srcRaw conversion.Hub) error

func (*DockerMachineList) ConvertTo added in v1.0.0

func (src *DockerMachineList) ConvertTo(dstRaw conversion.Hub) error

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
	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
	// +optional
	Bootstrapped bool `json:"bootstrapped,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 {
	// Ready denotes that the machine (docker container) is ready
	// +optional
	Ready bool `json:"ready"`

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

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

	// Conditions defines current service state of the DockerMachine.
	// +optional
	Conditions clusterv1alpha4.Conditions `json:"conditions,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 deprecated

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

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

DockerMachineTemplate is the Schema for the dockermachinetemplates API.

Deprecated: This type will be removed in one of the next releases.

func (*DockerMachineTemplate) ConvertFrom added in v1.0.0

func (dst *DockerMachineTemplate) ConvertFrom(srcRaw conversion.Hub) error

func (*DockerMachineTemplate) ConvertTo added in v1.0.0

func (src *DockerMachineTemplate) ConvertTo(dstRaw conversion.Hub) error

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.

type DockerMachineTemplateList deprecated

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

DockerMachineTemplateList contains a list of DockerMachineTemplate.

Deprecated: This type will be removed in one of the next releases.

func (*DockerMachineTemplateList) ConvertFrom added in v1.0.0

func (dst *DockerMachineTemplateList) ConvertFrom(srcRaw conversion.Hub) error

func (*DockerMachineTemplateList) ConvertTo added in v1.0.0

func (src *DockerMachineTemplateList) ConvertTo(dstRaw conversion.Hub) error

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 {
	// 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 ImageMeta added in v0.4.1

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

func (in *ImageMeta) DeepCopy() *ImageMeta

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

func (*ImageMeta) DeepCopyInto added in v0.4.1

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

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