Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent is the manager for all other routines in the agent. It launches the container manager, and all external connections, to Docker and the master. Once launched, it takes actions directed by the master and monitors the subroutines for failure. The agent fails and enters the recovery flow on the failure of any component.
type MasterWebsocket ¶
type MasterWebsocket = ws.WebSocket[*aproto.AgentMessage, *aproto.MasterMessage]
MasterWebsocket is the type for a websocket which communicates with the master.
Click to show internal directories.
Click to hide internal directories.