type FitPredicate …
type PriorityFunc …
type PriorityConfig …
func ErrorPredicateExtender(pod *v1.Pod, node *framework.NodeInfo) *framework.Status { … }
func FalsePredicateExtender(pod *v1.Pod, node *framework.NodeInfo) *framework.Status { … }
func TruePredicateExtender(pod *v1.Pod, node *framework.NodeInfo) *framework.Status { … }
func Node1PredicateExtender(pod *v1.Pod, node *framework.NodeInfo) *framework.Status { … }
func Node2PredicateExtender(pod *v1.Pod, node *framework.NodeInfo) *framework.Status { … }
func ErrorPrioritizerExtender(pod *v1.Pod, nodes []*framework.NodeInfo) (*framework.NodeScoreList, error) { … }
func Node1PrioritizerExtender(pod *v1.Pod, nodes []*framework.NodeInfo) (*framework.NodeScoreList, error) { … }
func Node2PrioritizerExtender(pod *v1.Pod, nodes []*framework.NodeInfo) (*framework.NodeScoreList, error) { … }
type node2PrioritizerPlugin …
func NewNode2PrioritizerPlugin() frameworkruntime.PluginFactory { … }
func (pl *node2PrioritizerPlugin) Name() string { … }
func (pl *node2PrioritizerPlugin) Score(_ context.Context, _ *framework.CycleState, _ *v1.Pod, nodeName string) (int64, *framework.Status) { … }
func (pl *node2PrioritizerPlugin) ScoreExtensions() framework.ScoreExtensions { … }
type FakeExtender …
const defaultFakeExtenderName …
func (f *FakeExtender) Name() string { … }
func (f *FakeExtender) IsIgnorable() bool { … }
func (f *FakeExtender) SupportsPreemption() bool { … }
func (f *FakeExtender) ProcessPreemption(
pod *v1.Pod,
nodeNameToVictims map[string]*extenderv1.Victims,
nodeInfos framework.NodeInfoLister,
) (map[string]*extenderv1.Victims, error) { … }
func (f *FakeExtender) selectVictimsOnNodeByExtender(logger klog.Logger, pod *v1.Pod, node *framework.NodeInfo) ([]*v1.Pod, int, bool, error) { … }
func (f *FakeExtender) runPredicate(pod *v1.Pod, node *framework.NodeInfo) *framework.Status { … }
func (f *FakeExtender) Filter(pod *v1.Pod, nodes []*framework.NodeInfo) ([]*framework.NodeInfo, extenderv1.FailedNodesMap, extenderv1.FailedNodesMap, error) { … }
func (f *FakeExtender) Prioritize(pod *v1.Pod, nodes []*framework.NodeInfo) (*extenderv1.HostPriorityList, int64, error) { … }
func (f *FakeExtender) Bind(binding *v1.Binding) error { … }
func (f *FakeExtender) IsBinder() bool { … }
func (f *FakeExtender) IsPrioritizer() bool { … }
func (f *FakeExtender) IsFilter() bool { … }
func (f *FakeExtender) IsInterested(pod *v1.Pod) bool { … }
var _ …