Skip to main content

Module affinity

Module affinity 

Source
Expand description

Resolve reference attributes into requirements, then evaluate candidates.

Structs§

AffinityRequirements
Nonempty attributes a candidate must match.
NoopAffinity
Accepts every candidate without imposing affinity constraints.

Enums§

AffinityFallback
Behavior when affinity cannot be satisfied.
AffinityReference
Identifies the node whose attributes define affinity requirements.

Traits§

Affinity
Evaluates candidate nodes without I/O or scheduling decisions.
AffinityResolver
Resolves references using current metadata, without selecting candidates.
PeerAllocContextProvider
Builds allocation inputs from the query that initiated an operation.

Type Aliases§

AffinityAttributes
Named attributes used to express affinity requirements.
AffinityRef
Shared affinity evaluator.
AffinityResolverRef
Shared requirement resolver.
PeerAllocContextProviderRef
Shared allocation-context provider.