cluster-api: sigs.k8s.io/cluster-api/test/infrastructure/docker/api/v1alpha3 Index | Files

package v1alpha3

import "sigs.k8s.io/cluster-api/test/infrastructure/docker/api/v1alpha3"

+k8s:conversion-gen=sigs.k8s.io/cluster-api/test/infrastructure/docker/api/v1alpha4

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

Index

Package Files

condition_consts.go doc.go dockercluster_types.go dockermachine_types.go dockermachinetemplate_types.go groupversion_info.go zz_generated.conversion.go zz_generated.deepcopy.go

Constants

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"
)
const (
    // BootstrapExecSucceededCondition provide an observation of the DockerMachine bootstrap process.
    // 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"
)
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"
)
const (
    // ClusterFinalizer allows DockerClusterReconciler to clean up resources associated with DockerCluster before
    // removing it from the apiserver.
    ClusterFinalizer = "dockercluster.infrastructure.cluster.x-k8s.io"
)
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

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

    // SchemeBuilder is used to add go types to the GroupVersionKind scheme
    SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

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

func Convert_v1alpha3_APIEndpoint_To_v1alpha4_APIEndpoint Uses

func Convert_v1alpha3_APIEndpoint_To_v1alpha4_APIEndpoint(in *APIEndpoint, out *v1alpha4.APIEndpoint, s conversion.Scope) error

Convert_v1alpha3_APIEndpoint_To_v1alpha4_APIEndpoint is an autogenerated conversion function.

func Convert_v1alpha3_DockerClusterList_To_v1alpha4_DockerClusterList Uses

func Convert_v1alpha3_DockerClusterList_To_v1alpha4_DockerClusterList(in *DockerClusterList, out *v1alpha4.DockerClusterList, s conversion.Scope) error

Convert_v1alpha3_DockerClusterList_To_v1alpha4_DockerClusterList is an autogenerated conversion function.

func Convert_v1alpha3_DockerClusterSpec_To_v1alpha4_DockerClusterSpec Uses

func Convert_v1alpha3_DockerClusterSpec_To_v1alpha4_DockerClusterSpec(in *DockerClusterSpec, out *v1alpha4.DockerClusterSpec, s conversion.Scope) error

Convert_v1alpha3_DockerClusterSpec_To_v1alpha4_DockerClusterSpec is an autogenerated conversion function.

func Convert_v1alpha3_DockerClusterStatus_To_v1alpha4_DockerClusterStatus Uses

func Convert_v1alpha3_DockerClusterStatus_To_v1alpha4_DockerClusterStatus(in *DockerClusterStatus, out *v1alpha4.DockerClusterStatus, s conversion.Scope) error

Convert_v1alpha3_DockerClusterStatus_To_v1alpha4_DockerClusterStatus is an autogenerated conversion function.

func Convert_v1alpha3_DockerCluster_To_v1alpha4_DockerCluster Uses

func Convert_v1alpha3_DockerCluster_To_v1alpha4_DockerCluster(in *DockerCluster, out *v1alpha4.DockerCluster, s conversion.Scope) error

Convert_v1alpha3_DockerCluster_To_v1alpha4_DockerCluster is an autogenerated conversion function.

func Convert_v1alpha3_DockerMachineList_To_v1alpha4_DockerMachineList Uses

func Convert_v1alpha3_DockerMachineList_To_v1alpha4_DockerMachineList(in *DockerMachineList, out *v1alpha4.DockerMachineList, s conversion.Scope) error

Convert_v1alpha3_DockerMachineList_To_v1alpha4_DockerMachineList is an autogenerated conversion function.

func Convert_v1alpha3_DockerMachineSpec_To_v1alpha4_DockerMachineSpec Uses

func Convert_v1alpha3_DockerMachineSpec_To_v1alpha4_DockerMachineSpec(in *DockerMachineSpec, out *v1alpha4.DockerMachineSpec, s conversion.Scope) error

Convert_v1alpha3_DockerMachineSpec_To_v1alpha4_DockerMachineSpec is an autogenerated conversion function.

func Convert_v1alpha3_DockerMachineStatus_To_v1alpha4_DockerMachineStatus Uses

func Convert_v1alpha3_DockerMachineStatus_To_v1alpha4_DockerMachineStatus(in *DockerMachineStatus, out *v1alpha4.DockerMachineStatus, s conversion.Scope) error

Convert_v1alpha3_DockerMachineStatus_To_v1alpha4_DockerMachineStatus is an autogenerated conversion function.

func Convert_v1alpha3_DockerMachineTemplateList_To_v1alpha4_DockerMachineTemplateList Uses

func Convert_v1alpha3_DockerMachineTemplateList_To_v1alpha4_DockerMachineTemplateList(in *DockerMachineTemplateList, out *v1alpha4.DockerMachineTemplateList, s conversion.Scope) error

Convert_v1alpha3_DockerMachineTemplateList_To_v1alpha4_DockerMachineTemplateList is an autogenerated conversion function.

func Convert_v1alpha3_DockerMachineTemplateResource_To_v1alpha4_DockerMachineTemplateResource Uses

func Convert_v1alpha3_DockerMachineTemplateResource_To_v1alpha4_DockerMachineTemplateResource(in *DockerMachineTemplateResource, out *v1alpha4.DockerMachineTemplateResource, s conversion.Scope) error

Convert_v1alpha3_DockerMachineTemplateResource_To_v1alpha4_DockerMachineTemplateResource is an autogenerated conversion function.

func Convert_v1alpha3_DockerMachineTemplateSpec_To_v1alpha4_DockerMachineTemplateSpec Uses

func Convert_v1alpha3_DockerMachineTemplateSpec_To_v1alpha4_DockerMachineTemplateSpec(in *DockerMachineTemplateSpec, out *v1alpha4.DockerMachineTemplateSpec, s conversion.Scope) error

Convert_v1alpha3_DockerMachineTemplateSpec_To_v1alpha4_DockerMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha3_DockerMachineTemplate_To_v1alpha4_DockerMachineTemplate Uses

func Convert_v1alpha3_DockerMachineTemplate_To_v1alpha4_DockerMachineTemplate(in *DockerMachineTemplate, out *v1alpha4.DockerMachineTemplate, s conversion.Scope) error

Convert_v1alpha3_DockerMachineTemplate_To_v1alpha4_DockerMachineTemplate is an autogenerated conversion function.

func Convert_v1alpha3_DockerMachine_To_v1alpha4_DockerMachine Uses

func Convert_v1alpha3_DockerMachine_To_v1alpha4_DockerMachine(in *DockerMachine, out *v1alpha4.DockerMachine, s conversion.Scope) error

Convert_v1alpha3_DockerMachine_To_v1alpha4_DockerMachine is an autogenerated conversion function.

func Convert_v1alpha3_Mount_To_v1alpha4_Mount Uses

func Convert_v1alpha3_Mount_To_v1alpha4_Mount(in *Mount, out *v1alpha4.Mount, s conversion.Scope) error

Convert_v1alpha3_Mount_To_v1alpha4_Mount is an autogenerated conversion function.

func Convert_v1alpha4_APIEndpoint_To_v1alpha3_APIEndpoint Uses

func Convert_v1alpha4_APIEndpoint_To_v1alpha3_APIEndpoint(in *v1alpha4.APIEndpoint, out *APIEndpoint, s conversion.Scope) error

Convert_v1alpha4_APIEndpoint_To_v1alpha3_APIEndpoint is an autogenerated conversion function.

func Convert_v1alpha4_DockerClusterList_To_v1alpha3_DockerClusterList Uses

func Convert_v1alpha4_DockerClusterList_To_v1alpha3_DockerClusterList(in *v1alpha4.DockerClusterList, out *DockerClusterList, s conversion.Scope) error

Convert_v1alpha4_DockerClusterList_To_v1alpha3_DockerClusterList is an autogenerated conversion function.

func Convert_v1alpha4_DockerClusterSpec_To_v1alpha3_DockerClusterSpec Uses

func Convert_v1alpha4_DockerClusterSpec_To_v1alpha3_DockerClusterSpec(in *v1alpha4.DockerClusterSpec, out *DockerClusterSpec, s conversion.Scope) error

Convert_v1alpha4_DockerClusterSpec_To_v1alpha3_DockerClusterSpec is an autogenerated conversion function.

func Convert_v1alpha4_DockerClusterStatus_To_v1alpha3_DockerClusterStatus Uses

func Convert_v1alpha4_DockerClusterStatus_To_v1alpha3_DockerClusterStatus(in *v1alpha4.DockerClusterStatus, out *DockerClusterStatus, s conversion.Scope) error

Convert_v1alpha4_DockerClusterStatus_To_v1alpha3_DockerClusterStatus is an autogenerated conversion function.

func Convert_v1alpha4_DockerCluster_To_v1alpha3_DockerCluster Uses

func Convert_v1alpha4_DockerCluster_To_v1alpha3_DockerCluster(in *v1alpha4.DockerCluster, out *DockerCluster, s conversion.Scope) error

Convert_v1alpha4_DockerCluster_To_v1alpha3_DockerCluster is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachineList_To_v1alpha3_DockerMachineList Uses

func Convert_v1alpha4_DockerMachineList_To_v1alpha3_DockerMachineList(in *v1alpha4.DockerMachineList, out *DockerMachineList, s conversion.Scope) error

Convert_v1alpha4_DockerMachineList_To_v1alpha3_DockerMachineList is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachineSpec_To_v1alpha3_DockerMachineSpec Uses

func Convert_v1alpha4_DockerMachineSpec_To_v1alpha3_DockerMachineSpec(in *v1alpha4.DockerMachineSpec, out *DockerMachineSpec, s conversion.Scope) error

Convert_v1alpha4_DockerMachineSpec_To_v1alpha3_DockerMachineSpec is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachineStatus_To_v1alpha3_DockerMachineStatus Uses

func Convert_v1alpha4_DockerMachineStatus_To_v1alpha3_DockerMachineStatus(in *v1alpha4.DockerMachineStatus, out *DockerMachineStatus, s conversion.Scope) error

Convert_v1alpha4_DockerMachineStatus_To_v1alpha3_DockerMachineStatus is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachineTemplateList_To_v1alpha3_DockerMachineTemplateList Uses

func Convert_v1alpha4_DockerMachineTemplateList_To_v1alpha3_DockerMachineTemplateList(in *v1alpha4.DockerMachineTemplateList, out *DockerMachineTemplateList, s conversion.Scope) error

Convert_v1alpha4_DockerMachineTemplateList_To_v1alpha3_DockerMachineTemplateList is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachineTemplateResource_To_v1alpha3_DockerMachineTemplateResource Uses

func Convert_v1alpha4_DockerMachineTemplateResource_To_v1alpha3_DockerMachineTemplateResource(in *v1alpha4.DockerMachineTemplateResource, out *DockerMachineTemplateResource, s conversion.Scope) error

Convert_v1alpha4_DockerMachineTemplateResource_To_v1alpha3_DockerMachineTemplateResource is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachineTemplateSpec_To_v1alpha3_DockerMachineTemplateSpec Uses

func Convert_v1alpha4_DockerMachineTemplateSpec_To_v1alpha3_DockerMachineTemplateSpec(in *v1alpha4.DockerMachineTemplateSpec, out *DockerMachineTemplateSpec, s conversion.Scope) error

Convert_v1alpha4_DockerMachineTemplateSpec_To_v1alpha3_DockerMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachineTemplate_To_v1alpha3_DockerMachineTemplate Uses

func Convert_v1alpha4_DockerMachineTemplate_To_v1alpha3_DockerMachineTemplate(in *v1alpha4.DockerMachineTemplate, out *DockerMachineTemplate, s conversion.Scope) error

Convert_v1alpha4_DockerMachineTemplate_To_v1alpha3_DockerMachineTemplate is an autogenerated conversion function.

func Convert_v1alpha4_DockerMachine_To_v1alpha3_DockerMachine Uses

func Convert_v1alpha4_DockerMachine_To_v1alpha3_DockerMachine(in *v1alpha4.DockerMachine, out *DockerMachine, s conversion.Scope) error

Convert_v1alpha4_DockerMachine_To_v1alpha3_DockerMachine is an autogenerated conversion function.

func Convert_v1alpha4_Mount_To_v1alpha3_Mount Uses

func Convert_v1alpha4_Mount_To_v1alpha3_Mount(in *v1alpha4.Mount, out *Mount, s conversion.Scope) error

Convert_v1alpha4_Mount_To_v1alpha3_Mount is an autogenerated conversion function.

func RegisterConversions Uses

func RegisterConversions(s *runtime.Scheme) error

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

type APIEndpoint Uses

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 Uses

func (in *APIEndpoint) DeepCopy() *APIEndpoint

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

func (*APIEndpoint) DeepCopyInto Uses

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 Uses

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 Uses

func (in *DockerCluster) DeepCopy() *DockerCluster

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

func (*DockerCluster) DeepCopyInto Uses

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 Uses

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

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

func (*DockerCluster) GetConditions Uses

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

func (*DockerCluster) SetConditions Uses

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

type DockerClusterList Uses

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 Uses

func (in *DockerClusterList) DeepCopy() *DockerClusterList

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

func (*DockerClusterList) DeepCopyInto Uses

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 Uses

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

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

type DockerClusterSpec Uses

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

DockerClusterSpec defines the desired state of DockerCluster.

func (*DockerClusterSpec) DeepCopy Uses

func (in *DockerClusterSpec) DeepCopy() *DockerClusterSpec

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

func (*DockerClusterSpec) DeepCopyInto Uses

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 Uses

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

    // Conditions defines current service state of the DockerCluster.
    // +optional
    Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

DockerClusterStatus defines the observed state of DockerCluster.

func (*DockerClusterStatus) DeepCopy Uses

func (in *DockerClusterStatus) DeepCopy() *DockerClusterStatus

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

func (*DockerClusterStatus) DeepCopyInto Uses

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

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

type DockerMachine Uses

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 Uses

func (in *DockerMachine) DeepCopy() *DockerMachine

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

func (*DockerMachine) DeepCopyInto Uses

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 Uses

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

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

func (*DockerMachine) GetConditions Uses

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

func (*DockerMachine) SetConditions Uses

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

type DockerMachineList Uses

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 Uses

func (in *DockerMachineList) DeepCopy() *DockerMachineList

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

func (*DockerMachineList) DeepCopyInto Uses

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 Uses

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

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

type DockerMachineSpec Uses

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 Uses

func (in *DockerMachineSpec) DeepCopy() *DockerMachineSpec

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

func (*DockerMachineSpec) DeepCopyInto Uses

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 Uses

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 []clusterv1.MachineAddress `json:"addresses,omitempty"`

    // Conditions defines current service state of the DockerMachine.
    // +optional
    Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

DockerMachineStatus defines the observed state of DockerMachine

func (*DockerMachineStatus) DeepCopy Uses

func (in *DockerMachineStatus) DeepCopy() *DockerMachineStatus

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

func (*DockerMachineStatus) DeepCopyInto Uses

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 Uses

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

func (*DockerMachineTemplate) DeepCopy Uses

func (in *DockerMachineTemplate) DeepCopy() *DockerMachineTemplate

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

func (*DockerMachineTemplate) DeepCopyInto Uses

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 Uses

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

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

type DockerMachineTemplateList Uses

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 Uses

func (in *DockerMachineTemplateList) DeepCopy() *DockerMachineTemplateList

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

func (*DockerMachineTemplateList) DeepCopyInto Uses

func (in *DockerMachineTemplateList) DeepCopyInto(out *DockerMachineTemplateList)

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

func (*DockerMachineTemplateList) DeepCopyObject Uses

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

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

type DockerMachineTemplateResource Uses

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 Uses

func (in *DockerMachineTemplateResource) DeepCopy() *DockerMachineTemplateResource

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

func (*DockerMachineTemplateResource) DeepCopyInto Uses

func (in *DockerMachineTemplateResource) DeepCopyInto(out *DockerMachineTemplateResource)

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

type DockerMachineTemplateSpec Uses

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

DockerMachineTemplateSpec defines the desired state of DockerMachineTemplate

func (*DockerMachineTemplateSpec) DeepCopy Uses

func (in *DockerMachineTemplateSpec) DeepCopy() *DockerMachineTemplateSpec

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

func (*DockerMachineTemplateSpec) DeepCopyInto Uses

func (in *DockerMachineTemplateSpec) DeepCopyInto(out *DockerMachineTemplateSpec)

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

type Mount Uses

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 Uses

func (in *Mount) DeepCopy() *Mount

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

func (*Mount) DeepCopyInto Uses

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

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

Package v1alpha3 imports 9 packages (graph) and is imported by 3 packages. Updated 2020-10-29. Refresh now. Tools for package owners.