Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotifyWatcher ¶
NotifyWatcher will send events when something changes. It does not send content for those changes.
func NewNotifyWatcher ¶
func NewNotifyWatcher(caller base.APICaller, result params.NotifyWatchResult) NotifyWatcher
If an API call returns a NotifyWatchResult, you can use this to turn it into a local Watcher.
type RelationUnitsWatcher ¶
type RelationUnitsWatcher interface { Changes() <-chan multiwatcher.RelationUnitsChange Stop() error Err() error }
RelationUnitsWatcher will send events when something changes. The content for the changes is a params.RelationUnitsChange struct.
func NewRelationUnitsWatcher ¶
func NewRelationUnitsWatcher(caller base.APICaller, result params.RelationUnitsWatchResult) RelationUnitsWatcher
type StringsWatcher ¶
StringsWatcher will send events when something changes. The content for the changes is a list of strings.
func NewStringsWatcher ¶
func NewStringsWatcher(caller base.APICaller, result params.StringsWatchResult) StringsWatcher
Click to show internal directories.
Click to hide internal directories.