Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetMessage ¶
func SetMessage(msg string) echo.Map
Types ¶
type AgentType ¶ added in v0.4.2
type AgentType struct { NsId string `json:"ns_id"` McisId string `json:"mcis_id"` VmId string `json:"vm_id"` PublicIp string `json:"public_ip"` UserName string `json:"user_name"` SshKey string `json:"ssh_key"` CspType string `json:"cspType"` Port string `json:"port"` ServiceType string `json:"service_type"` }
type JSONResult ¶ added in v0.4.2
type JSONResult struct { }
JSONResult's data field will be overridden by the specific type
type SimpleMsg ¶ added in v0.4.2
type SimpleMsg struct {
Message string `json:"message" example:"Any message"`
}
type VMMonInfoTags ¶ added in v0.4.2
type VMMonInfoTags struct {
HostId string `json:"host_id"`
}
type VMMonInfoType ¶ added in v0.4.2
type VMMonInfoType struct { Name string `json:"name"` Tags VMMonInfoTags `json:"tags"` Time string `json:"time"` Values []VMMonInfoValues `json:"values"` }
type VMMonInfoValues ¶ added in v0.4.2
type VMMonInfoValues struct { Free int `json:"free"` ReadBytes float64 `json:"read_bytes"` ReadTime float64 `json:"read_time"` Reads float64 `json:"reads"` Time string `json:"time"` Total int `json:"total"` Used int `json:"used"` UsedPercent float64 `json:"used_percent"` WriteBytes float64 `json:"write_bytes"` WriteTime float64 `json:"write_time"` Writes float64 `json:"writes"` }
type VMOnDemandMetricTags ¶ added in v0.4.2
type VMOnDemandMetricType ¶ added in v0.4.2
type VMOnDemandMetricType struct { Name string `json:"name"` Tags []VMOnDemandMetricTags `json:"tags"` Time string `json:"time"` Values []VMOnDemandMetricValues `json:"values"` }
type VMOnDemandMetricValues ¶ added in v0.4.2
Click to show internal directories.
Click to hide internal directories.