示例#1
0
文件: uniter.go 项目: rogpeppe/juju
// 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)
}
示例#2
0
文件: deployer.go 项目: klyachin/juju
// unitLife returns the lifecycle state of the given unit.
func (st *State) unitLife(tag names.UnitTag) (params.Life, error) {
	return common.Life(st.caller, deployerFacade, tag)
}
示例#3
0
// life requests the life cycle of the given entity from the server.
func (st *State) life(tag names.Tag) (params.Life, error) {
	return common.Life(st.caller, firewallerFacade, tag)
}
示例#4
0
文件: machiner.go 项目: jiasir/juju
// machineLife requests the lifecycle of the given machine from the server.
func (st *State) machineLife(tag names.MachineTag) (params.Life, error) {
	return common.Life(st.caller, machinerFacade, tag)
}
示例#5
0
// 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, provisionerFacade, tag)
}