Documentation
¶
Overview ¶
Package capacity coordinates process-wide instance capacity.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Allocator ¶
type Allocator struct {
// contains filtered or unexported fields
}
Allocator is one scale set's view of a process-wide Broker.
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
Broker arbitrates runner capacity across all registered scale sets. Capacity needed to satisfy another scale set's minimum is reserved before surplus is handed out, and surplus waiters are served in FIFO order.
A non-positive limit is unlimited.
Click to show internal directories.
Click to hide internal directories.