Documentation ¶
Index ¶
Constants ¶
View Source
const ( // spread the srevice to as much instances as possible SpreadService = "spread" // pack service to a node as much as posible BinpackService = "binpack" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoScaling ¶
type AutoScaling interface { // Set expectations of the service SetExpectation(exp ServiceExpectation) // Scale the cluster size UP Scaleup(service string, n uint) bool // Scale the cluster size DOWN Scalein(service string, n uint, policy TerminatePolicy) bool }
type ClusterOptions ¶
type ServiceExpectation ¶
type TerminatePolicy ¶
type TerminatePolicy struct { }
Click to show internal directories.
Click to hide internal directories.