Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeSelector ¶
type NodeSelector struct {
// contains filtered or unexported fields
}
func NewNodeSelector ¶
func NewNodeSelector( discoverer nodes.Lookup, ranker orchestrator.NodeRanker, constraints orchestrator.NodeSelectionConstraints, ) *NodeSelector
func (NodeSelector) MatchingNodes ¶ added in v1.3.2
func (n NodeSelector) MatchingNodes( ctx context.Context, job *models.Job, ) (matchingNodes, rejectedNodes []orchestrator.NodeRank, err error)
Click to show internal directories.
Click to hide internal directories.