Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitCronjob ¶
func InitCronjob()
func Status2Cond ¶
Types ¶
type DescribeAgentData ¶
type DescribeAgentData struct { Running int64 `json:"running" bson:"running"` Offline int64 `json:"offline" bson:"offline"` Memory int64 `json:"memory" bson:"memory,truncate"` CPU float64 `json:"cpu" bson:"cpu"` RunningDiff int64 `json:"running_diff" bson:"running_diff"` OfflineDiff int64 `json:"offline_diff" bson:"offline_diff"` MemoryDiff int64 `json:"memory_diff" bson:"memory_diff,truncate"` CPUDiff float64 `json:"cpu_diff" bson:"cpu_diff"` }
Click to show internal directories.
Click to hide internal directories.