Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetMessage ¶
Types ¶
type AgentType ¶ added in v0.4.2
type AgentType struct {
ServiceType string `json:"service_type"`
NsId string `json:"ns_id"`
// 쿠버네티스 모니터링
Mck8sId string `json:"mck8s_id"`
APIServerURL string `json:"apiserver_url"`
ServerCA string `json:"server_ca"`
ClientCA string `json:"client_ca"`
ClientKey string `json:"client_key"`
ClientToken string `json:"client_token"`
PrivateDomain bool `json:"private_domain"`
IP *string `json:"ip"`
// MCIS 모니터링
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"`
AgentState string `json:"agent_state"`
AgentHealth string `json:"agent_health"`
}
type SimpleMsg ¶ added in v0.4.2
type SimpleMsg struct {
Message string `json:"message" example:"Any message"`
}
type SnapShotAgentType ¶ added in v0.7.1
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.