Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithFilterHandler ¶
func WithFilterHandler(filterFunc func(*extenderv1.ExtenderArgs) (*extenderv1.ExtenderFilterResult, error)) http.Handler
func WithPrioritizeHander ¶
func WithPrioritizeHander(prioritizeFunc func(*extenderv1.ExtenderArgs) (*extenderv1.HostPriorityList, error)) http.Handler
Types ¶
type SchedulerExtender ¶
type SchedulerExtender interface { Filter(*extenderv1.ExtenderArgs) (*extenderv1.ExtenderFilterResult, error) Prioritize(*extenderv1.ExtenderArgs) (*extenderv1.HostPriorityList, error) }
func NewSchedulerExtender ¶
func NewSchedulerExtender(ctx context.Context, client client.Client) SchedulerExtender
Click to show internal directories.
Click to hide internal directories.