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 an applicationscaler worker.
Types ¶
type Facade ¶
type Facade interface {
// Watch returns a StringsWatcher reporting names of
// services which may have insufficient units.
Watch() (watcher.StringsWatcher, error)
// Rescale scales up any named service observed to be
// running too few units.
Rescale(services []string) error
}
Facade defines the capabilities required by the worker.
Click to show internal directories.
Click to hide internal directories.