node.go 909 字节
Newer Older
E
eoLinker API Management 已提交
1 2
package entity

Y
Your Name 已提交
3
//Node 节点信息
E
eoLinker API Management 已提交
4
type Node struct {
Y
Your Name 已提交
5 6 7 8
	NodeID   int    `json:"nodeID"`
	NodeName string `json:"nodeName"`
	NodeIP   string `json:"nodeIP"`
	NodePort string `json:"nodePort"`
E
eoLinker API Management 已提交
9 10 11 12 13 14 15 16 17

	CreateTime   string `json:"createTime"`
	UpdateTime   string `json:"updateTime"`
	UpdatePeriod int    `json:"updatePeriod,omitempty"`
	Version      string `json:"version"`
	NodeStatus   int    `json:"nodeStatus"`
	GroupID      int    `json:"groupID,omitempty"`
	GroupName    string `json:"groupName,omitempty"`
	IsUpdate     bool   `json:"isUpdate"`
Y
Your Name 已提交
18
	Cluster      string `json:"cluster"`
E
eoLinker API Management 已提交
19
	ClusterTitle string `json:"cluster_title"`
Y
Your Name 已提交
20
	GatewayPath  string `json:"gatewayPath"`
E
eoLinker API Management 已提交
21 22 23 24 25 26 27 28 29 30 31
	//*SSHInfo
}

//type SSHInfo struct {
//	SSHPort     string `json:"sshPort"`
//	UserName    string `json:"userName"`
//	Password    string `json:"password"`
//
//	Key         string `json:"key"`
//	AuthMethod  int    `json:"authMethod"`
//}