Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MatchAlgorithms map[string]MatchAlgorithm
)
Lookup of Algorthms
Functions ¶
Types ¶
type MatchAlgorithm ¶
type MatchAlgorithm interface {
Name() string
Description() string
Init(map[string]string) error
// A MatchAlgorithm needs to take a slot and determine if it matches
CheckSubsystemEdge(slotNeeds *types.MatchAlgorithmNeeds, edge *types.Edge)
// Graph backends that support cypher need a cypher query for the algorithm
GenerateCypher(matchNeeds *types.MatchAlgorithmNeeds) string
}
A SelectionAlgorithm is used by the rainbow scheduler to make a final decision about assigning work to a group of clusters.
Click to show internal directories.
Click to hide internal directories.