Remove scheduler plugins package's dependency from core package

This commit is contained in:
drfish
2020-12-20 00:18:40 +08:00
parent 5ed4b76a03
commit 070773c399
11 changed files with 277 additions and 113 deletions

View File

@@ -539,6 +539,9 @@ type Handle interface {
SharedInformerFactory() informers.SharedInformerFactory
// RunFilterPluginsWithNominatedPods runs the set of configured filter plugins for nominated pod on the given node.
RunFilterPluginsWithNominatedPods(ctx context.Context, state *CycleState, pod *v1.Pod, info *NodeInfo) *Status
// TODO: unroll the wrapped interfaces to Handle.
PreemptHandle() PreemptHandle
}