9
9
"launchpad.net/juju-core/state/api/params"
12
14
// State provides access to the Machiner API facade.
21
return st.caller.Call(machinerFacade, "", method, params, result)
17
24
// NewState creates a new client-side Machiner facade.
18
25
func NewState(caller base.Caller) *State {
22
33
// machineLife requests the lifecycle of the given machine from the server.
23
34
func (st *State) machineLife(tag string) (params.Life, error) {
27
38
// Machine provides access to methods of a state.Machine through the facade.