Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WithTracer = base.WithTracer
WithTracer returns an Option that configures the Client to use the supplied tracer.
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, options ...Option) *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.