selector

package
v1.5.0-alpha6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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 (NodeSelector) AllNodes

func (n NodeSelector) AllNodes(ctx context.Context) ([]models.NodeInfo, error)

func (NodeSelector) MatchingNodes added in v1.3.2

func (n NodeSelector) MatchingNodes(
	ctx context.Context,
	job *models.Job,
) (matchingNodes, rejectedNodes []orchestrator.NodeRank, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL