1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-28 06:29:29 +01:00

Descheduler related modifications.

This commit is contained in:
Avesh Agarwal
2017-09-13 15:19:01 -04:00
parent 8a6b9a814b
commit d634701250
48 changed files with 379 additions and 377 deletions

View File

@@ -21,7 +21,7 @@ import (
"k8s.io/kubernetes/pkg/api/v1"
)
type ReschedulerPolicy struct {
type DeschedulerPolicy struct {
metav1.TypeMeta
// Strategies
@@ -29,9 +29,9 @@ type ReschedulerPolicy struct {
}
type StrategyName string
type StrategyList map[StrategyName]ReschedulerStrategy
type StrategyList map[StrategyName]DeschedulerStrategy
type ReschedulerStrategy struct {
type DeschedulerStrategy struct {
// Enabled or disabled
Enabled bool