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.
Click to show internal directories.
Click to hide internal directories.