ceph-csi/vendor/k8s.io/kubernetes/pkg/kubeapiserver/admission/BUILD

53 lines
1.9 KiB
Python
Raw Normal View History

2018-11-26 18:23:56 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2018-01-09 18:57:14 +00:00
go_library(
name = "go_default_library",
2018-11-26 18:23:56 +00:00
srcs = [
"config.go",
"initializer.go",
],
2018-01-09 18:57:14 +00:00
importpath = "k8s.io/kubernetes/pkg/kubeapiserver/admission",
2018-11-26 18:23:56 +00:00
visibility = ["//visibility:public"],
2018-01-09 18:57:14 +00:00
deps = [
"//pkg/client/clientset_generated/internalclientset:go_default_library",
2018-11-26 18:23:56 +00:00
"//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/authorization/authorizer:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/server:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/util/webhook:go_default_library",
"//staging/src/k8s.io/client-go/discovery/cached:go_default_library",
"//staging/src/k8s.io/client-go/informers:go_default_library",
"//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",
2018-01-09 18:57:14 +00:00
],
)
2018-11-26 18:23:56 +00:00
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"],
)
2018-01-09 18:57:14 +00:00
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//pkg/kubeapiserver/admission/util:all-srcs",
],
tags = ["automanaged"],
2018-11-26 18:23:56 +00:00
visibility = ["//visibility:public"],
2018-01-09 18:57:14 +00:00
)