From c8a97ee31a1cd8e7f5fa9729449460aa1c662477 Mon Sep 17 00:00:00 2001 From: Jeff Grafton Date: Sat, 23 Dec 2017 13:06:26 -0800 Subject: [PATCH] Autogenerate BUILD files Kubernetes-commit: efee0704c60a2ee3049268a41535aaee7f661f6c --- pkg/admission/BUILD | 2 +- pkg/admission/configuration/BUILD | 2 +- pkg/admission/metrics/BUILD | 2 +- pkg/admission/plugin/initialization/BUILD | 2 +- .../plugin/namespace/lifecycle/BUILD | 2 +- pkg/admission/plugin/webhook/config/BUILD | 2 +- pkg/admission/plugin/webhook/errors/BUILD | 2 +- .../plugin/webhook/initializer/BUILD | 2 +- pkg/admission/plugin/webhook/mutating/BUILD | 2 +- pkg/admission/plugin/webhook/namespace/BUILD | 2 +- pkg/admission/plugin/webhook/rules/BUILD | 2 +- pkg/admission/plugin/webhook/validating/BUILD | 2 +- pkg/admission/plugin/webhook/versioned/BUILD | 2 +- pkg/apis/audit/install/BUILD | 2 +- pkg/apis/audit/v1alpha1/BUILD | 2 +- pkg/apis/audit/v1beta1/BUILD | 2 +- pkg/apis/audit/validation/BUILD | 2 +- pkg/apis/example/install/BUILD | 2 +- pkg/apis/example2/install/BUILD | 2 +- pkg/audit/BUILD | 2 +- pkg/audit/policy/BUILD | 2 +- pkg/authentication/group/BUILD | 2 +- pkg/authentication/request/anonymous/BUILD | 2 +- pkg/authentication/request/bearertoken/BUILD | 2 +- .../request/headerrequest/BUILD | 2 +- pkg/authentication/request/union/BUILD | 2 +- pkg/authentication/request/websocket/BUILD | 2 +- pkg/authentication/request/x509/BUILD | 2 +- pkg/authentication/serviceaccount/BUILD | 2 +- pkg/authentication/token/cache/BUILD | 2 +- pkg/authentication/token/tokenfile/BUILD | 2 +- pkg/authentication/token/union/BUILD | 2 +- pkg/authorization/authorizerfactory/BUILD | 2 +- pkg/authorization/union/BUILD | 2 +- pkg/endpoints/BUILD | 2 +- pkg/endpoints/discovery/BUILD | 2 +- pkg/endpoints/filters/BUILD | 2 +- pkg/endpoints/handlers/BUILD | 2 +- pkg/endpoints/handlers/negotiation/BUILD | 2 +- pkg/endpoints/handlers/responsewriters/BUILD | 2 +- pkg/endpoints/metrics/BUILD | 2 +- pkg/endpoints/openapi/BUILD | 2 +- pkg/endpoints/request/BUILD | 2 +- pkg/registry/generic/registry/BUILD | 2 +- pkg/registry/generic/rest/BUILD | 2 +- pkg/registry/rest/BUILD | 2 +- pkg/server/BUILD | 35 +++++++++++++++++-- pkg/server/filters/BUILD | 2 +- pkg/server/healthz/BUILD | 2 +- pkg/server/httplog/BUILD | 2 +- pkg/server/mux/BUILD | 2 +- pkg/server/options/BUILD | 2 +- pkg/server/options/encryptionconfig/BUILD | 2 +- pkg/server/storage/BUILD | 2 +- pkg/storage/BUILD | 2 +- pkg/storage/etcd/BUILD | 2 +- pkg/storage/etcd/util/BUILD | 2 +- pkg/storage/etcd3/BUILD | 2 +- pkg/storage/etcd3/preflight/BUILD | 2 +- pkg/storage/names/BUILD | 2 +- pkg/storage/storagebackend/factory/BUILD | 2 +- pkg/storage/tests/BUILD | 2 +- pkg/storage/value/BUILD | 2 +- pkg/storage/value/encrypt/aes/BUILD | 2 +- pkg/storage/value/encrypt/envelope/BUILD | 2 +- pkg/storage/value/encrypt/secretbox/BUILD | 2 +- pkg/util/feature/BUILD | 2 +- pkg/util/flag/BUILD | 2 +- pkg/util/flushwriter/BUILD | 2 +- pkg/util/proxy/BUILD | 2 +- pkg/util/webhook/BUILD | 2 +- pkg/util/wsstream/BUILD | 2 +- plugin/pkg/audit/log/BUILD | 2 +- plugin/pkg/audit/webhook/BUILD | 2 +- plugin/pkg/authenticator/password/allow/BUILD | 2 +- .../authenticator/password/passwordfile/BUILD | 2 +- .../pkg/authenticator/request/basicauth/BUILD | 2 +- plugin/pkg/authenticator/token/oidc/BUILD | 2 +- plugin/pkg/authenticator/token/webhook/BUILD | 2 +- plugin/pkg/authorizer/webhook/BUILD | 2 +- 80 files changed, 111 insertions(+), 82 deletions(-) diff --git a/pkg/admission/BUILD b/pkg/admission/BUILD index 65542c020..aab87e457 100644 --- a/pkg/admission/BUILD +++ b/pkg/admission/BUILD @@ -14,8 +14,8 @@ go_test( "errors_test.go", "handler_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/admission", - library = ":go_default_library", 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/admission/configuration/BUILD b/pkg/admission/configuration/BUILD index d6d2f3ee1..c892344c3 100644 --- a/pkg/admission/configuration/BUILD +++ b/pkg/admission/configuration/BUILD @@ -14,8 +14,8 @@ go_test( "mutating_webhook_manager_test.go", "validating_webhook_manager_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/admission/configuration", - library = ":go_default_library", deps = [ "//vendor/k8s.io/api/admissionregistration/v1alpha1:go_default_library", "//vendor/k8s.io/api/admissionregistration/v1beta1:go_default_library", diff --git a/pkg/admission/metrics/BUILD b/pkg/admission/metrics/BUILD index 32feb2f9f..22e4b1f3b 100644 --- a/pkg/admission/metrics/BUILD +++ b/pkg/admission/metrics/BUILD @@ -17,8 +17,8 @@ go_test( "metrics_test.go", "testutil_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/admission/metrics", - library = ":go_default_library", deps = [ "//vendor/github.com/prometheus/client_golang/prometheus:go_default_library", "//vendor/github.com/prometheus/client_model/go:go_default_library", diff --git a/pkg/admission/plugin/initialization/BUILD b/pkg/admission/plugin/initialization/BUILD index 6479a4488..9410779b8 100644 --- a/pkg/admission/plugin/initialization/BUILD +++ b/pkg/admission/plugin/initialization/BUILD @@ -46,8 +46,8 @@ filegroup( go_test( name = "go_default_test", srcs = ["initialization_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/admission/plugin/initialization", - library = ":go_default_library", deps = [ "//vendor/k8s.io/api/admissionregistration/v1alpha1:go_default_library", "//vendor/k8s.io/api/core/v1:go_default_library", diff --git a/pkg/admission/plugin/namespace/lifecycle/BUILD b/pkg/admission/plugin/namespace/lifecycle/BUILD index 1c821c23c..101cd7700 100644 --- a/pkg/admission/plugin/namespace/lifecycle/BUILD +++ b/pkg/admission/plugin/namespace/lifecycle/BUILD @@ -30,8 +30,8 @@ go_library( go_test( name = "go_default_test", srcs = ["admission_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle", - library = ":go_default_library", deps = [ "//vendor/k8s.io/api/core/v1:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", diff --git a/pkg/admission/plugin/webhook/config/BUILD b/pkg/admission/plugin/webhook/config/BUILD index 76c2fd3dc..b4cfcdfb6 100644 --- a/pkg/admission/plugin/webhook/config/BUILD +++ b/pkg/admission/plugin/webhook/config/BUILD @@ -32,8 +32,8 @@ go_test( "authentication_test.go", "serviceresolver_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/admission/plugin/webhook/config", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/api/equality:go_default_library", "//vendor/k8s.io/apimachinery/pkg/util/diff:go_default_library", diff --git a/pkg/admission/plugin/webhook/errors/BUILD b/pkg/admission/plugin/webhook/errors/BUILD index 288007238..60b64519b 100644 --- a/pkg/admission/plugin/webhook/errors/BUILD +++ b/pkg/admission/plugin/webhook/errors/BUILD @@ -18,8 +18,8 @@ go_library( go_test( name = "go_default_test", srcs = ["statuserror_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/admission/plugin/webhook/errors", - library = ":go_default_library", deps = ["//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library"], ) diff --git a/pkg/admission/plugin/webhook/initializer/BUILD b/pkg/admission/plugin/webhook/initializer/BUILD index 14fa71007..f81cea70d 100644 --- a/pkg/admission/plugin/webhook/initializer/BUILD +++ b/pkg/admission/plugin/webhook/initializer/BUILD @@ -14,8 +14,8 @@ go_library( go_test( name = "go_default_test", srcs = ["initializer_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/admission/plugin/webhook/initializer", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apiserver/pkg/admission:go_default_library", "//vendor/k8s.io/apiserver/pkg/admission/plugin/webhook/config:go_default_library", diff --git a/pkg/admission/plugin/webhook/mutating/BUILD b/pkg/admission/plugin/webhook/mutating/BUILD index d94dc0f6b..0d46b5d76 100644 --- a/pkg/admission/plugin/webhook/mutating/BUILD +++ b/pkg/admission/plugin/webhook/mutating/BUILD @@ -38,8 +38,8 @@ go_library( go_test( name = "go_default_test", srcs = ["admission_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/admission/plugin/webhook/mutating", - library = ":go_default_library", deps = [ "//vendor/k8s.io/api/admission/v1beta1:go_default_library", "//vendor/k8s.io/api/admissionregistration/v1beta1:go_default_library", diff --git a/pkg/admission/plugin/webhook/namespace/BUILD b/pkg/admission/plugin/webhook/namespace/BUILD index a75286a68..3c2527269 100644 --- a/pkg/admission/plugin/webhook/namespace/BUILD +++ b/pkg/admission/plugin/webhook/namespace/BUILD @@ -24,8 +24,8 @@ go_library( go_test( name = "go_default_test", srcs = ["matcher_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/admission/plugin/webhook/namespace", - library = ":go_default_library", deps = [ "//vendor/k8s.io/api/admissionregistration/v1beta1:go_default_library", "//vendor/k8s.io/api/core/v1:go_default_library", diff --git a/pkg/admission/plugin/webhook/rules/BUILD b/pkg/admission/plugin/webhook/rules/BUILD index 6152811d1..4e62c6ac0 100644 --- a/pkg/admission/plugin/webhook/rules/BUILD +++ b/pkg/admission/plugin/webhook/rules/BUILD @@ -14,8 +14,8 @@ go_library( go_test( name = "go_default_test", srcs = ["rules_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/admission/plugin/webhook/rules", - library = ":go_default_library", deps = [ "//vendor/k8s.io/api/admissionregistration/v1beta1:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", diff --git a/pkg/admission/plugin/webhook/validating/BUILD b/pkg/admission/plugin/webhook/validating/BUILD index f4a982d12..5ab45072d 100644 --- a/pkg/admission/plugin/webhook/validating/BUILD +++ b/pkg/admission/plugin/webhook/validating/BUILD @@ -38,8 +38,8 @@ go_library( go_test( name = "go_default_test", srcs = ["admission_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/admission/plugin/webhook/validating", - library = ":go_default_library", deps = [ "//vendor/k8s.io/api/admission/v1beta1:go_default_library", "//vendor/k8s.io/api/admissionregistration/v1beta1:go_default_library", diff --git a/pkg/admission/plugin/webhook/versioned/BUILD b/pkg/admission/plugin/webhook/versioned/BUILD index 4bd5efbf3..f16c617ac 100644 --- a/pkg/admission/plugin/webhook/versioned/BUILD +++ b/pkg/admission/plugin/webhook/versioned/BUILD @@ -19,8 +19,8 @@ go_library( go_test( name = "go_default_test", srcs = ["conversion_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/admission/plugin/webhook/versioned", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library", diff --git a/pkg/apis/audit/install/BUILD b/pkg/apis/audit/install/BUILD index f6489a534..c4acc260e 100644 --- a/pkg/apis/audit/install/BUILD +++ b/pkg/apis/audit/install/BUILD @@ -37,8 +37,8 @@ filegroup( go_test( name = "go_default_test", srcs = ["roundtrip_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/apis/audit/install", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/api/testing/roundtrip:go_default_library", "//vendor/k8s.io/apiserver/pkg/apis/audit/fuzzer:go_default_library", diff --git a/pkg/apis/audit/v1alpha1/BUILD b/pkg/apis/audit/v1alpha1/BUILD index 04b9b943d..93ebb21c5 100644 --- a/pkg/apis/audit/v1alpha1/BUILD +++ b/pkg/apis/audit/v1alpha1/BUILD @@ -53,8 +53,8 @@ filegroup( go_test( name = "go_default_test", srcs = ["conversion_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/apis/audit/v1alpha1", - library = ":go_default_library", 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/apis/audit/v1beta1/BUILD b/pkg/apis/audit/v1beta1/BUILD index 07e14e74c..93cc89ad6 100644 --- a/pkg/apis/audit/v1beta1/BUILD +++ b/pkg/apis/audit/v1beta1/BUILD @@ -54,8 +54,8 @@ filegroup( go_test( name = "go_default_test", srcs = ["conversion_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/apis/audit/v1beta1", - library = ":go_default_library", 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/apis/audit/validation/BUILD b/pkg/apis/audit/validation/BUILD index 956db3591..60740ace0 100644 --- a/pkg/apis/audit/validation/BUILD +++ b/pkg/apis/audit/validation/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["validation_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/apis/audit/validation", - library = ":go_default_library", deps = ["//vendor/k8s.io/apiserver/pkg/apis/audit:go_default_library"], ) diff --git a/pkg/apis/example/install/BUILD b/pkg/apis/example/install/BUILD index 69f1cbb7b..51f33af00 100644 --- a/pkg/apis/example/install/BUILD +++ b/pkg/apis/example/install/BUILD @@ -22,8 +22,8 @@ go_library( go_test( name = "go_default_test", srcs = ["roundtrip_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/apis/example/install", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/api/testing/roundtrip:go_default_library", "//vendor/k8s.io/apiserver/pkg/apis/example/fuzzer:go_default_library", diff --git a/pkg/apis/example2/install/BUILD b/pkg/apis/example2/install/BUILD index 30d67d313..9909a6a7b 100644 --- a/pkg/apis/example2/install/BUILD +++ b/pkg/apis/example2/install/BUILD @@ -23,8 +23,8 @@ go_library( go_test( name = "go_default_test", srcs = ["roundtrip_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/apis/example2/install", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/api/testing/roundtrip:go_default_library", "//vendor/k8s.io/apiserver/pkg/apis/example/fuzzer:go_default_library", diff --git a/pkg/audit/BUILD b/pkg/audit/BUILD index 525424cdd..0df9fd91f 100644 --- a/pkg/audit/BUILD +++ b/pkg/audit/BUILD @@ -39,8 +39,8 @@ go_library( go_test( name = "go_default_test", srcs = ["union_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/audit", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/types:go_default_library", "//vendor/k8s.io/apiserver/pkg/apis/audit:go_default_library", diff --git a/pkg/audit/policy/BUILD b/pkg/audit/policy/BUILD index 17d5881b0..0873ac995 100644 --- a/pkg/audit/policy/BUILD +++ b/pkg/audit/policy/BUILD @@ -12,8 +12,8 @@ go_test( "checker_test.go", "reader_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/audit/policy", - library = ":go_default_library", deps = [ "//vendor/github.com/stretchr/testify/assert:go_default_library", "//vendor/github.com/stretchr/testify/require:go_default_library", diff --git a/pkg/authentication/group/BUILD b/pkg/authentication/group/BUILD index ea84fb9dc..cdb74e4e4 100644 --- a/pkg/authentication/group/BUILD +++ b/pkg/authentication/group/BUILD @@ -12,8 +12,8 @@ go_test( "group_adder_test.go", "token_group_adder_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/authentication/group", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apiserver/pkg/authentication/authenticator:go_default_library", "//vendor/k8s.io/apiserver/pkg/authentication/user:go_default_library", diff --git a/pkg/authentication/request/anonymous/BUILD b/pkg/authentication/request/anonymous/BUILD index c20d90c88..78165e4f4 100644 --- a/pkg/authentication/request/anonymous/BUILD +++ b/pkg/authentication/request/anonymous/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["anonymous_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/authentication/request/anonymous", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", "//vendor/k8s.io/apiserver/pkg/authentication/authenticator:go_default_library", diff --git a/pkg/authentication/request/bearertoken/BUILD b/pkg/authentication/request/bearertoken/BUILD index 93f6ad9e9..b338a0c78 100644 --- a/pkg/authentication/request/bearertoken/BUILD +++ b/pkg/authentication/request/bearertoken/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["bearertoken_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/authentication/request/bearertoken", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apiserver/pkg/authentication/authenticator:go_default_library", "//vendor/k8s.io/apiserver/pkg/authentication/user:go_default_library", diff --git a/pkg/authentication/request/headerrequest/BUILD b/pkg/authentication/request/headerrequest/BUILD index a37735742..351b1b645 100644 --- a/pkg/authentication/request/headerrequest/BUILD +++ b/pkg/authentication/request/headerrequest/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["requestheader_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/authentication/request/headerrequest", - library = ":go_default_library", deps = ["//vendor/k8s.io/apiserver/pkg/authentication/user:go_default_library"], ) diff --git a/pkg/authentication/request/union/BUILD b/pkg/authentication/request/union/BUILD index 4b2dcadf2..ce7c9bb50 100644 --- a/pkg/authentication/request/union/BUILD +++ b/pkg/authentication/request/union/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["unionauth_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/authentication/request/union", - library = ":go_default_library", deps = ["//vendor/k8s.io/apiserver/pkg/authentication/user:go_default_library"], ) diff --git a/pkg/authentication/request/websocket/BUILD b/pkg/authentication/request/websocket/BUILD index 1ea8e4c5b..bab858295 100644 --- a/pkg/authentication/request/websocket/BUILD +++ b/pkg/authentication/request/websocket/BUILD @@ -20,8 +20,8 @@ go_library( go_test( name = "go_default_test", srcs = ["protocol_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/authentication/request/websocket", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apiserver/pkg/authentication/authenticator:go_default_library", "//vendor/k8s.io/apiserver/pkg/authentication/user:go_default_library", diff --git a/pkg/authentication/request/x509/BUILD b/pkg/authentication/request/x509/BUILD index 2114dc00b..4297b8c4e 100644 --- a/pkg/authentication/request/x509/BUILD +++ b/pkg/authentication/request/x509/BUILD @@ -15,8 +15,8 @@ go_test( "testdata/intermediate.pem", "testdata/root.pem", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/authentication/request/x509", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library", "//vendor/k8s.io/apiserver/pkg/authentication/authenticator:go_default_library", diff --git a/pkg/authentication/serviceaccount/BUILD b/pkg/authentication/serviceaccount/BUILD index db06fbde3..21dc23720 100644 --- a/pkg/authentication/serviceaccount/BUILD +++ b/pkg/authentication/serviceaccount/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["util_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/authentication/serviceaccount", - library = ":go_default_library", ) go_library( diff --git a/pkg/authentication/token/cache/BUILD b/pkg/authentication/token/cache/BUILD index 59cd4322f..55387ec46 100644 --- a/pkg/authentication/token/cache/BUILD +++ b/pkg/authentication/token/cache/BUILD @@ -12,8 +12,8 @@ go_test( "cache_test.go", "cached_token_authenticator_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/authentication/token/cache", - library = ":go_default_library", deps = [ "//vendor/github.com/pborman/uuid:go_default_library", "//vendor/k8s.io/apimachinery/pkg/util/clock:go_default_library", diff --git a/pkg/authentication/token/tokenfile/BUILD b/pkg/authentication/token/tokenfile/BUILD index 4d32dd1d3..6b2233591 100644 --- a/pkg/authentication/token/tokenfile/BUILD +++ b/pkg/authentication/token/tokenfile/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["tokenfile_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/authentication/token/tokenfile", - library = ":go_default_library", deps = ["//vendor/k8s.io/apiserver/pkg/authentication/user:go_default_library"], ) diff --git a/pkg/authentication/token/union/BUILD b/pkg/authentication/token/union/BUILD index 0f940c334..3167a6bc1 100644 --- a/pkg/authentication/token/union/BUILD +++ b/pkg/authentication/token/union/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["unionauth_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/authentication/token/union", - library = ":go_default_library", deps = ["//vendor/k8s.io/apiserver/pkg/authentication/user:go_default_library"], ) diff --git a/pkg/authorization/authorizerfactory/BUILD b/pkg/authorization/authorizerfactory/BUILD index 7fff4c90a..660c4daac 100644 --- a/pkg/authorization/authorizerfactory/BUILD +++ b/pkg/authorization/authorizerfactory/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["builtin_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/authorization/authorizerfactory", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apiserver/pkg/authentication/user:go_default_library", "//vendor/k8s.io/apiserver/pkg/authorization/authorizer:go_default_library", diff --git a/pkg/authorization/union/BUILD b/pkg/authorization/union/BUILD index 0614f330c..84f5aac64 100644 --- a/pkg/authorization/union/BUILD +++ b/pkg/authorization/union/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["union_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/authorization/union", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apiserver/pkg/authentication/user:go_default_library", "//vendor/k8s.io/apiserver/pkg/authorization/authorizer:go_default_library", diff --git a/pkg/endpoints/BUILD b/pkg/endpoints/BUILD index f73d61925..f2c1ce345 100644 --- a/pkg/endpoints/BUILD +++ b/pkg/endpoints/BUILD @@ -15,8 +15,8 @@ go_test( "proxy_test.go", "watch_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/endpoints", - library = ":go_default_library", deps = [ "//vendor/github.com/emicklei/go-restful:go_default_library", "//vendor/golang.org/x/net/websocket:go_default_library", diff --git a/pkg/endpoints/discovery/BUILD b/pkg/endpoints/discovery/BUILD index 008dcff56..d3d120092 100644 --- a/pkg/endpoints/discovery/BUILD +++ b/pkg/endpoints/discovery/BUILD @@ -12,8 +12,8 @@ go_test( "addresses_test.go", "root_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/endpoints/discovery", - library = ":go_default_library", deps = [ "//vendor/github.com/stretchr/testify/assert:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apimachinery/announced:go_default_library", diff --git a/pkg/endpoints/filters/BUILD b/pkg/endpoints/filters/BUILD index 664756aba..0e64044e6 100644 --- a/pkg/endpoints/filters/BUILD +++ b/pkg/endpoints/filters/BUILD @@ -17,8 +17,8 @@ go_test( "legacy_audit_test.go", "requestinfo_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/endpoints/filters", - library = ":go_default_library", deps = [ "//vendor/github.com/pborman/uuid:go_default_library", "//vendor/k8s.io/api/authentication/v1:go_default_library", diff --git a/pkg/endpoints/handlers/BUILD b/pkg/endpoints/handlers/BUILD index 7e2cdcc1b..16901d6a6 100644 --- a/pkg/endpoints/handlers/BUILD +++ b/pkg/endpoints/handlers/BUILD @@ -12,8 +12,8 @@ go_test( "namer_test.go", "rest_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/endpoints/handlers", - library = ":go_default_library", deps = [ "//vendor/github.com/evanphx/json-patch:go_default_library", "//vendor/k8s.io/api/core/v1:go_default_library", diff --git a/pkg/endpoints/handlers/negotiation/BUILD b/pkg/endpoints/handlers/negotiation/BUILD index c0ceb323d..936a35639 100644 --- a/pkg/endpoints/handlers/negotiation/BUILD +++ b/pkg/endpoints/handlers/negotiation/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["negotiate_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/endpoints/handlers/negotiation", - library = ":go_default_library", 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/endpoints/handlers/responsewriters/BUILD b/pkg/endpoints/handlers/responsewriters/BUILD index 31963fd3b..a1ee2eda2 100644 --- a/pkg/endpoints/handlers/responsewriters/BUILD +++ b/pkg/endpoints/handlers/responsewriters/BUILD @@ -12,8 +12,8 @@ go_test( "errors_test.go", "status_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/endpoints/handlers/responsewriters", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", diff --git a/pkg/endpoints/metrics/BUILD b/pkg/endpoints/metrics/BUILD index 8d57d273e..57b4aa6e9 100644 --- a/pkg/endpoints/metrics/BUILD +++ b/pkg/endpoints/metrics/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["metrics_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/endpoints/metrics", - library = ":go_default_library", ) go_library( diff --git a/pkg/endpoints/openapi/BUILD b/pkg/endpoints/openapi/BUILD index 0e972d7f9..a4b24bdc2 100644 --- a/pkg/endpoints/openapi/BUILD +++ b/pkg/endpoints/openapi/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["openapi_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/endpoints/openapi", - library = ":go_default_library", deps = [ "//vendor/github.com/go-openapi/spec:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", diff --git a/pkg/endpoints/request/BUILD b/pkg/endpoints/request/BUILD index ca759c1b6..182f87ee2 100644 --- a/pkg/endpoints/request/BUILD +++ b/pkg/endpoints/request/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["requestinfo_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/endpoints/request", - library = ":go_default_library", deps = ["//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library"], ) diff --git a/pkg/registry/generic/registry/BUILD b/pkg/registry/generic/registry/BUILD index 02c6becc7..5472bb807 100644 --- a/pkg/registry/generic/registry/BUILD +++ b/pkg/registry/generic/registry/BUILD @@ -12,8 +12,8 @@ go_test( "decorated_watcher_test.go", "store_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/registry/generic/registry", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/api/equality:go_default_library", "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", diff --git a/pkg/registry/generic/rest/BUILD b/pkg/registry/generic/rest/BUILD index 2bf06aae7..32cb78d8a 100644 --- a/pkg/registry/generic/rest/BUILD +++ b/pkg/registry/generic/rest/BUILD @@ -12,8 +12,8 @@ go_test( "response_checker_test.go", "streamer_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/registry/generic/rest", - library = ":go_default_library", deps = [ "//vendor/k8s.io/api/core/v1:go_default_library", "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", diff --git a/pkg/registry/rest/BUILD b/pkg/registry/rest/BUILD index e662a4ee7..30b23efa2 100644 --- a/pkg/registry/rest/BUILD +++ b/pkg/registry/rest/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["meta_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/registry/rest", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", diff --git a/pkg/server/BUILD b/pkg/server/BUILD index 40bc126b1..5a5214003 100644 --- a/pkg/server/BUILD +++ b/pkg/server/BUILD @@ -13,8 +13,8 @@ go_test( "config_test.go", "genericapiserver_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/server", - library = ":go_default_library", deps = [ "//vendor/github.com/stretchr/testify/assert:go_default_library", "//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library", @@ -56,9 +56,38 @@ go_library( "plugins.go", "serve.go", "signal.go", - "signal_posix.go", ] + select({ - "@io_bazel_rules_go//go/platform:windows_amd64": [ + "@io_bazel_rules_go//go/platform:android": [ + "signal_posix.go", + ], + "@io_bazel_rules_go//go/platform:darwin": [ + "signal_posix.go", + ], + "@io_bazel_rules_go//go/platform:dragonfly": [ + "signal_posix.go", + ], + "@io_bazel_rules_go//go/platform:freebsd": [ + "signal_posix.go", + ], + "@io_bazel_rules_go//go/platform:linux": [ + "signal_posix.go", + ], + "@io_bazel_rules_go//go/platform:nacl": [ + "signal_posix.go", + ], + "@io_bazel_rules_go//go/platform:netbsd": [ + "signal_posix.go", + ], + "@io_bazel_rules_go//go/platform:openbsd": [ + "signal_posix.go", + ], + "@io_bazel_rules_go//go/platform:plan9": [ + "signal_posix.go", + ], + "@io_bazel_rules_go//go/platform:solaris": [ + "signal_posix.go", + ], + "@io_bazel_rules_go//go/platform:windows": [ "signal_windows.go", ], "//conditions:default": [], diff --git a/pkg/server/filters/BUILD b/pkg/server/filters/BUILD index bf72edc37..69272f623 100644 --- a/pkg/server/filters/BUILD +++ b/pkg/server/filters/BUILD @@ -14,8 +14,8 @@ go_test( "maxinflight_test.go", "timeout_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/server/filters", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", diff --git a/pkg/server/healthz/BUILD b/pkg/server/healthz/BUILD index 8b3901bb8..c95bc6d51 100644 --- a/pkg/server/healthz/BUILD +++ b/pkg/server/healthz/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["healthz_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/server/healthz", - library = ":go_default_library", ) go_library( diff --git a/pkg/server/httplog/BUILD b/pkg/server/httplog/BUILD index 16ea0eb73..638975d03 100644 --- a/pkg/server/httplog/BUILD +++ b/pkg/server/httplog/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["httplog_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/server/httplog", - library = ":go_default_library", ) go_library( diff --git a/pkg/server/mux/BUILD b/pkg/server/mux/BUILD index fecbbe7b7..0df54a3f0 100644 --- a/pkg/server/mux/BUILD +++ b/pkg/server/mux/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["pathrecorder_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/server/mux", - library = ":go_default_library", deps = ["//vendor/github.com/stretchr/testify/assert:go_default_library"], ) diff --git a/pkg/server/options/BUILD b/pkg/server/options/BUILD index 7a9196f14..63446af47 100644 --- a/pkg/server/options/BUILD +++ b/pkg/server/options/BUILD @@ -72,8 +72,8 @@ go_test( "serving_test.go", ], data = glob(["testdata/**"]), + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/server/options", - library = ":go_default_library", deps = [ "//vendor/github.com/stretchr/testify/assert:go_default_library", "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library", diff --git a/pkg/server/options/encryptionconfig/BUILD b/pkg/server/options/encryptionconfig/BUILD index bfea74f88..94de9c826 100644 --- a/pkg/server/options/encryptionconfig/BUILD +++ b/pkg/server/options/encryptionconfig/BUILD @@ -29,8 +29,8 @@ go_library( go_test( name = "go_default_test", srcs = ["config_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/server/options/encryptionconfig", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library", "//vendor/k8s.io/apiserver/pkg/storage/value:go_default_library", diff --git a/pkg/server/storage/BUILD b/pkg/server/storage/BUILD index 186764721..6bedc3672 100644 --- a/pkg/server/storage/BUILD +++ b/pkg/server/storage/BUILD @@ -12,8 +12,8 @@ go_test( "resource_config_test.go", "storage_factory_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/server/storage", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/apimachinery/announced:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apimachinery/registered:go_default_library", diff --git a/pkg/storage/BUILD b/pkg/storage/BUILD index 1838e84d8..0eba66022 100644 --- a/pkg/storage/BUILD +++ b/pkg/storage/BUILD @@ -15,8 +15,8 @@ go_test( "util_test.go", "watch_cache_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/storage", - library = ":go_default_library", deps = [ "//vendor/k8s.io/api/core/v1:go_default_library", "//vendor/k8s.io/apimachinery/pkg/api/equality:go_default_library", diff --git a/pkg/storage/etcd/BUILD b/pkg/storage/etcd/BUILD index 7ac2e7102..77f87b633 100644 --- a/pkg/storage/etcd/BUILD +++ b/pkg/storage/etcd/BUILD @@ -13,8 +13,8 @@ go_test( "etcd_helper_test.go", "etcd_watcher_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/storage/etcd", - library = ":go_default_library", deps = [ "//vendor/github.com/coreos/etcd/client:go_default_library", "//vendor/golang.org/x/net/context:go_default_library", diff --git a/pkg/storage/etcd/util/BUILD b/pkg/storage/etcd/util/BUILD index f1405e872..537638e61 100644 --- a/pkg/storage/etcd/util/BUILD +++ b/pkg/storage/etcd/util/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["etcd_util_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/storage/etcd/util", - library = ":go_default_library", deps = [ "//vendor/github.com/coreos/etcd/client:go_default_library", "//vendor/github.com/stretchr/testify/assert:go_default_library", diff --git a/pkg/storage/etcd3/BUILD b/pkg/storage/etcd3/BUILD index 0b7c4311f..27b429e70 100644 --- a/pkg/storage/etcd3/BUILD +++ b/pkg/storage/etcd3/BUILD @@ -13,8 +13,8 @@ go_test( "store_test.go", "watcher_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/storage/etcd3", - library = ":go_default_library", deps = [ "//vendor/github.com/coreos/etcd/clientv3:go_default_library", "//vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes:go_default_library", diff --git a/pkg/storage/etcd3/preflight/BUILD b/pkg/storage/etcd3/preflight/BUILD index 864a1141d..6396c47e3 100644 --- a/pkg/storage/etcd3/preflight/BUILD +++ b/pkg/storage/etcd3/preflight/BUILD @@ -15,8 +15,8 @@ go_library( go_test( name = "go_default_test", srcs = ["checks_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/storage/etcd3/preflight", - library = ":go_default_library", deps = ["//vendor/k8s.io/apimachinery/pkg/util/wait:go_default_library"], ) diff --git a/pkg/storage/names/BUILD b/pkg/storage/names/BUILD index 4e7511282..020b44103 100644 --- a/pkg/storage/names/BUILD +++ b/pkg/storage/names/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["generate_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/storage/names", - library = ":go_default_library", ) go_library( diff --git a/pkg/storage/storagebackend/factory/BUILD b/pkg/storage/storagebackend/factory/BUILD index 474d89903..d604cf5e8 100644 --- a/pkg/storage/storagebackend/factory/BUILD +++ b/pkg/storage/storagebackend/factory/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["tls_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/storage/storagebackend/factory", - library = ":go_default_library", deps = [ "//vendor/github.com/coreos/etcd/integration:go_default_library", "//vendor/github.com/coreos/etcd/pkg/transport:go_default_library", diff --git a/pkg/storage/tests/BUILD b/pkg/storage/tests/BUILD index d1ac96083..5637b197c 100644 --- a/pkg/storage/tests/BUILD +++ b/pkg/storage/tests/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["cacher_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/storage/tests", - library = ":go_default_library", deps = [ "//vendor/golang.org/x/net/context:go_default_library", "//vendor/k8s.io/apimachinery/pkg/api/equality:go_default_library", diff --git a/pkg/storage/value/BUILD b/pkg/storage/value/BUILD index 22d5ec176..cfb01af40 100644 --- a/pkg/storage/value/BUILD +++ b/pkg/storage/value/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["transformer_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/storage/value", - library = ":go_default_library", ) go_library( diff --git a/pkg/storage/value/encrypt/aes/BUILD b/pkg/storage/value/encrypt/aes/BUILD index 4c3bc7a87..43fdb6a81 100644 --- a/pkg/storage/value/encrypt/aes/BUILD +++ b/pkg/storage/value/encrypt/aes/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["aes_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/storage/value/encrypt/aes", - library = ":go_default_library", deps = ["//vendor/k8s.io/apiserver/pkg/storage/value:go_default_library"], ) diff --git a/pkg/storage/value/encrypt/envelope/BUILD b/pkg/storage/value/encrypt/envelope/BUILD index 3ceb65a02..cb5d4db59 100644 --- a/pkg/storage/value/encrypt/envelope/BUILD +++ b/pkg/storage/value/encrypt/envelope/BUILD @@ -19,8 +19,8 @@ go_library( go_test( name = "go_default_test", srcs = ["envelope_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/storage/value/encrypt/envelope", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apiserver/pkg/storage/value:go_default_library", "//vendor/k8s.io/apiserver/pkg/storage/value/encrypt/aes:go_default_library", diff --git a/pkg/storage/value/encrypt/secretbox/BUILD b/pkg/storage/value/encrypt/secretbox/BUILD index 7c26c0808..bbd06a77d 100644 --- a/pkg/storage/value/encrypt/secretbox/BUILD +++ b/pkg/storage/value/encrypt/secretbox/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["secretbox_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/storage/value/encrypt/secretbox", - library = ":go_default_library", deps = ["//vendor/k8s.io/apiserver/pkg/storage/value:go_default_library"], ) diff --git a/pkg/util/feature/BUILD b/pkg/util/feature/BUILD index 60a1a866d..73ed3f795 100644 --- a/pkg/util/feature/BUILD +++ b/pkg/util/feature/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["feature_gate_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/util/feature", - library = ":go_default_library", deps = ["//vendor/github.com/spf13/pflag:go_default_library"], ) diff --git a/pkg/util/flag/BUILD b/pkg/util/flag/BUILD index 57ab4058d..7bf545631 100644 --- a/pkg/util/flag/BUILD +++ b/pkg/util/flag/BUILD @@ -15,8 +15,8 @@ go_test( "map_string_string_test.go", "namedcertkey_flag_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/util/flag", - library = ":go_default_library", deps = ["//vendor/github.com/spf13/pflag:go_default_library"], ) diff --git a/pkg/util/flushwriter/BUILD b/pkg/util/flushwriter/BUILD index 707628ae1..b8f71d9eb 100644 --- a/pkg/util/flushwriter/BUILD +++ b/pkg/util/flushwriter/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["writer_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/util/flushwriter", - library = ":go_default_library", ) go_library( diff --git a/pkg/util/proxy/BUILD b/pkg/util/proxy/BUILD index ca57a14dc..ae20ee258 100644 --- a/pkg/util/proxy/BUILD +++ b/pkg/util/proxy/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["proxy_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/util/proxy", - library = ":go_default_library", deps = [ "//vendor/k8s.io/api/core/v1:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", diff --git a/pkg/util/webhook/BUILD b/pkg/util/webhook/BUILD index e3624b96b..7904c80d3 100644 --- a/pkg/util/webhook/BUILD +++ b/pkg/util/webhook/BUILD @@ -29,8 +29,8 @@ go_test( "certs_test.go", "webhook_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/util/webhook", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apimachinery/registered:go_default_library", diff --git a/pkg/util/wsstream/BUILD b/pkg/util/wsstream/BUILD index 3dfab49fd..d55cd63e4 100644 --- a/pkg/util/wsstream/BUILD +++ b/pkg/util/wsstream/BUILD @@ -12,8 +12,8 @@ go_test( "conn_test.go", "stream_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/pkg/util/wsstream", - library = ":go_default_library", deps = ["//vendor/golang.org/x/net/websocket:go_default_library"], ) diff --git a/plugin/pkg/audit/log/BUILD b/plugin/pkg/audit/log/BUILD index a9011fc56..2a813130e 100644 --- a/plugin/pkg/audit/log/BUILD +++ b/plugin/pkg/audit/log/BUILD @@ -34,8 +34,8 @@ filegroup( go_test( name = "go_default_test", srcs = ["backend_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/plugin/pkg/audit/log", - library = ":go_default_library", deps = [ "//vendor/github.com/pborman/uuid:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apimachinery/announced:go_default_library", diff --git a/plugin/pkg/audit/webhook/BUILD b/plugin/pkg/audit/webhook/BUILD index c233394a8..da2537d31 100644 --- a/plugin/pkg/audit/webhook/BUILD +++ b/plugin/pkg/audit/webhook/BUILD @@ -12,8 +12,8 @@ go_test( "webhook_test.go", "webhook_v1alpha1_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/plugin/pkg/audit/webhook", - library = ":go_default_library", deps = [ "//vendor/github.com/stretchr/testify/assert:go_default_library", "//vendor/github.com/stretchr/testify/require:go_default_library", diff --git a/plugin/pkg/authenticator/password/allow/BUILD b/plugin/pkg/authenticator/password/allow/BUILD index 780baffe0..e30c73595 100644 --- a/plugin/pkg/authenticator/password/allow/BUILD +++ b/plugin/pkg/authenticator/password/allow/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["allow_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/plugin/pkg/authenticator/password/allow", - library = ":go_default_library", ) go_library( diff --git a/plugin/pkg/authenticator/password/passwordfile/BUILD b/plugin/pkg/authenticator/password/passwordfile/BUILD index e06ad49b9..e1c08c1c8 100644 --- a/plugin/pkg/authenticator/password/passwordfile/BUILD +++ b/plugin/pkg/authenticator/password/passwordfile/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["passwordfile_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/plugin/pkg/authenticator/password/passwordfile", - library = ":go_default_library", deps = ["//vendor/k8s.io/apiserver/pkg/authentication/user:go_default_library"], ) diff --git a/plugin/pkg/authenticator/request/basicauth/BUILD b/plugin/pkg/authenticator/request/basicauth/BUILD index 219a41d2d..70b75a247 100644 --- a/plugin/pkg/authenticator/request/basicauth/BUILD +++ b/plugin/pkg/authenticator/request/basicauth/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["basicauth_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/plugin/pkg/authenticator/request/basicauth", - library = ":go_default_library", deps = [ "//vendor/k8s.io/apiserver/pkg/authentication/authenticator:go_default_library", "//vendor/k8s.io/apiserver/pkg/authentication/user:go_default_library", diff --git a/plugin/pkg/authenticator/token/oidc/BUILD b/plugin/pkg/authenticator/token/oidc/BUILD index 0d75a2598..8618d20de 100644 --- a/plugin/pkg/authenticator/token/oidc/BUILD +++ b/plugin/pkg/authenticator/token/oidc/BUILD @@ -9,8 +9,8 @@ load( go_test( name = "go_default_test", srcs = ["oidc_test.go"], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/plugin/pkg/authenticator/token/oidc", - library = ":go_default_library", deps = [ "//vendor/github.com/coreos/go-oidc/jose:go_default_library", "//vendor/github.com/coreos/go-oidc/oidc:go_default_library", diff --git a/plugin/pkg/authenticator/token/webhook/BUILD b/plugin/pkg/authenticator/token/webhook/BUILD index f064d07c5..be598daa9 100644 --- a/plugin/pkg/authenticator/token/webhook/BUILD +++ b/plugin/pkg/authenticator/token/webhook/BUILD @@ -12,8 +12,8 @@ go_test( "certs_test.go", "webhook_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/plugin/pkg/authenticator/token/webhook", - library = ":go_default_library", deps = [ "//vendor/k8s.io/api/authentication/v1beta1:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library", diff --git a/plugin/pkg/authorizer/webhook/BUILD b/plugin/pkg/authorizer/webhook/BUILD index 662b710d8..2cee86fd3 100644 --- a/plugin/pkg/authorizer/webhook/BUILD +++ b/plugin/pkg/authorizer/webhook/BUILD @@ -12,8 +12,8 @@ go_test( "certs_test.go", "webhook_test.go", ], + embed = [":go_default_library"], importpath = "k8s.io/apiserver/plugin/pkg/authorizer/webhook", - library = ":go_default_library", deps = [ "//vendor/k8s.io/api/authorization/v1beta1:go_default_library", "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",