Versions in this module Expand all Collapse all v0 v0.2.0 Feb 18, 2015 v0.1.0 Jan 6, 2015 Changes in this version + func NewClient(path string) client + type Client interface + DestroyUnit func(name string) (*http.Response, error) + StartUnit func(name string, options []UnitOption) (*http.Response, error) + UnitState func(name string) (UnitState, error) + Units func() ([]Unit, error) + type StatesResponse struct + States []UnitState + type Unit struct + CurrentState string + DesiredState string + MachineID string + Name string + Options []UnitOption + type UnitOption struct + Name string + Section string + Value string + type UnitState struct + ActiveState string + Hash string + LoadState string + MachineID string + Name string + SubState string + type UnitsResponse struct + Units []Unit