scheduler

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoProplet    = errors.New("no proplet was provided")
	ErrDeadProplers = errors.New("all proplets are dead")
)

Functions

func GetReadyTasksByPriority added in v0.4.0

func GetReadyTasksByPriority(tasks []task.Task) []task.Task

Types

type Scheduler

type Scheduler interface {
	SelectProplet(t task.Task, proplets []proplet.Proplet) (proplet.Proplet, error)
}

func NewRoundRobin

func NewRoundRobin() Scheduler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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