Documentation ¶
Index ¶
- func ActiveToSingleStates(active map[string][]UnitState) (map[string]UnitState, error)
- func BuildCloudConfig(dst io.Writer, ip, etcdEndpoint, etcdKeyPrefix string) error
- func RunFleetctl(args ...string) (string, string, error)
- func RunFleetctlWithInput(input string, args ...string) (string, string, error)
- func TempUnit(contents string) (string, error)
- type UnitState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActiveToSingleStates ¶ added in v0.8.0
ActiveToSingleStates takes a map of active states (such as that returned by WaitForNActiveUnits) and ensures that each unit has at most a single active state. It returns a mapping of unit name to a single UnitState.
func BuildCloudConfig ¶ added in v0.10.0
func RunFleetctlWithInput ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.