Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
type Plan ¶
type Plan struct {
// contains filtered or unexported fields
}
Plan describes the scaling action that needs to be taken, as determined by autoscaler's planner engine. It also supplies the data required to carry out the action.
func (*Plan) MarshalJSON ¶
func (*Plan) NodesToDestroy ¶
NodesToDestroy returns IDs of agent machines to destroy when downscaling
func (*Plan) RequiresDownscaling ¶
RequiresDownscaling returns true when we have extra compute capacity that must be shed
func (*Plan) RequiresUpscaling ¶
RequiresUpscaling returns true when more agents must be added
func (*Plan) UpscaleCount ¶
UpscaleCount returns the number of nodes to add to the agent cluster when upscaling
type StageFilter ¶
StageFilter is a filter function applied to a single drone stage
Click to show internal directories.
Click to hide internal directories.