Merge pull request #79207 from sallyom/move-pkg-kubectl-utils-resource-stg

Move pkg/kubectl/utils/{resource,qos} staging
This commit is contained in:
Kubernetes Prow Robot 2019-06-26 14:17:21 -07:00 committed by GitHub
commit bb4d8d6495
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 6 additions and 4 deletions

View File

@ -10,7 +10,6 @@ go_library(
"//pkg/kubectl/scheme:go_default_library",
"//pkg/kubectl/util/certificate:go_default_library",
"//pkg/kubectl/util/fieldpath:go_default_library",
"//pkg/kubectl/util/resource:go_default_library",
"//pkg/kubectl/util/slice:go_default_library",
"//staging/src/k8s.io/api/apps/v1:go_default_library",
"//staging/src/k8s.io/api/autoscaling/v1:go_default_library",
@ -47,6 +46,7 @@ go_library(
"//staging/src/k8s.io/kubectl/pkg/util/event:go_default_library",
"//staging/src/k8s.io/kubectl/pkg/util/qos:go_default_library",
"//staging/src/k8s.io/kubectl/pkg/util/rbac:go_default_library",
"//staging/src/k8s.io/kubectl/pkg/util/resource:go_default_library",
"//staging/src/k8s.io/kubectl/pkg/util/storage:go_default_library",
"//vendor/github.com/fatih/camelcase:go_default_library",
"//vendor/k8s.io/klog:go_default_library",

View File

@ -69,12 +69,12 @@ import (
"k8s.io/kubectl/pkg/util/event"
"k8s.io/kubectl/pkg/util/qos"
"k8s.io/kubectl/pkg/util/rbac"
resourcehelper "k8s.io/kubectl/pkg/util/resource"
storageutil "k8s.io/kubectl/pkg/util/storage"
"k8s.io/kubernetes/pkg/kubectl/describe"
"k8s.io/kubernetes/pkg/kubectl/scheme"
"k8s.io/kubernetes/pkg/kubectl/util/certificate"
"k8s.io/kubernetes/pkg/kubectl/util/fieldpath"
resourcehelper "k8s.io/kubernetes/pkg/kubectl/util/resource"
"k8s.io/kubernetes/pkg/kubectl/util/slice"
)

View File

@ -70,7 +70,6 @@ filegroup(
"//pkg/kubectl/util/fieldpath:all-srcs",
"//pkg/kubectl/util/i18n:all-srcs",
"//pkg/kubectl/util/logs:all-srcs",
"//pkg/kubectl/util/resource:all-srcs",
"//pkg/kubectl/util/slice:all-srcs",
],
tags = ["automanaged"],

View File

@ -17,6 +17,7 @@ filegroup(
"//staging/src/k8s.io/kubectl/pkg/util/printers:all-srcs",
"//staging/src/k8s.io/kubectl/pkg/util/qos:all-srcs",
"//staging/src/k8s.io/kubectl/pkg/util/rbac:all-srcs",
"//staging/src/k8s.io/kubectl/pkg/util/resource:all-srcs",
"//staging/src/k8s.io/kubectl/pkg/util/storage:all-srcs",
"//staging/src/k8s.io/kubectl/pkg/util/templates:all-srcs",
"//staging/src/k8s.io/kubectl/pkg/util/term:all-srcs",

View File

@ -3,7 +3,8 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["resource.go"],
importpath = "k8s.io/kubernetes/pkg/kubectl/util/resource",
importmap = "k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/util/resource",
importpath = "k8s.io/kubectl/pkg/util/resource",
visibility = ["//visibility:public"],
deps = [
"//staging/src/k8s.io/api/core/v1:go_default_library",

1
vendor/modules.txt vendored
View File

@ -1644,6 +1644,7 @@ k8s.io/kubectl/pkg/util/podutils
k8s.io/kubectl/pkg/util/printers
k8s.io/kubectl/pkg/util/qos
k8s.io/kubectl/pkg/util/rbac
k8s.io/kubectl/pkg/util/resource
k8s.io/kubectl/pkg/util/storage
k8s.io/kubectl/pkg/util/templates
k8s.io/kubectl/pkg/util/term