@@ -23,65 +23,65 @@ import (
23
23
// Conditions and condition Reasons for the DockerMachine object.
24
24
25
25
const (
26
- // ContainerProvisionedCondition documents the status of the provisioning of the container
26
+ // ContainerProvisionedV1Beta1Condition documents the status of the provisioning of the container
27
27
// generated by a DockerMachine.
28
28
//
29
29
// NOTE: When the container provisioning starts the process completes almost immediately and within
30
30
// the same reconciliation, so the user will always see a transition from Wait to Provisioned without
31
31
// having evidence that the operation is started/is in progress.
32
- ContainerProvisionedCondition clusterv1.ConditionType = "ContainerProvisioned"
32
+ ContainerProvisionedV1Beta1Condition clusterv1.ConditionType = "ContainerProvisioned"
33
33
34
- // WaitingForClusterInfrastructureReason (Severity=Info) documents a DockerMachine waiting for the cluster
34
+ // WaitingForClusterInfrastructureV1Beta1Reason (Severity=Info) documents a DockerMachine waiting for the cluster
35
35
// infrastructure to be ready before starting to create the container that provides the DockerMachine
36
36
// infrastructure.
37
- WaitingForClusterInfrastructureReason = "WaitingForClusterInfrastructure"
37
+ WaitingForClusterInfrastructureV1Beta1Reason = "WaitingForClusterInfrastructure"
38
38
39
- // WaitingForBootstrapDataReason (Severity=Info) documents a DockerMachine waiting for the bootstrap
39
+ // WaitingForBootstrapDataV1Beta1Reason (Severity=Info) documents a DockerMachine waiting for the bootstrap
40
40
// script to be ready before starting to create the container that provides the DockerMachine infrastructure.
41
- WaitingForBootstrapDataReason = "WaitingForBootstrapData"
41
+ WaitingForBootstrapDataV1Beta1Reason = "WaitingForBootstrapData"
42
42
43
- // ContainerProvisioningFailedReason (Severity=Warning) documents a DockerMachine controller detecting
43
+ // ContainerProvisioningFailedV1Beta1Reason (Severity=Warning) documents a DockerMachine controller detecting
44
44
// an error while provisioning the container that provides the DockerMachine infrastructure; those kind of
45
45
// errors are usually transient and failed provisioning are automatically re-tried by the controller.
46
- ContainerProvisioningFailedReason = "ContainerProvisioningFailed"
46
+ ContainerProvisioningFailedV1Beta1Reason = "ContainerProvisioningFailed"
47
47
48
- // ContainerDeletedReason (Severity=Error) documents a DockerMachine controller detecting
48
+ // ContainerDeletedV1Beta1Reason (Severity=Error) documents a DockerMachine controller detecting
49
49
// the underlying container has been deleted unexpectedly.
50
- ContainerDeletedReason = "ContainerDeleted"
50
+ ContainerDeletedV1Beta1Reason = "ContainerDeleted"
51
51
)
52
52
53
53
const (
54
- // BootstrapExecSucceededCondition provides an observation of the DockerMachine bootstrap process.
54
+ // BootstrapExecSucceededV1Beta1Condition provides an observation of the DockerMachine bootstrap process.
55
55
// It is set based on successful execution of bootstrap commands and on the existence of
56
56
// the /run/cluster-api/bootstrap-success.complete file.
57
57
// The condition gets generated after ContainerProvisionedCondition is True.
58
58
//
59
59
// NOTE as a difference from other providers, container provisioning and bootstrap are directly managed
60
60
// by the DockerMachine controller (not by cloud-init).
61
- BootstrapExecSucceededCondition clusterv1.ConditionType = "BootstrapExecSucceeded"
61
+ BootstrapExecSucceededV1Beta1Condition clusterv1.ConditionType = "BootstrapExecSucceeded"
62
62
63
- // BootstrappingReason documents (Severity=Info) a DockerMachine currently executing the bootstrap
63
+ // BootstrappingV1Beta1Reason documents (Severity=Info) a DockerMachine currently executing the bootstrap
64
64
// script that creates the Kubernetes node on the newly provisioned machine infrastructure.
65
- BootstrappingReason = "Bootstrapping"
65
+ BootstrappingV1Beta1Reason = "Bootstrapping"
66
66
67
- // BootstrapFailedReason documents (Severity=Warning) a DockerMachine controller detecting an error while
67
+ // BootstrapFailedV1Beta1Reason documents (Severity=Warning) a DockerMachine controller detecting an error while
68
68
// bootstrapping the Kubernetes node on the machine just provisioned; those kind of errors are usually
69
69
// transient and failed bootstrap are automatically re-tried by the controller.
70
- BootstrapFailedReason = "BootstrapFailed"
70
+ BootstrapFailedV1Beta1Reason = "BootstrapFailed"
71
71
)
72
72
73
73
// Conditions and condition Reasons for the DockerCluster object.
74
74
75
75
const (
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.
77
77
//
78
78
// NOTE: When the load balancer provisioning starts the process completes almost immediately and within
79
79
// the same reconciliation, so the user will always see a transition from no condition to available without
80
80
// having evidence that the operation is started/is in progress.
81
- LoadBalancerAvailableCondition clusterv1.ConditionType = "LoadBalancerAvailable"
81
+ LoadBalancerAvailableV1Beta1Condition clusterv1.ConditionType = "LoadBalancerAvailable"
82
82
83
- // LoadBalancerProvisioningFailedReason (Severity=Warning) documents a DockerCluster controller detecting
83
+ // LoadBalancerProvisioningFailedV1Beta1Reason (Severity=Warning) documents a DockerCluster controller detecting
84
84
// an error while provisioning the container that provides the cluster load balancer.; those kind of
85
85
// errors are usually transient and failed provisioning are automatically re-tried by the controller.
86
- LoadBalancerProvisioningFailedReason = "LoadBalancerProvisioningFailed"
86
+ LoadBalancerProvisioningFailedV1Beta1Reason = "LoadBalancerProvisioningFailed"
87
87
)
0 commit comments