Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Manifold ¶
func Manifold(config ManifoldConfig) dependency.Manifold
Manifold returns a dependency manifold that runs the migration worker.
Types ¶
type Facade ¶
type Facade interface { // Watch returns a watcher which reports when the status changes // for the migration for the model associated with the API // connection. Watch() (watcher.MigrationStatusWatcher, error) }
Facade exposes controller functionality to a Worker.
type ManifoldConfig ¶
type ManifoldConfig struct { AgentName string APICallerName string FortressName string NewFacade func(base.APICaller) (Facade, error) NewWorker func(Config) (worker.Worker, error) }
ManifoldConfig defines the names of the manifolds on which a Worker manifold will depend.
Click to show internal directories.
Click to hide internal directories.