scheduler

package
v0.0.0-...-bd779af Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LuckyPred rejects a node if you're not lucky ¯\_(ツ)_/¯
	LuckyPred        = "Lucky"
	LuckyPredFailMsg = "Well, you're not lucky"
)

Variables

This section is empty.

Functions

func Filter

func Filter(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func Index

func LuckyPredicate

func LuckyPredicate(pod *v1.Pod, node v1.Node) (bool, []string, error)

func Prioritize

func Prioritize(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

Types

type FitPredicate

type FitPredicate func(pod *v1.Pod, node v1.Node) (bool, []string, error)

Jump to

Keyboard shortcuts

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