コード例 #1
0
ファイル: machiner.go プロジェクト: jameinel/core
// machineLife requests the lifecycle of the given machine from the server.
func (st *State) machineLife(tag string) (params.Life, error) {
	return common.Life(st.caller, machinerFacade, tag)
}
コード例 #2
0
ファイル: uniter.go プロジェクト: jameinel/core
// life requests the lifecycle of the given entity from the server.
func (st *State) life(tag string) (params.Life, error) {
	return common.Life(st.caller, uniterFacade, tag)
}