srvMachineStorageIdsWatcher defines the API wrapping a state.StringsWatcher
watching machine/storage attachments. This watcher notifies about storage
entities (volumes/filesystems) being attached to and detached from machines.
TODO(axw) state needs a new watcher, this is a bt of a hack. State watchers
could do with some deduplication of logic, and I don't want to add to that
spaghetti right now.
Next returns when a change has occurred to an entity of the
collection being watched since the most recent call to Next
or the Watch call that created the srvMachineStorageIdsWatcher.
srvMachineStorageIdsWatcher defines the API wrapping a state.StringsWatcher watching machine/storage attachments. This watcher notifies about storage entities (volumes/filesystems) being attached to and detached from machines.
TODO(axw) state needs a new watcher, this is a bt of a hack. State watchers could do with some deduplication of logic, and I don't want to add to that spaghetti right now.