Descriptionstate/api: New client API watchers; api.State
Implemented two API client-side watchers:
* LifecycleWatcher
* EnvironConfigWatcher
Also introducing a top-level api.State object to
provide API access to state.* calls. It's only
accessible by agents.
Implemented methods:
* State.WatchMachines (using LifecycleWatcher)
* State.WatchEnvironConfig (using EnvironConfigWatcher)
These two can be called only by the environment manager
(for now, if we need we'll relax this restriction later).
Also, Machine.EnsureDead now can be called both by the
owning agent and the environment manager.
https://code.launchpad.net/~dimitern/juju-core/043-api-client-new-watchers/+merge/165603
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 22
Patch Set 2 : state/api: New client API watchers; api.State #
MessagesTotal messages: 4
|