From cf71cee09a3a05150cd38980f594c8ba133b7d62 Mon Sep 17 00:00:00 2001 From: Jeff Grafton Date: Thu, 12 Oct 2017 13:52:10 -0700 Subject: [PATCH] update BUILD files Kubernetes-commit: aee5f457dbfd70c2d15c33e392dce6a3ca710116 --- pkg/api/equality/BUILD | 1 + pkg/api/errors/BUILD | 2 ++ pkg/api/meta/BUILD | 2 ++ pkg/api/resource/BUILD | 3 +++ pkg/api/testing/BUILD | 1 + pkg/api/testing/fuzzer/BUILD | 2 ++ pkg/api/testing/roundtrip/BUILD | 1 + pkg/api/validation/BUILD | 2 ++ pkg/api/validation/path/BUILD | 2 ++ pkg/apimachinery/BUILD | 2 ++ pkg/apimachinery/announced/BUILD | 2 ++ pkg/apimachinery/registered/BUILD | 2 ++ pkg/apis/meta/fuzzer/BUILD | 1 + pkg/apis/meta/internalversion/BUILD | 2 ++ pkg/apis/meta/v1/BUILD | 2 ++ pkg/apis/meta/v1/unstructured/BUILD | 2 ++ pkg/apis/meta/v1/validation/BUILD | 2 ++ pkg/apis/meta/v1alpha1/BUILD | 1 + pkg/apis/testapigroup/BUILD | 1 + pkg/apis/testapigroup/fuzzer/BUILD | 1 + pkg/apis/testapigroup/install/BUILD | 2 ++ pkg/apis/testapigroup/v1/BUILD | 1 + pkg/conversion/BUILD | 2 ++ pkg/conversion/queryparams/BUILD | 2 ++ pkg/conversion/unstructured/BUILD | 1 + pkg/conversion/unstructured/testing/BUILD | 1 + pkg/fields/BUILD | 2 ++ pkg/labels/BUILD | 2 ++ pkg/runtime/BUILD | 3 +++ pkg/runtime/schema/BUILD | 2 ++ pkg/runtime/serializer/BUILD | 2 ++ pkg/runtime/serializer/json/BUILD | 3 +++ pkg/runtime/serializer/protobuf/BUILD | 1 + pkg/runtime/serializer/recognizer/BUILD | 1 + pkg/runtime/serializer/recognizer/testing/BUILD | 1 + pkg/runtime/serializer/streaming/BUILD | 2 ++ pkg/runtime/serializer/testing/BUILD | 1 + pkg/runtime/serializer/versioning/BUILD | 2 ++ pkg/runtime/serializer/yaml/BUILD | 1 + pkg/runtime/testing/BUILD | 1 + pkg/selection/BUILD | 1 + pkg/test/BUILD | 2 ++ pkg/types/BUILD | 1 + pkg/util/cache/BUILD | 2 ++ pkg/util/clock/BUILD | 2 ++ pkg/util/diff/BUILD | 2 ++ pkg/util/errors/BUILD | 2 ++ pkg/util/framer/BUILD | 2 ++ pkg/util/httpstream/BUILD | 2 ++ pkg/util/httpstream/spdy/BUILD | 2 ++ pkg/util/initialization/BUILD | 1 + pkg/util/intstr/BUILD | 2 ++ pkg/util/json/BUILD | 2 ++ pkg/util/jsonmergepatch/BUILD | 2 ++ pkg/util/mergepatch/BUILD | 2 ++ pkg/util/net/BUILD | 2 ++ pkg/util/proxy/BUILD | 2 ++ pkg/util/rand/BUILD | 2 ++ pkg/util/remotecommand/BUILD | 1 + pkg/util/runtime/BUILD | 2 ++ pkg/util/sets/BUILD | 2 ++ pkg/util/sets/types/BUILD | 1 + pkg/util/strategicpatch/BUILD | 2 ++ pkg/util/uuid/BUILD | 1 + pkg/util/validation/BUILD | 2 ++ pkg/util/validation/field/BUILD | 2 ++ pkg/util/wait/BUILD | 2 ++ pkg/util/yaml/BUILD | 2 ++ pkg/version/BUILD | 1 + pkg/watch/BUILD | 3 +++ third_party/forked/golang/json/BUILD | 2 ++ third_party/forked/golang/netutil/BUILD | 1 + third_party/forked/golang/reflect/BUILD | 2 ++ 73 files changed, 126 insertions(+) diff --git a/pkg/api/equality/BUILD b/pkg/api/equality/BUILD index f42825357..75051f35b 100644 --- a/pkg/api/equality/BUILD +++ b/pkg/api/equality/BUILD @@ -8,6 +8,7 @@ load( go_library( name = "go_default_library", srcs = ["semantic.go"], + importpath = "k8s.io/apimachinery/pkg/api/equality", deps = [ "//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", diff --git a/pkg/api/errors/BUILD b/pkg/api/errors/BUILD index bae266c4b..80e205320 100644 --- a/pkg/api/errors/BUILD +++ b/pkg/api/errors/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["errors_test.go"], + importpath = "k8s.io/apimachinery/pkg/api/errors", library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", @@ -24,6 +25,7 @@ go_library( "doc.go", "errors.go", ], + importpath = "k8s.io/apimachinery/pkg/api/errors", deps = [ "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", diff --git a/pkg/api/meta/BUILD b/pkg/api/meta/BUILD index f7efd8e8e..5e2cb1065 100644 --- a/pkg/api/meta/BUILD +++ b/pkg/api/meta/BUILD @@ -14,6 +14,7 @@ go_test( "priority_test.go", "restmapper_test.go", ], + importpath = "k8s.io/apimachinery/pkg/api/meta", library = ":go_default_library", deps = [ "//vendor/github.com/google/gofuzz:go_default_library", @@ -39,6 +40,7 @@ go_library( "restmapper.go", "unstructured.go", ], + importpath = "k8s.io/apimachinery/pkg/api/meta", deps = [ "//vendor/github.com/golang/glog:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", diff --git a/pkg/api/resource/BUILD b/pkg/api/resource/BUILD index 43b964a40..5b8875463 100644 --- a/pkg/api/resource/BUILD +++ b/pkg/api/resource/BUILD @@ -15,6 +15,7 @@ go_test( "quantity_test.go", "scale_int_test.go", ], + importpath = "k8s.io/apimachinery/pkg/api/resource", library = ":go_default_library", deps = [ "//vendor/github.com/google/gofuzz:go_default_library", @@ -35,6 +36,7 @@ go_library( "suffix.go", "zz_generated.deepcopy.go", ], + importpath = "k8s.io/apimachinery/pkg/api/resource", deps = [ "//vendor/github.com/go-openapi/spec:go_default_library", "//vendor/github.com/gogo/protobuf/proto:go_default_library", @@ -48,6 +50,7 @@ go_library( go_test( name = "go_default_xtest", srcs = ["quantity_example_test.go"], + importpath = "k8s.io/apimachinery/pkg/api/resource_test", deps = ["//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library"], ) diff --git a/pkg/api/testing/BUILD b/pkg/api/testing/BUILD index d906482c5..f4d21861a 100644 --- a/pkg/api/testing/BUILD +++ b/pkg/api/testing/BUILD @@ -8,6 +8,7 @@ load( go_library( name = "go_default_library", srcs = ["codec.go"], + importpath = "k8s.io/apimachinery/pkg/api/testing", deps = [ "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", diff --git a/pkg/api/testing/fuzzer/BUILD b/pkg/api/testing/fuzzer/BUILD index a81c71a75..3b58ce248 100644 --- a/pkg/api/testing/fuzzer/BUILD +++ b/pkg/api/testing/fuzzer/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["valuefuzz_test.go"], + importpath = "k8s.io/apimachinery/pkg/api/testing/fuzzer", library = ":go_default_library", ) @@ -18,6 +19,7 @@ go_library( "fuzzer.go", "valuefuzz.go", ], + importpath = "k8s.io/apimachinery/pkg/api/testing/fuzzer", deps = [ "//vendor/github.com/google/gofuzz:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library", diff --git a/pkg/api/testing/roundtrip/BUILD b/pkg/api/testing/roundtrip/BUILD index 927bace73..af01af51b 100644 --- a/pkg/api/testing/roundtrip/BUILD +++ b/pkg/api/testing/roundtrip/BUILD @@ -8,6 +8,7 @@ load( go_library( name = "go_default_library", srcs = ["roundtrip.go"], + importpath = "k8s.io/apimachinery/pkg/api/testing/roundtrip", deps = [ "//vendor/github.com/davecgh/go-spew/spew:go_default_library", "//vendor/github.com/golang/protobuf/proto:go_default_library", diff --git a/pkg/api/validation/BUILD b/pkg/api/validation/BUILD index 9de7826bc..8546d1a59 100644 --- a/pkg/api/validation/BUILD +++ b/pkg/api/validation/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["objectmeta_test.go"], + importpath = "k8s.io/apimachinery/pkg/api/validation", library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", @@ -23,6 +24,7 @@ go_library( "generic.go", "objectmeta.go", ], + importpath = "k8s.io/apimachinery/pkg/api/validation", deps = [ "//vendor/k8s.io/apimachinery/pkg/api/equality:go_default_library", "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", diff --git a/pkg/api/validation/path/BUILD b/pkg/api/validation/path/BUILD index 1aff05d05..e50632c50 100644 --- a/pkg/api/validation/path/BUILD +++ b/pkg/api/validation/path/BUILD @@ -9,12 +9,14 @@ load( go_test( name = "go_default_test", srcs = ["name_test.go"], + importpath = "k8s.io/apimachinery/pkg/api/validation/path", library = ":go_default_library", ) go_library( name = "go_default_library", srcs = ["name.go"], + importpath = "k8s.io/apimachinery/pkg/api/validation/path", ) filegroup( diff --git a/pkg/apimachinery/BUILD b/pkg/apimachinery/BUILD index fc983842e..2c6753d14 100644 --- a/pkg/apimachinery/BUILD +++ b/pkg/apimachinery/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["types_test.go"], + importpath = "k8s.io/apimachinery/pkg/apimachinery", library = ":go_default_library", deps = ["//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library"], ) @@ -19,6 +20,7 @@ go_library( "doc.go", "types.go", ], + importpath = "k8s.io/apimachinery/pkg/apimachinery", deps = [ "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", diff --git a/pkg/apimachinery/announced/BUILD b/pkg/apimachinery/announced/BUILD index 466f86e1f..314ddcad2 100644 --- a/pkg/apimachinery/announced/BUILD +++ b/pkg/apimachinery/announced/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["announced_test.go"], + importpath = "k8s.io/apimachinery/pkg/apimachinery/announced", library = ":go_default_library", deps = ["//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library"], ) @@ -19,6 +20,7 @@ go_library( "announced.go", "group_factory.go", ], + importpath = "k8s.io/apimachinery/pkg/apimachinery/announced", deps = [ "//vendor/github.com/golang/glog:go_default_library", "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", diff --git a/pkg/apimachinery/registered/BUILD b/pkg/apimachinery/registered/BUILD index e4c685647..8982b5629 100644 --- a/pkg/apimachinery/registered/BUILD +++ b/pkg/apimachinery/registered/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["registered_test.go"], + importpath = "k8s.io/apimachinery/pkg/apimachinery/registered", library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/apimachinery:go_default_library", @@ -19,6 +20,7 @@ go_test( go_library( name = "go_default_library", srcs = ["registered.go"], + importpath = "k8s.io/apimachinery/pkg/apimachinery/registered", deps = [ "//vendor/github.com/golang/glog:go_default_library", "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", diff --git a/pkg/apis/meta/fuzzer/BUILD b/pkg/apis/meta/fuzzer/BUILD index e91a7cbff..00e122ca7 100644 --- a/pkg/apis/meta/fuzzer/BUILD +++ b/pkg/apis/meta/fuzzer/BUILD @@ -8,6 +8,7 @@ load( go_library( name = "go_default_library", srcs = ["fuzzer.go"], + importpath = "k8s.io/apimachinery/pkg/apis/meta/fuzzer", deps = [ "//vendor/github.com/google/gofuzz:go_default_library", "//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library", diff --git a/pkg/apis/meta/internalversion/BUILD b/pkg/apis/meta/internalversion/BUILD index 5caf075fa..636707fe2 100644 --- a/pkg/apis/meta/internalversion/BUILD +++ b/pkg/apis/meta/internalversion/BUILD @@ -12,6 +12,7 @@ go_test( "register_test.go", "roundtrip_test.go", ], + importpath = "k8s.io/apimachinery/pkg/apis/meta/internalversion", library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/api/testing/roundtrip:go_default_library", @@ -31,6 +32,7 @@ go_library( "zz_generated.conversion.go", "zz_generated.deepcopy.go", ], + importpath = "k8s.io/apimachinery/pkg/apis/meta/internalversion", deps = [ "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1alpha1:go_default_library", diff --git a/pkg/apis/meta/v1/BUILD b/pkg/apis/meta/v1/BUILD index 12fdf76a6..7354f5e2f 100644 --- a/pkg/apis/meta/v1/BUILD +++ b/pkg/apis/meta/v1/BUILD @@ -18,6 +18,7 @@ go_test( "time_test.go", "types_test.go", ], + importpath = "k8s.io/apimachinery/pkg/apis/meta/v1", library = ":go_default_library", deps = [ "//vendor/github.com/ghodss/yaml:go_default_library", @@ -50,6 +51,7 @@ go_library( "zz_generated.deepcopy.go", "zz_generated.defaults.go", ], + importpath = "k8s.io/apimachinery/pkg/apis/meta/v1", deps = [ "//vendor/github.com/go-openapi/spec:go_default_library", "//vendor/github.com/gogo/protobuf/proto:go_default_library", diff --git a/pkg/apis/meta/v1/unstructured/BUILD b/pkg/apis/meta/v1/unstructured/BUILD index 9c2154a3a..ec27bfd78 100644 --- a/pkg/apis/meta/v1/unstructured/BUILD +++ b/pkg/apis/meta/v1/unstructured/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["unstructured_test.go"], + importpath = "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", library = ":go_default_library", deps = ["//vendor/github.com/stretchr/testify/assert:go_default_library"], ) @@ -19,6 +20,7 @@ go_library( "unstructured.go", "zz_generated.deepcopy.go", ], + importpath = "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", deps = [ "//vendor/github.com/golang/glog:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", diff --git a/pkg/apis/meta/v1/validation/BUILD b/pkg/apis/meta/v1/validation/BUILD index 2544ce6e1..216ef6368 100644 --- a/pkg/apis/meta/v1/validation/BUILD +++ b/pkg/apis/meta/v1/validation/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["validation_test.go"], + importpath = "k8s.io/apimachinery/pkg/apis/meta/v1/validation", library = ":go_default_library", deps = ["//vendor/k8s.io/apimachinery/pkg/util/validation/field:go_default_library"], ) @@ -16,6 +17,7 @@ go_test( go_library( name = "go_default_library", srcs = ["validation.go"], + importpath = "k8s.io/apimachinery/pkg/apis/meta/v1/validation", deps = [ "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", "//vendor/k8s.io/apimachinery/pkg/util/validation:go_default_library", diff --git a/pkg/apis/meta/v1alpha1/BUILD b/pkg/apis/meta/v1alpha1/BUILD index e981dea09..ab36b1873 100644 --- a/pkg/apis/meta/v1alpha1/BUILD +++ b/pkg/apis/meta/v1alpha1/BUILD @@ -18,6 +18,7 @@ go_library( "zz_generated.deepcopy.go", "zz_generated.defaults.go", ], + importpath = "k8s.io/apimachinery/pkg/apis/meta/v1alpha1", deps = [ "//vendor/github.com/gogo/protobuf/proto:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", diff --git a/pkg/apis/testapigroup/BUILD b/pkg/apis/testapigroup/BUILD index 33b3235a2..1f2b043a3 100644 --- a/pkg/apis/testapigroup/BUILD +++ b/pkg/apis/testapigroup/BUILD @@ -13,6 +13,7 @@ go_library( "types.go", "zz_generated.deepcopy.go", ], + importpath = "k8s.io/apimachinery/pkg/apis/testapigroup", deps = [ "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library", diff --git a/pkg/apis/testapigroup/fuzzer/BUILD b/pkg/apis/testapigroup/fuzzer/BUILD index e54e95d84..0f2994c19 100644 --- a/pkg/apis/testapigroup/fuzzer/BUILD +++ b/pkg/apis/testapigroup/fuzzer/BUILD @@ -8,6 +8,7 @@ load( go_library( name = "go_default_library", srcs = ["fuzzer.go"], + importpath = "k8s.io/apimachinery/pkg/apis/testapigroup/fuzzer", deps = [ "//vendor/github.com/google/gofuzz:go_default_library", "//vendor/k8s.io/apimachinery/pkg/api/testing:go_default_library", diff --git a/pkg/apis/testapigroup/install/BUILD b/pkg/apis/testapigroup/install/BUILD index c2abc2280..d0e74e870 100644 --- a/pkg/apis/testapigroup/install/BUILD +++ b/pkg/apis/testapigroup/install/BUILD @@ -9,6 +9,7 @@ load( go_library( name = "go_default_library", srcs = ["install.go"], + importpath = "k8s.io/apimachinery/pkg/apis/testapigroup/install", deps = [ "//vendor/k8s.io/apimachinery/pkg/apimachinery/announced:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apimachinery/registered:go_default_library", @@ -21,6 +22,7 @@ go_library( go_test( name = "go_default_test", srcs = ["roundtrip_test.go"], + importpath = "k8s.io/apimachinery/pkg/apis/testapigroup/install", library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/api/testing/roundtrip:go_default_library", diff --git a/pkg/apis/testapigroup/v1/BUILD b/pkg/apis/testapigroup/v1/BUILD index c54bf4e28..1309167d4 100644 --- a/pkg/apis/testapigroup/v1/BUILD +++ b/pkg/apis/testapigroup/v1/BUILD @@ -19,6 +19,7 @@ go_library( "zz_generated.deepcopy.go", "zz_generated.defaults.go", ], + importpath = "k8s.io/apimachinery/pkg/apis/testapigroup/v1", deps = [ "//vendor/github.com/gogo/protobuf/proto:go_default_library", "//vendor/github.com/gogo/protobuf/sortkeys:go_default_library", diff --git a/pkg/conversion/BUILD b/pkg/conversion/BUILD index eb7f17496..7e100d4fa 100644 --- a/pkg/conversion/BUILD +++ b/pkg/conversion/BUILD @@ -13,6 +13,7 @@ go_test( "deep_copy_test.go", "helper_test.go", ], + importpath = "k8s.io/apimachinery/pkg/conversion", library = ":go_default_library", deps = [ "//vendor/github.com/google/gofuzz:go_default_library", @@ -30,6 +31,7 @@ go_library( "doc.go", "helper.go", ], + importpath = "k8s.io/apimachinery/pkg/conversion", deps = ["//vendor/k8s.io/apimachinery/third_party/forked/golang/reflect:go_default_library"], ) diff --git a/pkg/conversion/queryparams/BUILD b/pkg/conversion/queryparams/BUILD index e2beb3e0a..8b871ab12 100644 --- a/pkg/conversion/queryparams/BUILD +++ b/pkg/conversion/queryparams/BUILD @@ -12,11 +12,13 @@ go_library( "convert.go", "doc.go", ], + importpath = "k8s.io/apimachinery/pkg/conversion/queryparams", ) go_test( name = "go_default_xtest", srcs = ["convert_test.go"], + importpath = "k8s.io/apimachinery/pkg/conversion/queryparams_test", deps = [ "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", "//vendor/k8s.io/apimachinery/pkg/conversion/queryparams:go_default_library", diff --git a/pkg/conversion/unstructured/BUILD b/pkg/conversion/unstructured/BUILD index d10d733c3..91c1bb00b 100644 --- a/pkg/conversion/unstructured/BUILD +++ b/pkg/conversion/unstructured/BUILD @@ -11,6 +11,7 @@ go_library( "converter.go", "doc.go", ], + importpath = "k8s.io/apimachinery/pkg/conversion/unstructured", deps = [ "//vendor/github.com/golang/glog:go_default_library", "//vendor/k8s.io/apimachinery/pkg/api/equality:go_default_library", diff --git a/pkg/conversion/unstructured/testing/BUILD b/pkg/conversion/unstructured/testing/BUILD index 77d4bd72e..eaeca02a7 100644 --- a/pkg/conversion/unstructured/testing/BUILD +++ b/pkg/conversion/unstructured/testing/BUILD @@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_test") go_test( name = "go_default_test", srcs = ["converter_test.go"], + importpath = "k8s.io/apimachinery/pkg/conversion/unstructured/testing", deps = [ "//vendor/github.com/stretchr/testify/assert:go_default_library", "//vendor/github.com/stretchr/testify/require:go_default_library", diff --git a/pkg/fields/BUILD b/pkg/fields/BUILD index 637ecc4bb..2bae13503 100644 --- a/pkg/fields/BUILD +++ b/pkg/fields/BUILD @@ -12,6 +12,7 @@ go_test( "fields_test.go", "selector_test.go", ], + importpath = "k8s.io/apimachinery/pkg/fields", library = ":go_default_library", ) @@ -23,6 +24,7 @@ go_library( "requirements.go", "selector.go", ], + importpath = "k8s.io/apimachinery/pkg/fields", deps = ["//vendor/k8s.io/apimachinery/pkg/selection:go_default_library"], ) diff --git a/pkg/labels/BUILD b/pkg/labels/BUILD index f49d05a27..3612719d3 100644 --- a/pkg/labels/BUILD +++ b/pkg/labels/BUILD @@ -12,6 +12,7 @@ go_test( "labels_test.go", "selector_test.go", ], + importpath = "k8s.io/apimachinery/pkg/labels", library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/selection:go_default_library", @@ -27,6 +28,7 @@ go_library( "selector.go", "zz_generated.deepcopy.go", ], + importpath = "k8s.io/apimachinery/pkg/labels", deps = [ "//vendor/github.com/golang/glog:go_default_library", "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library", diff --git a/pkg/runtime/BUILD b/pkg/runtime/BUILD index ef9dc9af6..2085e643f 100644 --- a/pkg/runtime/BUILD +++ b/pkg/runtime/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["swagger_doc_generator_test.go"], + importpath = "k8s.io/apimachinery/pkg/runtime", library = ":go_default_library", ) @@ -33,6 +34,7 @@ go_library( "types_proto.go", "zz_generated.deepcopy.go", ], + importpath = "k8s.io/apimachinery/pkg/runtime", deps = [ "//vendor/github.com/gogo/protobuf/proto:go_default_library", "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library", @@ -50,6 +52,7 @@ go_test( "extension_test.go", "scheme_test.go", ], + importpath = "k8s.io/apimachinery/pkg/runtime_test", deps = [ "//vendor/github.com/google/gofuzz:go_default_library", "//vendor/github.com/spf13/pflag:go_default_library", diff --git a/pkg/runtime/schema/BUILD b/pkg/runtime/schema/BUILD index 07faa4dc5..032d866ed 100644 --- a/pkg/runtime/schema/BUILD +++ b/pkg/runtime/schema/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["group_version_test.go"], + importpath = "k8s.io/apimachinery/pkg/runtime/schema", library = ":go_default_library", ) @@ -19,6 +20,7 @@ go_library( "group_version.go", "interfaces.go", ], + importpath = "k8s.io/apimachinery/pkg/runtime/schema", deps = ["//vendor/github.com/gogo/protobuf/proto:go_default_library"], ) diff --git a/pkg/runtime/serializer/BUILD b/pkg/runtime/serializer/BUILD index 4a0a8f812..9403c3376 100644 --- a/pkg/runtime/serializer/BUILD +++ b/pkg/runtime/serializer/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["codec_test.go"], + importpath = "k8s.io/apimachinery/pkg/runtime/serializer", library = ":go_default_library", deps = [ "//vendor/github.com/ghodss/yaml:go_default_library", @@ -30,6 +31,7 @@ go_library( "negotiated_codec.go", "protobuf_extension.go", ], + importpath = "k8s.io/apimachinery/pkg/runtime/serializer", deps = [ "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", diff --git a/pkg/runtime/serializer/json/BUILD b/pkg/runtime/serializer/json/BUILD index d8a2b8d65..0d43ce954 100644 --- a/pkg/runtime/serializer/json/BUILD +++ b/pkg/runtime/serializer/json/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["meta_test.go"], + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/json", library = ":go_default_library", ) @@ -18,6 +19,7 @@ go_library( "json.go", "meta.go", ], + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/json", deps = [ "//vendor/github.com/ghodss/yaml:go_default_library", "//vendor/github.com/json-iterator/go:go_default_library", @@ -32,6 +34,7 @@ go_library( go_test( name = "go_default_xtest", srcs = ["json_test.go"], + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/json_test", deps = [ "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", diff --git a/pkg/runtime/serializer/protobuf/BUILD b/pkg/runtime/serializer/protobuf/BUILD index dba23107d..3eb91d862 100644 --- a/pkg/runtime/serializer/protobuf/BUILD +++ b/pkg/runtime/serializer/protobuf/BUILD @@ -11,6 +11,7 @@ go_library( "doc.go", "protobuf.go", ], + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/protobuf", deps = [ "//vendor/github.com/gogo/protobuf/proto:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", diff --git a/pkg/runtime/serializer/recognizer/BUILD b/pkg/runtime/serializer/recognizer/BUILD index 95239b028..de54abb3d 100644 --- a/pkg/runtime/serializer/recognizer/BUILD +++ b/pkg/runtime/serializer/recognizer/BUILD @@ -8,6 +8,7 @@ load( go_library( name = "go_default_library", srcs = ["recognizer.go"], + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/recognizer", deps = [ "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", diff --git a/pkg/runtime/serializer/recognizer/testing/BUILD b/pkg/runtime/serializer/recognizer/testing/BUILD index 4e126bc8a..2e293b985 100644 --- a/pkg/runtime/serializer/recognizer/testing/BUILD +++ b/pkg/runtime/serializer/recognizer/testing/BUILD @@ -8,6 +8,7 @@ load( go_test( name = "go_default_test", srcs = ["recognizer_test.go"], + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/recognizer/testing", deps = [ "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", diff --git a/pkg/runtime/serializer/streaming/BUILD b/pkg/runtime/serializer/streaming/BUILD index f3991e494..4903338fa 100644 --- a/pkg/runtime/serializer/streaming/BUILD +++ b/pkg/runtime/serializer/streaming/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["streaming_test.go"], + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/streaming", library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", @@ -20,6 +21,7 @@ go_test( go_library( name = "go_default_library", srcs = ["streaming.go"], + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/streaming", deps = [ "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", diff --git a/pkg/runtime/serializer/testing/BUILD b/pkg/runtime/serializer/testing/BUILD index a92f1ba02..fce9bea29 100644 --- a/pkg/runtime/serializer/testing/BUILD +++ b/pkg/runtime/serializer/testing/BUILD @@ -12,6 +12,7 @@ go_library( "types.go", "zz_generated.deepcopy.go", ], + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/testing", deps = [ "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", diff --git a/pkg/runtime/serializer/versioning/BUILD b/pkg/runtime/serializer/versioning/BUILD index e23bae09c..a1b0e6eb2 100644 --- a/pkg/runtime/serializer/versioning/BUILD +++ b/pkg/runtime/serializer/versioning/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["versioning_test.go"], + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/versioning", library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", @@ -20,6 +21,7 @@ go_test( go_library( name = "go_default_library", srcs = ["versioning.go"], + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/versioning", deps = [ "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", diff --git a/pkg/runtime/serializer/yaml/BUILD b/pkg/runtime/serializer/yaml/BUILD index 7aa51ff4e..104fa7a7b 100644 --- a/pkg/runtime/serializer/yaml/BUILD +++ b/pkg/runtime/serializer/yaml/BUILD @@ -8,6 +8,7 @@ load( go_library( name = "go_default_library", srcs = ["yaml.go"], + importpath = "k8s.io/apimachinery/pkg/runtime/serializer/yaml", deps = [ "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", diff --git a/pkg/runtime/testing/BUILD b/pkg/runtime/testing/BUILD index a92f1ba02..f3fbe2e9a 100644 --- a/pkg/runtime/testing/BUILD +++ b/pkg/runtime/testing/BUILD @@ -12,6 +12,7 @@ go_library( "types.go", "zz_generated.deepcopy.go", ], + importpath = "k8s.io/apimachinery/pkg/runtime/testing", deps = [ "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", diff --git a/pkg/selection/BUILD b/pkg/selection/BUILD index 29027a0b9..3790df9af 100644 --- a/pkg/selection/BUILD +++ b/pkg/selection/BUILD @@ -8,6 +8,7 @@ load( go_library( name = "go_default_library", srcs = ["operator.go"], + importpath = "k8s.io/apimachinery/pkg/selection", ) filegroup( diff --git a/pkg/test/BUILD b/pkg/test/BUILD index e5de3f43b..314f8c9d6 100644 --- a/pkg/test/BUILD +++ b/pkg/test/BUILD @@ -16,6 +16,7 @@ go_test( "runtime_serializer_protobuf_protobuf_test.go", "runtime_unversioned_test.go", ], + importpath = "k8s.io/apimachinery/pkg/test", library = ":go_default_library", deps = [ "//vendor/github.com/google/gofuzz:go_default_library", @@ -40,6 +41,7 @@ go_library( "util.go", "zz_generated.deepcopy.go", ], + importpath = "k8s.io/apimachinery/pkg/test", deps = [ "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apis/testapigroup:go_default_library", diff --git a/pkg/types/BUILD b/pkg/types/BUILD index 63d4f6b15..3db635c8a 100644 --- a/pkg/types/BUILD +++ b/pkg/types/BUILD @@ -14,6 +14,7 @@ go_library( "patch.go", "uid.go", ], + importpath = "k8s.io/apimachinery/pkg/types", ) filegroup( diff --git a/pkg/util/cache/BUILD b/pkg/util/cache/BUILD index ecc2cd93b..d589c0d15 100644 --- a/pkg/util/cache/BUILD +++ b/pkg/util/cache/BUILD @@ -12,6 +12,7 @@ go_test( "cache_test.go", "lruexpirecache_test.go", ], + importpath = "k8s.io/apimachinery/pkg/util/cache", library = ":go_default_library", deps = [ "//vendor/github.com/golang/groupcache/lru:go_default_library", @@ -25,6 +26,7 @@ go_library( "cache.go", "lruexpirecache.go", ], + importpath = "k8s.io/apimachinery/pkg/util/cache", deps = ["//vendor/github.com/hashicorp/golang-lru:go_default_library"], ) diff --git a/pkg/util/clock/BUILD b/pkg/util/clock/BUILD index 90d28c490..62ad5a87b 100644 --- a/pkg/util/clock/BUILD +++ b/pkg/util/clock/BUILD @@ -9,12 +9,14 @@ load( go_test( name = "go_default_test", srcs = ["clock_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/clock", library = ":go_default_library", ) go_library( name = "go_default_library", srcs = ["clock.go"], + importpath = "k8s.io/apimachinery/pkg/util/clock", ) filegroup( diff --git a/pkg/util/diff/BUILD b/pkg/util/diff/BUILD index 225d0b6f7..4ba69bc63 100644 --- a/pkg/util/diff/BUILD +++ b/pkg/util/diff/BUILD @@ -9,12 +9,14 @@ load( go_test( name = "go_default_test", srcs = ["diff_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/diff", library = ":go_default_library", ) go_library( name = "go_default_library", srcs = ["diff.go"], + importpath = "k8s.io/apimachinery/pkg/util/diff", deps = [ "//vendor/github.com/davecgh/go-spew/spew:go_default_library", "//vendor/k8s.io/apimachinery/pkg/util/validation/field:go_default_library", diff --git a/pkg/util/errors/BUILD b/pkg/util/errors/BUILD index 8859a8e47..d13ff2407 100644 --- a/pkg/util/errors/BUILD +++ b/pkg/util/errors/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["errors_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/errors", library = ":go_default_library", ) @@ -18,6 +19,7 @@ go_library( "doc.go", "errors.go", ], + importpath = "k8s.io/apimachinery/pkg/util/errors", ) filegroup( diff --git a/pkg/util/framer/BUILD b/pkg/util/framer/BUILD index 7b6827195..f0b7cdec5 100644 --- a/pkg/util/framer/BUILD +++ b/pkg/util/framer/BUILD @@ -9,12 +9,14 @@ load( go_test( name = "go_default_test", srcs = ["framer_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/framer", library = ":go_default_library", ) go_library( name = "go_default_library", srcs = ["framer.go"], + importpath = "k8s.io/apimachinery/pkg/util/framer", ) filegroup( diff --git a/pkg/util/httpstream/BUILD b/pkg/util/httpstream/BUILD index fa913eb77..94c1d94a2 100644 --- a/pkg/util/httpstream/BUILD +++ b/pkg/util/httpstream/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["httpstream_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/httpstream", library = ":go_default_library", ) @@ -18,6 +19,7 @@ go_library( "doc.go", "httpstream.go", ], + importpath = "k8s.io/apimachinery/pkg/util/httpstream", ) filegroup( diff --git a/pkg/util/httpstream/spdy/BUILD b/pkg/util/httpstream/spdy/BUILD index 3d82eb526..8342083ad 100644 --- a/pkg/util/httpstream/spdy/BUILD +++ b/pkg/util/httpstream/spdy/BUILD @@ -13,6 +13,7 @@ go_test( "roundtripper_test.go", "upgrade_test.go", ], + importpath = "k8s.io/apimachinery/pkg/util/httpstream/spdy", library = ":go_default_library", deps = [ "//vendor/github.com/elazarl/goproxy:go_default_library", @@ -27,6 +28,7 @@ go_library( "roundtripper.go", "upgrade.go", ], + importpath = "k8s.io/apimachinery/pkg/util/httpstream/spdy", deps = [ "//vendor/github.com/docker/spdystream:go_default_library", "//vendor/github.com/golang/glog:go_default_library", diff --git a/pkg/util/initialization/BUILD b/pkg/util/initialization/BUILD index 8c0f05b66..37691997b 100644 --- a/pkg/util/initialization/BUILD +++ b/pkg/util/initialization/BUILD @@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["initialization.go"], + importpath = "k8s.io/apimachinery/pkg/util/initialization", visibility = ["//visibility:public"], deps = [ "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", diff --git a/pkg/util/intstr/BUILD b/pkg/util/intstr/BUILD index 9eece8f80..2e3fe6516 100644 --- a/pkg/util/intstr/BUILD +++ b/pkg/util/intstr/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["intstr_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/intstr", library = ":go_default_library", deps = ["//vendor/github.com/ghodss/yaml:go_default_library"], ) @@ -19,6 +20,7 @@ go_library( "generated.pb.go", "intstr.go", ], + importpath = "k8s.io/apimachinery/pkg/util/intstr", deps = [ "//vendor/github.com/go-openapi/spec:go_default_library", "//vendor/github.com/gogo/protobuf/proto:go_default_library", diff --git a/pkg/util/json/BUILD b/pkg/util/json/BUILD index cc30f7040..c9b57bcba 100644 --- a/pkg/util/json/BUILD +++ b/pkg/util/json/BUILD @@ -9,11 +9,13 @@ load( go_library( name = "go_default_library", srcs = ["json.go"], + importpath = "k8s.io/apimachinery/pkg/util/json", ) go_test( name = "go_default_test", srcs = ["json_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/json", library = ":go_default_library", ) diff --git a/pkg/util/jsonmergepatch/BUILD b/pkg/util/jsonmergepatch/BUILD index 147c659e5..79b5e54d6 100644 --- a/pkg/util/jsonmergepatch/BUILD +++ b/pkg/util/jsonmergepatch/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["patch_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/jsonmergepatch", library = ":go_default_library", deps = [ "//vendor/github.com/davecgh/go-spew/spew:go_default_library", @@ -21,6 +22,7 @@ go_test( go_library( name = "go_default_library", srcs = ["patch.go"], + importpath = "k8s.io/apimachinery/pkg/util/jsonmergepatch", deps = [ "//vendor/github.com/evanphx/json-patch:go_default_library", "//vendor/k8s.io/apimachinery/pkg/util/json:go_default_library", diff --git a/pkg/util/mergepatch/BUILD b/pkg/util/mergepatch/BUILD index 775b5b2b6..007159566 100644 --- a/pkg/util/mergepatch/BUILD +++ b/pkg/util/mergepatch/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["util_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/mergepatch", library = ":go_default_library", ) @@ -18,6 +19,7 @@ go_library( "errors.go", "util.go", ], + importpath = "k8s.io/apimachinery/pkg/util/mergepatch", deps = [ "//vendor/github.com/davecgh/go-spew/spew:go_default_library", "//vendor/github.com/ghodss/yaml:go_default_library", diff --git a/pkg/util/net/BUILD b/pkg/util/net/BUILD index bdd086a61..d7390ed5c 100644 --- a/pkg/util/net/BUILD +++ b/pkg/util/net/BUILD @@ -15,6 +15,7 @@ go_test( "port_split_test.go", "util_test.go", ], + importpath = "k8s.io/apimachinery/pkg/util/net", library = ":go_default_library", deps = ["//vendor/github.com/spf13/pflag:go_default_library"], ) @@ -28,6 +29,7 @@ go_library( "port_split.go", "util.go", ], + importpath = "k8s.io/apimachinery/pkg/util/net", deps = [ "//vendor/github.com/golang/glog:go_default_library", "//vendor/golang.org/x/net/http2:go_default_library", diff --git a/pkg/util/proxy/BUILD b/pkg/util/proxy/BUILD index ff2aafdba..368915c2c 100644 --- a/pkg/util/proxy/BUILD +++ b/pkg/util/proxy/BUILD @@ -13,6 +13,7 @@ go_test( "transport_test.go", "upgradeaware_test.go", ], + importpath = "k8s.io/apimachinery/pkg/util/proxy", library = ":go_default_library", deps = [ "//vendor/github.com/stretchr/testify/assert:go_default_library", @@ -32,6 +33,7 @@ go_library( "transport.go", "upgradeaware.go", ], + importpath = "k8s.io/apimachinery/pkg/util/proxy", deps = [ "//vendor/github.com/golang/glog:go_default_library", "//vendor/github.com/mxk/go-flowrate/flowrate:go_default_library", diff --git a/pkg/util/rand/BUILD b/pkg/util/rand/BUILD index a92d241f9..b7769be86 100644 --- a/pkg/util/rand/BUILD +++ b/pkg/util/rand/BUILD @@ -9,12 +9,14 @@ load( go_test( name = "go_default_test", srcs = ["rand_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/rand", library = ":go_default_library", ) go_library( name = "go_default_library", srcs = ["rand.go"], + importpath = "k8s.io/apimachinery/pkg/util/rand", ) filegroup( diff --git a/pkg/util/remotecommand/BUILD b/pkg/util/remotecommand/BUILD index 0293e0dda..9919ad54a 100644 --- a/pkg/util/remotecommand/BUILD +++ b/pkg/util/remotecommand/BUILD @@ -8,6 +8,7 @@ load( go_library( name = "go_default_library", srcs = ["constants.go"], + importpath = "k8s.io/apimachinery/pkg/util/remotecommand", deps = ["//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library"], ) diff --git a/pkg/util/runtime/BUILD b/pkg/util/runtime/BUILD index 55109577d..40892fa78 100644 --- a/pkg/util/runtime/BUILD +++ b/pkg/util/runtime/BUILD @@ -9,12 +9,14 @@ load( go_test( name = "go_default_test", srcs = ["runtime_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/runtime", library = ":go_default_library", ) go_library( name = "go_default_library", srcs = ["runtime.go"], + importpath = "k8s.io/apimachinery/pkg/util/runtime", deps = ["//vendor/github.com/golang/glog:go_default_library"], ) diff --git a/pkg/util/sets/BUILD b/pkg/util/sets/BUILD index 3bf4ebc13..5a6175ad4 100644 --- a/pkg/util/sets/BUILD +++ b/pkg/util/sets/BUILD @@ -17,6 +17,7 @@ go_library( "int64.go", "string.go", ], + importpath = "k8s.io/apimachinery/pkg/util/sets", ) go_genrule( @@ -50,6 +51,7 @@ $(location //vendor/k8s.io/code-generator/cmd/set-gen) \ go_test( name = "go_default_test", srcs = ["set_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/sets", library = ":go_default_library", ) diff --git a/pkg/util/sets/types/BUILD b/pkg/util/sets/types/BUILD index f39b267a2..50f7528df 100644 --- a/pkg/util/sets/types/BUILD +++ b/pkg/util/sets/types/BUILD @@ -8,6 +8,7 @@ load( go_library( name = "go_default_library", srcs = ["types.go"], + importpath = "k8s.io/apimachinery/pkg/util/sets/types", ) filegroup( diff --git a/pkg/util/strategicpatch/BUILD b/pkg/util/strategicpatch/BUILD index eebfbf69a..45770861e 100644 --- a/pkg/util/strategicpatch/BUILD +++ b/pkg/util/strategicpatch/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["patch_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/strategicpatch", library = ":go_default_library", deps = [ "//vendor/github.com/davecgh/go-spew/spew:go_default_library", @@ -22,6 +23,7 @@ go_test( go_library( name = "go_default_library", srcs = ["patch.go"], + importpath = "k8s.io/apimachinery/pkg/util/strategicpatch", deps = [ "//vendor/k8s.io/apimachinery/pkg/util/json:go_default_library", "//vendor/k8s.io/apimachinery/pkg/util/mergepatch:go_default_library", diff --git a/pkg/util/uuid/BUILD b/pkg/util/uuid/BUILD index 5ee2b075b..786d8fbe3 100644 --- a/pkg/util/uuid/BUILD +++ b/pkg/util/uuid/BUILD @@ -8,6 +8,7 @@ load( go_library( name = "go_default_library", srcs = ["uuid.go"], + importpath = "k8s.io/apimachinery/pkg/util/uuid", deps = [ "//vendor/github.com/pborman/uuid:go_default_library", "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", diff --git a/pkg/util/validation/BUILD b/pkg/util/validation/BUILD index 252ee5308..9680c1fa7 100644 --- a/pkg/util/validation/BUILD +++ b/pkg/util/validation/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["validation_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/validation", library = ":go_default_library", deps = ["//vendor/k8s.io/apimachinery/pkg/util/validation/field:go_default_library"], ) @@ -16,6 +17,7 @@ go_test( go_library( name = "go_default_library", srcs = ["validation.go"], + importpath = "k8s.io/apimachinery/pkg/util/validation", deps = ["//vendor/k8s.io/apimachinery/pkg/util/validation/field:go_default_library"], ) diff --git a/pkg/util/validation/field/BUILD b/pkg/util/validation/field/BUILD index 913833185..5508ab94c 100644 --- a/pkg/util/validation/field/BUILD +++ b/pkg/util/validation/field/BUILD @@ -12,6 +12,7 @@ go_test( "errors_test.go", "path_test.go", ], + importpath = "k8s.io/apimachinery/pkg/util/validation/field", library = ":go_default_library", ) @@ -21,6 +22,7 @@ go_library( "errors.go", "path.go", ], + importpath = "k8s.io/apimachinery/pkg/util/validation/field", deps = [ "//vendor/k8s.io/apimachinery/pkg/util/errors:go_default_library", "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", diff --git a/pkg/util/wait/BUILD b/pkg/util/wait/BUILD index dfbfb2a7c..6eca13c02 100644 --- a/pkg/util/wait/BUILD +++ b/pkg/util/wait/BUILD @@ -9,6 +9,7 @@ load( go_test( name = "go_default_test", srcs = ["wait_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/wait", library = ":go_default_library", deps = ["//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library"], ) @@ -19,6 +20,7 @@ go_library( "doc.go", "wait.go", ], + importpath = "k8s.io/apimachinery/pkg/util/wait", deps = ["//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library"], ) diff --git a/pkg/util/yaml/BUILD b/pkg/util/yaml/BUILD index 433c3eacb..e660edfe7 100644 --- a/pkg/util/yaml/BUILD +++ b/pkg/util/yaml/BUILD @@ -9,12 +9,14 @@ load( go_test( name = "go_default_test", srcs = ["decoder_test.go"], + importpath = "k8s.io/apimachinery/pkg/util/yaml", library = ":go_default_library", ) go_library( name = "go_default_library", srcs = ["decoder.go"], + importpath = "k8s.io/apimachinery/pkg/util/yaml", deps = [ "//vendor/github.com/ghodss/yaml:go_default_library", "//vendor/github.com/golang/glog:go_default_library", diff --git a/pkg/version/BUILD b/pkg/version/BUILD index 8a548064a..bdccf7b3a 100644 --- a/pkg/version/BUILD +++ b/pkg/version/BUILD @@ -11,6 +11,7 @@ go_library( "doc.go", "types.go", ], + importpath = "k8s.io/apimachinery/pkg/version", ) filegroup( diff --git a/pkg/watch/BUILD b/pkg/watch/BUILD index 6285679f3..da068f70d 100644 --- a/pkg/watch/BUILD +++ b/pkg/watch/BUILD @@ -17,6 +17,7 @@ go_library( "watch.go", "zz_generated.deepcopy.go", ], + importpath = "k8s.io/apimachinery/pkg/watch", deps = [ "//vendor/github.com/golang/glog:go_default_library", "//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library", @@ -36,6 +37,7 @@ go_test( "streamwatcher_test.go", "watch_test.go", ], + importpath = "k8s.io/apimachinery/pkg/watch_test", deps = [ "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", @@ -47,6 +49,7 @@ go_test( go_test( name = "go_default_test", srcs = ["until_test.go"], + importpath = "k8s.io/apimachinery/pkg/watch", library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", diff --git a/third_party/forked/golang/json/BUILD b/third_party/forked/golang/json/BUILD index 9754f28e9..4c20d9771 100644 --- a/third_party/forked/golang/json/BUILD +++ b/third_party/forked/golang/json/BUILD @@ -9,11 +9,13 @@ load( go_library( name = "go_default_library", srcs = ["fields.go"], + importpath = "k8s.io/apimachinery/third_party/forked/golang/json", ) go_test( name = "go_default_test", srcs = ["fields_test.go"], + importpath = "k8s.io/apimachinery/third_party/forked/golang/json", library = ":go_default_library", ) diff --git a/third_party/forked/golang/netutil/BUILD b/third_party/forked/golang/netutil/BUILD index b48ba0312..1df290578 100644 --- a/third_party/forked/golang/netutil/BUILD +++ b/third_party/forked/golang/netutil/BUILD @@ -8,6 +8,7 @@ load( go_library( name = "go_default_library", srcs = ["addr.go"], + importpath = "k8s.io/apimachinery/third_party/forked/golang/netutil", ) filegroup( diff --git a/third_party/forked/golang/reflect/BUILD b/third_party/forked/golang/reflect/BUILD index b5f3d7465..9f09628b6 100644 --- a/third_party/forked/golang/reflect/BUILD +++ b/third_party/forked/golang/reflect/BUILD @@ -9,12 +9,14 @@ load( go_test( name = "go_default_test", srcs = ["deep_equal_test.go"], + importpath = "k8s.io/apimachinery/third_party/forked/golang/reflect", library = ":go_default_library", ) go_library( name = "go_default_library", srcs = ["deep_equal.go"], + importpath = "k8s.io/apimachinery/third_party/forked/golang/reflect", ) filegroup(