Exemplo n.º 1
0
// Watch returns a watcher for observing changes to the unit.
func (u *Unit) Watch() (watcher.NotifyWatcher, error) {
	return common.Watch(u.st.caller, uniterFacade, u.tag.String())
}
Exemplo n.º 2
0
// Watch returns a watcher for observing changes to a service.
func (s *Service) Watch() (watcher.NotifyWatcher, error) {
	return common.Watch(s.st.caller, firewallerFacade, s.tag.String())
}
Exemplo n.º 3
0
// Watch returns a watcher for observing changes to a service.
func (s *Service) Watch() (watcher.NotifyWatcher, error) {
	return common.Watch(s.st.caller, uniterFacade, s.tag)
}
Exemplo n.º 4
0
// Watch returns a watcher for observing changes to the machine.
func (m *Machine) Watch() (watcher.NotifyWatcher, error) {
	return common.Watch(m.st.caller, machinerFacade, m.tag.String())
}