Documentation
¶
Index ¶
- Constants
- func DeleteAgent(nsId string, mcisId string, vmId string, cspType string) error
- func GetPackageName(path string) (string, error)
- func InstallAgent(nsId string, mcisId string, vmId string, publicIp string, userName string, ...) (int, error)
- func ListAgent() (map[string]AgentInfo, error)
- func MakeAgentUUID(nsId string, mcisId string, vmId string, cspType string) string
- func UninstallAgent(nsId string, mcisId string, vmId string, publicIp string, userName string, ...) (int, error)
- type AgentHealth
- type AgentInfo
- func GetAgent(nsId string, mcisId string, vmId string, cspType string) (AgentInfo, error)
- func NewAgentInfo(nsId string, mcisId string, vmId string, cspType string, publicIp string, ...) AgentInfo
- func PutAgent(nsId string, mcisId string, vmId string, cspType string, publicIp string, ...) (string, AgentInfo, error)
- type AgentState
- type AgentType
Constants ¶
View Source
const ( UBUNTU = "UBUNTU" CENTOS = "CENTOS" )
Variables ¶
This section is empty.
Functions ¶
func GetPackageName ¶
func InstallAgent ¶
func MakeAgentUUID ¶
Types ¶
type AgentHealth ¶
type AgentHealth string
AgentHealth 에이전트 구동 상태 (정상, 비정상)
const ( Healthy AgentHealth = "healthy" Unhealthy AgentHealth = "unhealthy" )
type AgentInfo ¶
type AgentInfo struct {
NsId string `json:"ns_id"`
McisId string `json:"mcis_id"`
VmId string `json:"vm_id"`
CspType string `json:"csp_type"`
AgentType string `json:"agent_type"`
AgentState string `json:"agent_state"`
AgentHealth string `json:"agent_health"`
AgentUnhealthyRespCnt int `json:"agent_unhealthy_resp_cnt"`
PublicIp string `json:"public_ip"`
ServiceType string `json:"service_type"`
}
AgentInfo 에이전트 상세 정보
func NewAgentInfo ¶
type AgentState ¶
type AgentState string
AgentState 에이전트 설치 상태 (설치, 제거)
const ( Enable AgentState = "enable" Disable AgentState = "disable" )
Click to show internal directories.
Click to hide internal directories.