Documentation ¶
Overview ¶
Package mdb implements a simple in-memory Machine DataBase.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsMetadata ¶
type Machine ¶
type Machine struct { Hostname string IpAddress string `json:",omitempty"` Location string `json:",omitempty"` RequiredImage string `json:",omitempty"` PlannedImage string `json:",omitempty"` DisableUpdates bool `json:",omitempty"` OwnerGroup string `json:",omitempty"` OwnerGroups []string `json:",omitempty"` OwnerUsers []string `json:",omitempty"` Tags tags.Tags `json:",omitempty"` AwsMetadata *AwsMetadata `json:",omitempty"` }
Machine describes a single machine with a unique Hostname and optional metadata about the machine.
func (*Machine) UpdateFrom ¶
UpdateFrom updates dest with data from source.
Click to show internal directories.
Click to hide internal directories.