Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MinUnitsWorker ¶
type MinUnitsWorker struct {
// contains filtered or unexported fields
}
MinUnitsWorker ensures the minimum number of units for applications is respected.
func (*MinUnitsWorker) Handle ¶
func (mu *MinUnitsWorker) Handle(serviceNames []string) error
func (*MinUnitsWorker) SetUp ¶
func (mu *MinUnitsWorker) SetUp() (state.StringsWatcher, error)
func (*MinUnitsWorker) TearDown ¶
func (mu *MinUnitsWorker) TearDown() error
Click to show internal directories.
Click to hide internal directories.