[Scheduler] regroup packages

Signed-off-by: sakeven <jc5930@sina.cn>
This commit is contained in:
sakeven
2017-08-30 11:14:44 +08:00
parent 4457e43e7b
commit 0420c8f048
14 changed files with 29 additions and 16 deletions

View File

@@ -19,12 +19,13 @@ package priorities
import (
"fmt"
"github.com/golang/glog"
"k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/labels"
v1helper "k8s.io/kubernetes/pkg/api/v1/helper"
schedulerapi "k8s.io/kubernetes/plugin/pkg/scheduler/api"
"k8s.io/kubernetes/plugin/pkg/scheduler/schedulercache"
"github.com/golang/glog"
)
// CalculateNodeAffinityPriority prioritizes nodes according to node affinity scheduling preferences