Versions in this module Expand all Collapse all v0 v0.1.0 Sep 9, 2026 Changes in this version + var ErrNoCapacity = errors.New("no free workers satisfy the constraints") + type Constraints struct + ActorSelector labels.Selector + Limits *ateapipb.Resources + RequiredNodes []string + SandboxClass string + TemplateSelector labels.Selector + type Option func(*scheduler) + func WithIntn(intn func(n int) int) Option + func WithMeter(meter metric.Meter) Option + type Scheduler interface + Applies func(worker *ateapipb.Worker, constraints Constraints) bool + HasRoom func(worker *ateapipb.Worker, constraints Constraints) bool + Schedule func(ctx context.Context, constraints Constraints) (*ateapipb.Worker, error) + func New(source WorkerSource, opts ...Option) Scheduler + type WorkerSource interface + Workers func() ([]*ateapipb.Worker, error)