Documentation ¶
Overview ¶
Package app xxx
Index ¶
Constants ¶
View Source
const ( // IdcId TODO IdcId = "bcs_idc_id" // IdcName TODO IdcName = "bcs_idc_name" // IdcUnitId TODO IdcUnitId = "bcs_idc_unit_id" // IdcUnitName TODO IdcUnitName = "bcs_idc_unit_name" // Rack TODO Rack = "bcs_rack" // SvrTypeName TODO SvrTypeName = "bcs_svr_type_name" // CvmRegion TODO CvmRegion = "bcs_cvm_region" // CvmZone TODO CvmZone = "bcs_cvm_zone" // LabelOfIdcId TODO LabelOfIdcId = "bkbcs.tencent.com/idc-id" // LabelOfIdcName TODO LabelOfIdcName = "bkbcs.tencent.com/idc-name" // LabelOfIdcUnitId TODO LabelOfIdcUnitId = "bkbcs.tencent.com/idc-unit-id" // LabelOfIdcUnitName TODO LabelOfIdcUnitName = "bkbcs.tencent.com/idc-unit-name" // LabelOfRack TODO LabelOfRack = "bkbcs.tencent.com/rack" // LabelOfSvrTypeName TODO 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.