-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathconditions_consts.go
98 lines (92 loc) · 5.95 KB
/
conditions_consts.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/*
Copyright 2022 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package v1beta1
import clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
const (
// InstanceReadyCondition Ready indicates the instance is in a Running state.
InstanceReadyCondition clusterv1.ConditionType = "InstanceReady"
// InstanceNotFoundReason used when the instance couldn't be retrieved.
InstanceNotFoundReason = "InstanceNotFound"
// InstanceTerminatedReason instance is in a terminated state.
InstanceTerminatedReason = "InstanceTerminated"
// InstanceTerminatingReason instance is in terminating state.
InstanceTerminatingReason = "InstanceTerminating"
// InstanceNotReadyReason used when the instance is in a pending state.
InstanceNotReadyReason = "InstanceNotReady"
// InstanceProvisionStartedReason set when the provisioning of an instance started.
InstanceProvisionStartedReason = "InstanceProvisionStarted"
// InstanceProvisionFailedReason used for failures during instance provisioning.
InstanceProvisionFailedReason = "InstanceProvisionFailed"
// WaitingForClusterInfrastructureReason used when machine is waiting for cluster infrastructure to be ready before proceeding.
WaitingForClusterInfrastructureReason = "WaitingForClusterInfrastructure"
// WaitingForBootstrapDataReason used when machine is waiting for bootstrap data to be ready before proceeding.
WaitingForBootstrapDataReason = "WaitingForBootstrapData"
// InstanceLBackendAdditionFailedReason used when addition to LB backend fails
InstanceLBackendAdditionFailedReason = "BackendAdditionFailed"
// ClusterReadyCondition Ready indicates the cluster is Ready.
ClusterReadyCondition clusterv1.ConditionType = "ClusterReady"
// VcnReconciliationFailedReason used when the vcn reconciliation is failed.
VcnReconciliationFailedReason = "VcnReconciliationFailed"
// DrgReconciliationFailedReason used when the DRG reconciliation fails.
DrgReconciliationFailedReason = "DRGReconciliationFailed"
// DRGVCNAttachmentReconciliationFailedReason used when the DRG VCN Attachment reconciliation fails.
DRGVCNAttachmentReconciliationFailedReason = "DRGVCNAttachmentReconciliationFailed"
// DRGRPCAttachmentReconciliationFailedReason used when the DRG RPC Attachment reconciliation fails.
DRGRPCAttachmentReconciliationFailedReason = "DRGRPCAttachmentReconciliationFailed"
// InternetGatewayReconciliationFailedReason used when the InternetGateway reconciliation is failed.
InternetGatewayReconciliationFailedReason = "InternetGatewayReconciliationFailed"
// NatGatewayReconciliationFailedReason used when the NatGateway reconciliation is failed.
NatGatewayReconciliationFailedReason = "NatGatewayReconciliationFailed"
// ServiceGatewayReconciliationFailedReason used when the ServiceGateway reconciliation is failed.
ServiceGatewayReconciliationFailedReason = "ServiceGatewayReconciliationFailed"
// NSGReconciliationFailedReason used when the NSG reconciliation is failed.
NSGReconciliationFailedReason = "NSGReconciliationFailed"
// RouteTableReconciliationFailedReason used when the RouteTable reconciliation is failed.
RouteTableReconciliationFailedReason = "RouteTableReconciliationFailed"
// SubnetReconciliationFailedReason used when the Subnet reconciliation is failed.
SubnetReconciliationFailedReason = "SubnetReconciliationFailed"
// SecurityListReconciliationFailedReason used when the SecurityList reconciliation is failed.
SecurityListReconciliationFailedReason = "SecurityListReconciliationFailed"
// APIServerLoadBalancerFailedReason used when the Subnet reconciliation is failed.
APIServerLoadBalancerFailedReason = "APIServerLoadBalancerReconciliationFailed"
// FailureDomainFailedReason used when the Subnet reconciliation is failed.
FailureDomainFailedReason = "FailureDomainFailedReconciliationFailed"
// InstanceLBBackendAdditionFailedReason used when addition to LB backend fails
InstanceLBBackendAdditionFailedReason = "BackendAdditionFailed"
// InstanceIPAddressNotFound used when IP address of the instance count not be found
InstanceIPAddressNotFound = "InstanceIPAddressNotFound"
// VcnEventReady used after reconciliation has completed successfully
VcnEventReady = "VCNReady"
// DrgEventReady used after reconciliation has completed successfully
DrgEventReady = "DRGReady"
// DRGVCNAttachmentEventReady used after reconciliation has completed successfully
DRGVCNAttachmentEventReady = "DRGVCNAttachmentEventReady"
// DRGRPCAttachmentEventReady used after reconciliation has completed successfully
DRGRPCAttachmentEventReady = "DRGRPCAttachmentEventReady"
// InternetGatewayEventReady used after reconciliation has completed successfully
InternetGatewayEventReady = "InternetGatewayReady"
// NatEventReady used after reconciliation has completed successfully
NatEventReady = "NATReady"
// ServiceGatewayEventReady used after reconciliation has completed successfully
ServiceGatewayEventReady = "ServiceGatewayReady"
// NetworkSecurityEventReady used after reconciliation has completed successfully
NetworkSecurityEventReady = "NetworkSecurityReady"
// RouteTableEventReady used after reconciliation has completed successfully
RouteTableEventReady = "RouteTableReady"
// SubnetEventReady used after reconciliation has completed successfully
SubnetEventReady = "SubnetReady"
// ApiServerLoadBalancerEventReady used after reconciliation has completed successfully
ApiServerLoadBalancerEventReady = "APIServerLoadBalancerReady"
// FailureDomainEventReady used after reconciliation has completed successfully
FailureDomainEventReady = "FailureDomainsReady"
)