run root-rewrite-v1-..., compile

This commit is contained in:
Chao Xu
2017-06-22 10:25:57 -07:00
parent 9f5f4ba729
commit f4989a45a5
1049 changed files with 1522 additions and 1418 deletions

View File

@@ -16,7 +16,7 @@ limitations under the License.
package util
import "k8s.io/kubernetes/pkg/api/v1"
import "k8s.io/api/core/v1"
// For each of these resources, a pod that doesn't request the resource explicitly
// will be treated as having requested the amount indicated below, for the purpose

View File

@@ -20,7 +20,7 @@ import (
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/util/sets"
utilfeature "k8s.io/apiserver/pkg/util/feature"
"k8s.io/kubernetes/pkg/api/v1"
"k8s.io/api/core/v1"
"k8s.io/kubernetes/pkg/features"
)

View File

@@ -20,7 +20,7 @@ import (
"testing"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/api/v1"
"k8s.io/api/core/v1"
)
func TestNodesHaveSameTopologyKey(t *testing.T) {

View File

@@ -18,7 +18,7 @@ package util
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/kubernetes/pkg/api/v1"
"k8s.io/api/core/v1"
)
func GetControllerRef(pod *v1.Pod) *metav1.OwnerReference {