scheduler

package
v1.8.17 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheduler

type Scheduler struct {
	// contains filtered or unexported fields
}

func CreateScheduler

func CreateScheduler(db database.ProcessLookup) *Scheduler

func (*Scheduler) Prioritize

func (scheduler *Scheduler) Prioritize(colonyName string, executor *core.Executor, cpu int64, memory int64, count int) ([]*core.Process, error)

func (*Scheduler) Select

func (scheduler *Scheduler) Select(colonyName string, executor *core.Executor, cpu int64, memory int64) (*core.Process, error)

Jump to

Keyboard shortcuts

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