Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
ManagementAddress string
HostGroupUUID string
HostGroupSecret string
HostUUID string
HostSecret string
// contains filtered or unexported fields
}
Agent type
func (*Agent) Heartbeat ¶
func (a *Agent) Heartbeat(request HeartbeatRequest) error
Heartbeat send a heartbeat to management server
func (*Agent) Join ¶
func (a *Agent) Join(request JoinRequest) error
Join join the host group under the management server
func (*Agent) Report ¶
func (a *Agent) Report(event AgentEvent) error
Report report local actions to the management server
type AgentEvent ¶ added in v0.5.5
Click to show internal directories.
Click to hide internal directories.