Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type CmdbHostInfo ¶
type DeployDetection ¶
type DeployDetection struct { //clusterid Clusterid string //deploy idc Idc string //idc unit IdcUnit string //deployment json Template commtypes.BcsDeployment //cluster nodes Nodes []*NodeInfo //created application info, include status //if Application!=nil, then the idc has deployed detection node //other else nothing Application *schedtypes.Application //application's taskgroup Pods []*schedtypes.TaskGroup }
DeployDetection detection record
type DetectionPod ¶
type NodeInfo ¶
type NodeInfo struct { //node ip, example 127.0.0.1 Ip string //clusterid, example BCS-MESOS-10001 Clusterid string //node module, distinguish between switches, example 上海-周浦-M3 //scheduler detection container best locate different switches //so best locate different switches Module string //idc info, example 上海-周浦 //every idc deploy three detection containers //when all(three) detection containers can't ping, then give an alarm Idc string //idc unit,对应cmdb机房管理单元 IdcUnit string }
NodeInfo mesos node information
Click to show internal directories.
Click to hide internal directories.