foo

package
v0.0.0-...-b7e6990 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

README

Foo Agent: A template for expanding on the scheduler extender

The Foo agent scheduler extender is provided as a template to ease the addition of new agents.

Documentation

Index

Constants

View Source
const (
	// PredicateSafeOverloadName : name of predicate
	PredicateFooName = "foo"
	// PriorityFooName : name of priority function
	PriorityFooName = "foo"
)

*

  • Names of predicates and priority functions

Variables

This section is empty.

Functions

func PredicateFunc

func PredicateFunc(pod v1.Pod, node v1.Node) (bool, error)

PredicateFunc : predicate function

func PriorityFunc

func PriorityFunc(pod v1.Pod, nodes []v1.Node) (*schedulerapi.HostPriorityList, error)

PriorityFunc : priority function

Types

This section is empty.

Jump to

Keyboard shortcuts

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