From 6eaea85323c8c3ed228a2d10b3bd011d68165284 Mon Sep 17 00:00:00 2001 From: Krunal Thakkar <121278477+Krunal-Thakkar@users.noreply.github.com> Date: Mon, 3 Jun 2024 11:03:05 +0530 Subject: [PATCH] Virtual IP For MDM (#123) --- types/v1/types.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/types/v1/types.go b/types/v1/types.go index 44e95cc..f7f136a 100644 --- a/types/v1/types.go +++ b/types/v1/types.go @@ -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