scoreextensions

package
v0.0.0-...-b7b0d94 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetPlugin

func SetPlugin(scoreExtensions api.ScoreExtensions)

SetPlugin should be called in `main` to assign an api.ScoreExtensionsPlugin instance.

For example:

func main() {
	scoreextensions.SetPlugin(scoreExtensionsPlugin{})
}

type scoreExtensionsPlugin struct{}

func (scoreExtensionsPlugin) NormalizeScore(state api.CycleState, pod api.Pod, nodeScoreList map[string]int) (map[string]int, *api.Status) {
	panic("implement me")
}

Types

This section is empty.

Jump to

Keyboard shortcuts

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