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 = "VolumeAttachmentPlansWatcher"
VERSION: number = 1
_transport: Transport
NAME: string = "VolumeAttachmentPlansWatcher"
VERSION: number = 1

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