Documentation ¶
Index ¶
Constants ¶
View Source
const (
FileConnectFlag = "<!|!>"
)
define const vars
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentBase ¶
type AgentBase struct { IP string `json:"ip"` Port int `json:"port"` Message string `json:"message"` Cluster string `json:"cluster"` Labels map[string]string `json:"labels"` }
AgentBase : agent info
type AgentInfo ¶
type AgentInfo struct { Base AgentBase `json:"base"` Total Resource `json:"total"` Free Resource `json:"free"` }
AgentInfo : agent info
type ReportAgentResource ¶
type ReportAgentResource struct {
AgentInfo
}
ReportAgentResource : struct of report resource
Click to show internal directories.
Click to hide internal directories.