Documentation ¶
Overview ¶
Package app xxx
Index ¶
Constants ¶
View Source
const ( // IdcId idc id IdcId = "bcs_idc_id" // IdcName idc name IdcName = "bcs_idc_name" // IdcUnitId idc unit id IdcUnitId = "bcs_idc_unit_id" // IdcUnitName idc unit name IdcUnitName = "bcs_idc_unit_name" // Rack rack Rack = "bcs_rack" // SvrTypeName server type name SvrTypeName = "bcs_svr_type_name" // CvmRegion cvm region CvmRegion = "bcs_cvm_region" // CvmZone cvm zone CvmZone = "bcs_cvm_zone" // LabelOfIdcId label of idc id LabelOfIdcId = "bkbcs.tencent.com/idc-id" // LabelOfIdcName label of idc name LabelOfIdcName = "bkbcs.tencent.com/idc-name" // LabelOfIdcUnitId label of idc unit id LabelOfIdcUnitId = "bkbcs.tencent.com/idc-unit-id" // LabelOfIdcUnitName label of idc unit name LabelOfIdcUnitName = "bkbcs.tencent.com/idc-unit-name" // LabelOfRack label of rack LabelOfRack = "bkbcs.tencent.com/rack" // LabelOfSvrTypeName label of server type name LabelOfSvrTypeName = "bkbcs.tencent.com/svr-type-name" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIResponse ¶
type APIResponse struct { Result bool `json:"result"` Code int `json:"code"` Data RespData `json:"data"` Message string `json:"message"` }
APIResponse xxx
type Properties ¶
type Properties struct { HostInnerIP string `json:"bk_host_innerip"` IdcId int `json:"idc_id"` IdcName string `json:"idc_name"` IdcUnitId int `json:"idc_unit_id"` IdcUnitName string `json:"idc_unit_name"` SvrTypeName string `json:"svr_type_name"` Rack string `json:"rack"` }
Properties xxx
type PropertyFilter ¶
PropertyFilter xxx
type RespData ¶
type RespData struct { Count int `json:"count"` Info []Properties `json:"info"` }
RespData xxx
Click to show internal directories.
Click to hide internal directories.