Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface { // WatchScaledServices returns a watcher that sends service ids // that might not have enough units. WatchScaledServices() state.StringsWatcher // RescaleService ensures that the named service has at least its // configured minimum unit count. RescaleService(name string) error }
Backend exposes functionality required by Facade.
type Facade ¶
type Facade struct {
// contains filtered or unexported fields
}
Facade allows model-manager clients to watch and rescale services.
Click to show internal directories.
Click to hide internal directories.