Documentation ¶
Index ¶
- func NewFilesystemAttachmentsWatcher(caller base.APICaller, result params.MachineStorageIdsWatchResult) watcher.MachineStorageIdsWatcher
- func NewMigrationStatusWatcher(caller base.APICaller, watcherId string) watcher.MigrationStatusWatcher
- func NewNotifyWatcher(caller base.APICaller, result params.NotifyWatchResult) watcher.NotifyWatcher
- func NewOfferStatusWatcher(caller base.APICaller, result params.OfferStatusWatchResult) watcher.OfferStatusWatcher
- func NewRelationStatusWatcher(caller base.APICaller, result params.RelationLifeSuspendedStatusWatchResult) watcher.RelationStatusWatcher
- func NewRelationUnitsWatcher(caller base.APICaller, result params.RelationUnitsWatchResult) watcher.RelationUnitsWatcher
- func NewStringsWatcher(caller base.APICaller, result params.StringsWatchResult) watcher.StringsWatcher
- func NewVolumeAttachmentPlansWatcher(caller base.APICaller, result params.MachineStorageIdsWatchResult) watcher.MachineStorageIdsWatcher
- func NewVolumeAttachmentsWatcher(caller base.APICaller, result params.MachineStorageIdsWatchResult) watcher.MachineStorageIdsWatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilesystemAttachmentsWatcher ¶
func NewFilesystemAttachmentsWatcher(caller base.APICaller, result params.MachineStorageIdsWatchResult) watcher.MachineStorageIdsWatcher
NewFilesystemAttachmentsWatcher returns a MachineStorageIdsWatcher which communicates with the FilesystemAttachmentsWatcher API facade to watch filesystem attachments.
func NewMigrationStatusWatcher ¶
func NewMigrationStatusWatcher(caller base.APICaller, watcherId string) watcher.MigrationStatusWatcher
NewMigrationStatusWatcher takes the NotifyWatcherId returns by the MigrationSlave.Watch API and returns a watcher which will report status changes for any migration of the model associated with the API connection.
func NewNotifyWatcher ¶
func NewNotifyWatcher(caller base.APICaller, result params.NotifyWatchResult) watcher.NotifyWatcher
If an API call returns a NotifyWatchResult, you can use this to turn it into a local Watcher.
func NewOfferStatusWatcher ¶
func NewOfferStatusWatcher( caller base.APICaller, result params.OfferStatusWatchResult, ) watcher.OfferStatusWatcher
NewOfferStatusWatcher returns a watcher notifying of changes to offer status.
func NewRelationStatusWatcher ¶
func NewRelationStatusWatcher( caller base.APICaller, result params.RelationLifeSuspendedStatusWatchResult, ) watcher.RelationStatusWatcher
NewRelationStatusWatcher returns a watcher notifying of changes to relation life and suspended status.
func NewRelationUnitsWatcher ¶
func NewRelationUnitsWatcher(caller base.APICaller, result params.RelationUnitsWatchResult) watcher.RelationUnitsWatcher
func NewStringsWatcher ¶
func NewStringsWatcher(caller base.APICaller, result params.StringsWatchResult) watcher.StringsWatcher
func NewVolumeAttachmentPlansWatcher ¶
func NewVolumeAttachmentPlansWatcher(caller base.APICaller, result params.MachineStorageIdsWatchResult) watcher.MachineStorageIdsWatcher
NewVolumeAttachmentPlansWatcher returns a MachineStorageIdsWatcher which communicates with the VolumeAttachmentPlansWatcher API facade to watch volume attachments.
func NewVolumeAttachmentsWatcher ¶
func NewVolumeAttachmentsWatcher(caller base.APICaller, result params.MachineStorageIdsWatchResult) watcher.MachineStorageIdsWatcher
NewVolumeAttachmentsWatcher returns a MachineStorageIdsWatcher which communicates with the VolumeAttachmentsWatcher API facade to watch volume attachments.
Types ¶
This section is empty.