コード例 #1
0
ファイル: service.go プロジェクト: kapilt/juju
// Watch returns a watcher for observing changes to a service.
func (s *Service) Watch() (watcher.NotifyWatcher, error) {
	return common.Watch(s.st.facade, s.tag)
}
コード例 #2
0
ファイル: machine.go プロジェクト: bac/juju
// Watch returns a watcher for observing changes to the machine.
func (m *Machine) Watch() (watcher.NotifyWatcher, error) {
	return common.Watch(m.st.facade, m.tag)
}
コード例 #3
0
ファイル: unit.go プロジェクト: kapilt/juju
// Watch returns a watcher for observing changes to the unit.
func (u *Unit) Watch() (watcher.NotifyWatcher, error) {
	return common.Watch(u.st.facade, u.tag)
}
コード例 #4
0
ファイル: service.go プロジェクト: bac/juju
// Watch returns a watcher for observing changes to a service.
func (s *Application) Watch() (watcher.NotifyWatcher, error) {
	return common.Watch(s.st.facade, s.tag)
}