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.

Hierarchy

  • default

Implements

Constructors

Properties

Methods

Constructors

Properties

NAME: string = "VolumeAttachmentsWatcher"
VERSION: number = 2
_transport: Transport
NAME: string = "VolumeAttachmentsWatcher"
VERSION: number = 2

Methods

  • 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.

    Parameters

    • params: any

    Returns Promise<MachineStorageIdsWatchResult>

  • Stop stops the watcher.

    Parameters

    • params: any

    Returns Promise<any>

Generated using TypeDoc