Moving Status object to a common package

This commit is contained in:
Kris
2015-09-09 14:59:11 -07:00
committed by Chao Xu
parent a32ea8ebc1
commit f4ad00d9ae
84 changed files with 960 additions and 1101 deletions

View File

@@ -16,12 +16,10 @@ limitations under the License.
package api
import (
"k8s.io/kubernetes/pkg/api"
)
import "k8s.io/kubernetes/pkg/api/unversioned"
type Policy struct {
api.TypeMeta `json:",inline"`
unversioned.TypeMeta `json:",inline"`
// Holds the information to configure the fit predicate functions
Predicates []PredicatePolicy `json:"predicates"`
// Holds the information to configure the priority functions

View File

@@ -16,12 +16,10 @@ limitations under the License.
package v1
import (
apiv1 "k8s.io/kubernetes/pkg/api/v1"
)
import "k8s.io/kubernetes/pkg/api/unversioned"
type Policy struct {
apiv1.TypeMeta `json:",inline"`
unversioned.TypeMeta `json:",inline"`
// Holds the information to configure the fit predicate functions
Predicates []PredicatePolicy `json:"predicates"`
// Holds the information to configure the priority functions