prioritizer

package
v0.0.0-...-e29486c Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithPrioritizeHander

func WithPrioritizeHander(prioritizeFunc func(*extenderv1.ExtenderArgs) (*extenderv1.HostPriorityList, error)) http.Handler

Types

type Prioritizer

type Prioritizer interface {
	Prioritize(*extenderv1.ExtenderArgs) (*extenderv1.HostPriorityList, error)
}

func New

func New(ctx context.Context, client client.Client) Prioritizer

Jump to

Keyboard shortcuts

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