Documentation ¶
Index ¶
- type NodeSelector
- func (n NodeSelector) AllMatchingNodes(ctx context.Context, job *models.Job) ([]models.NodeInfo, error)
- func (n NodeSelector) AllNodes(ctx context.Context) ([]models.NodeInfo, error)
- func (n NodeSelector) TopMatchingNodes(ctx context.Context, job *models.Job, desiredCount int) ([]models.NodeInfo, error)
- type NodeSelectorParams
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(params NodeSelectorParams) *NodeSelector
func (NodeSelector) AllMatchingNodes ¶
type NodeSelectorParams ¶
type NodeSelectorParams struct { NodeDiscoverer orchestrator.NodeDiscoverer NodeRanker orchestrator.NodeRanker }
Click to show internal directories.
Click to hide internal directories.