Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentServer ¶
type AgentServer struct { // Hostname is agent server hostname Hostname string // contains filtered or unexported fields }
AgentServer is agent server ui model
func CreateAgentServer ¶
func CreateAgentServer(page *web.Page, cssSelector string) AgentServer
CreateAgentServer finds agent servers on the page and creates ui models
func (*AgentServer) GetIPs ¶
func (a *AgentServer) GetIPs() []string
GetIPs returns the list of all server IPs
func (*AgentServer) NeedsDockerDevice ¶
func (a *AgentServer) NeedsDockerDevice() bool
NeedsDockerDevice checks if this server needs a dedicated device for dock
func (*AgentServer) SetDockerDevice ¶
func (a *AgentServer) SetDockerDevice(value string)
SetDockerDevice assigns docker device to this server
func (*AgentServer) SetIP ¶
func (a *AgentServer) SetIP(value string)
SetIP assigns IP to this server
func (*AgentServer) SetIPByInfra ¶
func (a *AgentServer) SetIPByInfra(provisioner infra.Provisioner)
Click to show internal directories.
Click to hide internal directories.