From de0be9f4ffb94c8bca74a7da3174e50d93782540 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期六, 02 十一月 2019 16:53:37 +0800
Subject: [PATCH] camera show return runServerName

---
 controllers/cluster.go |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/controllers/cluster.go b/controllers/cluster.go
index f81dade..bfbda95 100644
--- a/controllers/cluster.go
+++ b/controllers/cluster.go
@@ -54,6 +54,21 @@
 	NodeIps []string `json:"nodeIps"`
 }
 
+type ClusterDb struct {
+	ClusterId   string `json:"clusterId"`
+	ClusterName string `json:"clusterName"`
+	Nodes []NodeDb     `json:"nodes"`
+}
+type NodeDb struct {
+	Id string `json:"id"`
+	ClusterId string `json:"cluster_id"`
+	NodeName string `json:"node_name"`
+	NodeId string `json:"node_id"`
+	NodeIp string `json:"node_ip"`
+	CreateTime string `json:"create_time"`
+	IsDelete bool `json:"isDelete"`
+}
+
 // @Security ApiKeyAuth
 // @Summary 鍒涘缓闆嗙兢
 // @Description 鍒涘缓闆嗙兢

--
Gitblit v1.8.0