scheduling

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Algorithm

type Algorithm string
const (
	AlgorithmRandom     Algorithm = "random"
	AlgorithmRoundRobin Algorithm = "robin"
)

func GetAlgorithm

func GetAlgorithm(name string) Algorithm

type SchedulingHandler

type SchedulingHandler interface {
	GetServiceNode(nodes []*models.ServiceNode, name string) *models.ServiceNode
}

func GetHandler

func GetHandler(algorithm string) SchedulingHandler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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