Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindPredicate ¶
type BindPredicate interface {
// Name returns the name of this predictor.
Name() string
// Bind Finally bind the pod to a specific node.
Bind(ctx context.Context, args extenderv1.ExtenderBindingArgs) *extenderv1.ExtenderBindingResult
}
type FilterPredicate ¶
type FilterPredicate interface {
// Name returns the name of this predictor.
Name() string
// Filter returns the filter result of predictor, this will tell the suitable nodes to running pod.
Filter(ctx context.Context, args extenderv1.ExtenderArgs) *extenderv1.ExtenderFilterResult
}
Click to show internal directories.
Click to hide internal directories.