Skip to content

Commit

Permalink
Virtual IP For MDM
Browse files Browse the repository at this point in the history
  • Loading branch information
Krunal-Thakkar committed May 31, 2024
1 parent d63da7e commit 350e9b3
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions types/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,16 @@ const (

// MdmCluster defines struct for MDM cluster
type MdmCluster struct {
ID string `json:"id"`
ClusterState string `json:"clusterState"`
ClusterMode string `json:"clusterMode"`
GoodNodesNum int `json:"goodNodesNum"`
GoodReplicasNum int `json:"goodReplicasNum"`
PrimaryMDM Mdm `json:"master"`
SecondaryMDM []Mdm `json:"slaves"`
TiebreakerMdm []Mdm `json:"tieBreakers"`
StandByMdm []Mdm `json:"standbyMDMs"`
ID string `json:"id"`
ClusterState string `json:"clusterState"`
ClusterMode string `json:"clusterMode"`
GoodNodesNum int `json:"goodNodesNum"`
GoodReplicasNum int `json:"goodReplicasNum"`
VirtualIPs []string `json:"virtualIps"`
PrimaryMDM Mdm `json:"master"`
SecondaryMDM []Mdm `json:"slaves"`
TiebreakerMdm []Mdm `json:"tieBreakers"`
StandByMdm []Mdm `json:"standbyMDMs"`
}

// Mdm defines struct for a MDM
Expand Down

0 comments on commit 350e9b3

Please sign in to comment.