Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
Scheduler is exported
func New ¶ added in v0.2.0
func New(strategy strategy.PlacementStrategy, filters []filter.Filter) *Scheduler
New is exported
func (*Scheduler) SelectNodesForContainer ¶ added in v1.0.0
func (s *Scheduler) SelectNodesForContainer(nodes []*node.Node, config *cluster.ContainerConfig) ([]*node.Node, error)
SelectNodesForContainer will return a list of nodes where the container can be scheduled, sorted by order or preference.
Click to show internal directories.
Click to hide internal directories.