Ejemplo n.º 1
0
// 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)
}
Ejemplo n.º 2
0
Archivo: machine.go Proyecto: 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)
}
Ejemplo n.º 3
0
Archivo: unit.go Proyecto: 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)
}
Ejemplo n.º 4
0
Archivo: service.go Proyecto: 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)
}