scheduling

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package scheduling provides interface to implement workload schedulers

Index

Constants

This section is empty.

Variables

View Source
var ErrSchedulingNoNode = errors.New("no node fit for scheduling")

Functions

This section is empty.

Types

type Scheduler

type Scheduler interface {
	Score(context.Context, *tasksv1.Task) (map[string]float64, error)
	Schedule(context.Context, *tasksv1.Task) (*nodesv1.Node, error)
}

func NewHorizontalScheduler

func NewHorizontalScheduler(c *client.ClientSet) Scheduler

Jump to

Keyboard shortcuts

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