Documentation
¶
Index ¶
Constants ¶
View Source
const ( NodeBaseOS = "BASE_OS" NodeArch = "ARCH" NodeGroupRandomOnePerGroup = "random-one-per-group" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
type Node struct {
Name string `json:"name"`
User string `json:"user"`
Address string `json:"address"`
Port int `json:"port,omitempty"`
BaseOS string `json:"baseos"`
Arch string `json:"arch"`
SSHPassword string `json:"password"`
SSHKey string `json:"privatekey"`
Tags []string `json:"tags"`
Group string `json:"group"`
}
type NodeList ¶
type NodeList struct {
Nodes []Node `json:"nodes"`
}
func NodesFromFile ¶
func NodesFromFiles ¶
func NodesFromJson ¶
func (*NodeList) ProcessNodeGroup ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.