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)
}
type PrioritizerPlugin ¶
type PrioritizerPlugin interface { Name() string PrioritizeNodes(context.Context, client.Client, *corev1.Pod, *extenderv1.ExtenderArgs, *policyv1alpha1.PropagationPolicy) (extenderv1.HostPriorityList, error) }
Click to show internal directories.
Click to hide internal directories.