@@ -23,65 +23,65 @@ import (
2323// Conditions and condition Reasons for the DockerMachine object.
2424
2525const (
26- // ContainerProvisionedCondition documents the status of the provisioning of the container
26+ // ContainerProvisionedV1Beta1Condition documents the status of the provisioning of the container
2727 // generated by a DockerMachine.
2828 //
2929 // NOTE: When the container provisioning starts the process completes almost immediately and within
3030 // the same reconciliation, so the user will always see a transition from Wait to Provisioned without
3131 // having evidence that the operation is started/is in progress.
32- ContainerProvisionedCondition clusterv1.ConditionType = "ContainerProvisioned"
32+ ContainerProvisionedV1Beta1Condition clusterv1.ConditionType = "ContainerProvisioned"
3333
34- // WaitingForClusterInfrastructureReason (Severity=Info) documents a DockerMachine waiting for the cluster
34+ // WaitingForClusterInfrastructureV1Beta1Reason (Severity=Info) documents a DockerMachine waiting for the cluster
3535 // infrastructure to be ready before starting to create the container that provides the DockerMachine
3636 // infrastructure.
37- WaitingForClusterInfrastructureReason = "WaitingForClusterInfrastructure"
37+ WaitingForClusterInfrastructureV1Beta1Reason = "WaitingForClusterInfrastructure"
3838
39- // WaitingForBootstrapDataReason (Severity=Info) documents a DockerMachine waiting for the bootstrap
39+ // WaitingForBootstrapDataV1Beta1Reason (Severity=Info) documents a DockerMachine waiting for the bootstrap
4040 // script to be ready before starting to create the container that provides the DockerMachine infrastructure.
41- WaitingForBootstrapDataReason = "WaitingForBootstrapData"
41+ WaitingForBootstrapDataV1Beta1Reason = "WaitingForBootstrapData"
4242
43- // ContainerProvisioningFailedReason (Severity=Warning) documents a DockerMachine controller detecting
43+ // ContainerProvisioningFailedV1Beta1Reason (Severity=Warning) documents a DockerMachine controller detecting
4444 // an error while provisioning the container that provides the DockerMachine infrastructure; those kind of
4545 // errors are usually transient and failed provisioning are automatically re-tried by the controller.
46- ContainerProvisioningFailedReason = "ContainerProvisioningFailed"
46+ ContainerProvisioningFailedV1Beta1Reason = "ContainerProvisioningFailed"
4747
48- // ContainerDeletedReason (Severity=Error) documents a DockerMachine controller detecting
48+ // ContainerDeletedV1Beta1Reason (Severity=Error) documents a DockerMachine controller detecting
4949 // the underlying container has been deleted unexpectedly.
50- ContainerDeletedReason = "ContainerDeleted"
50+ ContainerDeletedV1Beta1Reason = "ContainerDeleted"
5151)
5252
5353const (
54- // BootstrapExecSucceededCondition provides an observation of the DockerMachine bootstrap process.
54+ // BootstrapExecSucceededV1Beta1Condition provides an observation of the DockerMachine bootstrap process.
5555 // It is set based on successful execution of bootstrap commands and on the existence of
5656 // the /run/cluster-api/bootstrap-success.complete file.
5757 // The condition gets generated after ContainerProvisionedCondition is True.
5858 //
5959 // NOTE as a difference from other providers, container provisioning and bootstrap are directly managed
6060 // by the DockerMachine controller (not by cloud-init).
61- BootstrapExecSucceededCondition clusterv1.ConditionType = "BootstrapExecSucceeded"
61+ BootstrapExecSucceededV1Beta1Condition clusterv1.ConditionType = "BootstrapExecSucceeded"
6262
63- // BootstrappingReason documents (Severity=Info) a DockerMachine currently executing the bootstrap
63+ // BootstrappingV1Beta1Reason documents (Severity=Info) a DockerMachine currently executing the bootstrap
6464 // script that creates the Kubernetes node on the newly provisioned machine infrastructure.
65- BootstrappingReason = "Bootstrapping"
65+ BootstrappingV1Beta1Reason = "Bootstrapping"
6666
67- // BootstrapFailedReason documents (Severity=Warning) a DockerMachine controller detecting an error while
67+ // BootstrapFailedV1Beta1Reason documents (Severity=Warning) a DockerMachine controller detecting an error while
6868 // bootstrapping the Kubernetes node on the machine just provisioned; those kind of errors are usually
6969 // transient and failed bootstrap are automatically re-tried by the controller.
70- BootstrapFailedReason = "BootstrapFailed"
70+ BootstrapFailedV1Beta1Reason = "BootstrapFailed"
7171)
7272
7373// Conditions and condition Reasons for the DockerCluster object.
7474
7575const (
76- // LoadBalancerAvailableCondition documents the availability of the container that implements the cluster load balancer.
76+ // LoadBalancerAvailableV1Beta1Condition documents the availability of the container that implements the cluster load balancer.
7777 //
7878 // NOTE: When the load balancer provisioning starts the process completes almost immediately and within
7979 // the same reconciliation, so the user will always see a transition from no condition to available without
8080 // having evidence that the operation is started/is in progress.
81- LoadBalancerAvailableCondition clusterv1.ConditionType = "LoadBalancerAvailable"
81+ LoadBalancerAvailableV1Beta1Condition clusterv1.ConditionType = "LoadBalancerAvailable"
8282
83- // LoadBalancerProvisioningFailedReason (Severity=Warning) documents a DockerCluster controller detecting
83+ // LoadBalancerProvisioningFailedV1Beta1Reason (Severity=Warning) documents a DockerCluster controller detecting
8484 // an error while provisioning the container that provides the cluster load balancer.; those kind of
8585 // errors are usually transient and failed provisioning are automatically re-tried by the controller.
86- LoadBalancerProvisioningFailedReason = "LoadBalancerProvisioningFailed"
86+ LoadBalancerProvisioningFailedV1Beta1Reason = "LoadBalancerProvisioningFailed"
8787)
0 commit comments