k3s/vendor/k8s.io/kubernetes/pkg/kubeapiserver/admission/BUILD

50 lines
1.8 KiB
Python
Raw Normal View History

2019-01-12 04:58:27 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"config.go",
"initializer.go",
],
importpath = "k8s.io/kubernetes/pkg/kubeapiserver/admission",
visibility = ["//visibility:public"],
deps = [
"//pkg/quota/v1:go_default_library",
"//pkg/quota/v1/install:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/api/meta:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/admission:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/initializer:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/server:go_default_library",
2020-03-26 21:07:15 +00:00
"//staging/src/k8s.io/apiserver/pkg/server/egressselector:go_default_library",
2019-01-12 04:58:27 +00:00
"//staging/src/k8s.io/apiserver/pkg/util/webhook:go_default_library",
2019-04-07 17:07:55 +00:00
"//staging/src/k8s.io/client-go/discovery/cached/memory:go_default_library",
2019-01-12 04:58:27 +00:00
"//staging/src/k8s.io/client-go/informers:go_default_library",
2019-08-30 18:33:25 +00:00
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
2019-01-12 04:58:27 +00:00
"//staging/src/k8s.io/client-go/rest:go_default_library",
"//staging/src/k8s.io/client-go/restmapper:go_default_library",
"//vendor/k8s.io/klog:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = ["initializer_test.go"],
embed = [":go_default_library"],
deps = ["//staging/src/k8s.io/apiserver/pkg/admission:go_default_library"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
2019-04-07 17:07:55 +00:00
srcs = [":package-srcs"],
2019-01-12 04:58:27 +00:00
tags = ["automanaged"],
visibility = ["//visibility:public"],
)