Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigWatch ¶
type ConfigWatch struct {
// contains filtered or unexported fields
}
Config Watch holds the path to the named machines yaml file.
func NewConfigWatch ¶
func NewConfigWatch(path string) (*ConfigWatch, error)
func (*ConfigWatch) NamedMachines ¶
func (cw *ConfigWatch) NamedMachines() (*NamedMachines, error)
Returns all named machines for ConfigWatch.
type NamedMachine ¶
A single named machine.
type NamedMachines ¶
type NamedMachines struct {
// contains filtered or unexported fields
}
All named machines defined in yaml.
func (*NamedMachines) GetYaml ¶
func (nm *NamedMachines) GetYaml() (string, error)
func (*NamedMachines) MatchMachine ¶
func (nm *NamedMachines) MatchMachine(machineName string) (*NamedMachine, error)
Returns a NamedMachine that matches the passed name.
type NamedMachinesItems ¶
type NamedMachinesItems struct {
Items []NamedMachine `json:"items"`
}
A list of named machines.
Click to show internal directories.
Click to hide internal directories.