/
event_types.go
51 lines (45 loc) 路 2.9 KB
/
event_types.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
package v1alpha1
const (
// ReasonReplicationConfiguring indicates that replication is being configured.
ReasonReplicationConfiguring = "ReplicationConfiguring"
// ReasonReplicationConfigured indicates that replication has been configured.
ReasonReplicationConfigured = "ReplicationConfigured"
// ReasonReplicationPrimaryLock indicates that primary tables have a read lock.
ReasonReplicationPrimaryLock = "PrimaryLock"
// ReasonReplicationPrimaryReadonly indicates that primary is being changed to readonly mode.
ReasonReplicationPrimaryReadonly = "PrimaryReadonly"
// ReasonReplicationReplicaSync indicates that replicas are being synced with primary.
ReasonReplicationReplicaSync = "ReplicaSync"
// ReasonReplicationReplicaSyncErr indicates that an error has happened while replicas were being synced with primary.
ReasonReplicationReplicaSyncErr = "ReplicaSyncErr"
// ReasonReplicationPrimaryNew indicates that a new primary is being configured.
ReasonReplicationPrimaryNew = "PrimaryNew"
// ReasonReplicationReplicaConn indicates that replicas are connecting to the new primary.
ReasonReplicationReplicaConn = "ReplicaConn"
// ReasonReplicationPrimaryToReplica indicates that current primary is being unlocked to become a replica.
ReasonReplicationPrimaryToReplica = "PrimaryToReplica"
// ReasonGaleraClusterHealthy indicates that the cluster is healthy,
ReasonGaleraClusterHealthy = "GaleraClusterHealthy"
// ReasonGaleraClusterNotHealthy indicates that the cluster is not healthy.
ReasonGaleraClusterNotHealthy = "GaleraClusterNotHealthy"
// ReasonGaleraClusterBootstrap indicates that the cluster is being bootstrapped.
ReasonGaleraClusterBootstrap = "GaleraClusterBootstrap"
// ReasonGaleraClusterBootstrapTimeout indicates that the cluster bootstrap has timed out.
ReasonGaleraClusterBootstrapTimeout = "GaleraClusterBootstrapTimeout"
// ReasonGaleraPodStateFetched indicates that the Pod state has been fetched successfully.
ReasonGaleraPodStateFetched = "GaleraPodStateFetched"
// ReasonGaleraPodRecovered indicates that the Pod has successfully recovered the sequence.
ReasonGaleraPodRecovered = "GaleraPodRecovered"
// ReasonGaleraPodSyncTimeout indicates that the Pod has timed out reaching the Sync state.
ReasonGaleraPodSyncTimeout = "GaleraPodSyncTimeout"
// ReasonPrimarySwitching indicates that primary is being switched.
ReasonPrimarySwitching = "PrimarySwitching"
// ReasonPrimarySwitched indicates that primary has been switched.
ReasonPrimarySwitched = "PrimarySwitched"
// ReasonMaxScalePrimaryServerChanged indicates that the primary server managed by MaxScale has changed.
ReasonMaxScalePrimaryServerChanged = "MaxScalePrimaryServerChanged"
// ReasonWebhookUpdateFailed indicates that the webhook configuration update failed.
ReasonWebhookUpdateFailed = "WebhookUpdateFailed"
// ReasonCRDNotFound indicates that a third party CRD is not present in the cluster.
ReasonCRDNotFound = "CRDNotFound"
)