Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Facade ¶
type Facade struct {
// contains filtered or unexported fields
}
Facade lets a client watch and query a model's migration phase.
func NewFacade ¶
func NewFacade(apiCaller base.APICaller, newWatcher NewWatcherFunc) *Facade
NewFacade returns a Facade backed by the supplied api caller.
type NewWatcherFunc ¶
type NewWatcherFunc func(base.APICaller, params.NotifyWatchResult) watcher.NotifyWatcher
NewWatcherFunc exists to let us unit test Facade without patching.
Click to show internal directories.
Click to hide internal directories.