scheduler

package
v0.0.0-...-72af66c Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0, BSD-2-Clause Imports: 28 Imported by: 0

Documentation

Overview

Package scheduler provides a scheduler for the cube-master

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPreSelect = errors.New("PreSelector")
	ErrNoRes     = errors.New("no more resource")
)

Functions

func AddBufferTask

func AddBufferTask(x interface{}, product string)

func BackoffSelect

func BackoffSelect(selCtx *selctx.SelectorCtx) (nodes *node.Node, err error)

func InitScheduler

func InitScheduler(ctx context.Context)

func Select

func Select(selCtx *selctx.SelectorCtx) (nodes *node.Node, err error)

func Stop

func Stop(ctx context.Context)

Types

This section is empty.

Directories

Path Synopsis
Package selctx provides context with selected node
Package selctx provides context with selected node

Jump to

Keyboard shortcuts

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