mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 18:30:21 +00:00
61 lines
1.9 KiB
Python
61 lines
1.9 KiB
Python
|
package(default_visibility = ["//visibility:public"])
|
||
|
|
||
|
load(
|
||
|
"@io_bazel_rules_go//go:def.bzl",
|
||
|
"go_library",
|
||
|
"go_test",
|
||
|
)
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = [
|
||
|
"default_storage_factory_builder.go",
|
||
|
"doc.go",
|
||
|
],
|
||
|
importpath = "k8s.io/kubernetes/pkg/kubeapiserver",
|
||
|
deps = [
|
||
|
"//pkg/api/legacyscheme:go_default_library",
|
||
|
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
||
|
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
||
|
"//vendor/k8s.io/apiserver/pkg/server/storage:go_default_library",
|
||
|
"//vendor/k8s.io/apiserver/pkg/storage/storagebackend:go_default_library",
|
||
|
"//vendor/k8s.io/apiserver/pkg/util/flag:go_default_library",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "package-srcs",
|
||
|
srcs = glob(["**"]),
|
||
|
tags = ["automanaged"],
|
||
|
visibility = ["//visibility:private"],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "all-srcs",
|
||
|
srcs = [
|
||
|
":package-srcs",
|
||
|
"//pkg/kubeapiserver/admission:all-srcs",
|
||
|
"//pkg/kubeapiserver/authenticator:all-srcs",
|
||
|
"//pkg/kubeapiserver/authorizer:all-srcs",
|
||
|
"//pkg/kubeapiserver/options:all-srcs",
|
||
|
"//pkg/kubeapiserver/server:all-srcs",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = ["default_storage_factory_builder_test.go"],
|
||
|
importpath = "k8s.io/kubernetes/pkg/kubeapiserver",
|
||
|
library = ":go_default_library",
|
||
|
deps = [
|
||
|
"//pkg/api/legacyscheme:go_default_library",
|
||
|
"//pkg/apis/core/install:go_default_library",
|
||
|
"//pkg/apis/extensions/install:go_default_library",
|
||
|
"//vendor/k8s.io/api/core/v1:go_default_library",
|
||
|
"//vendor/k8s.io/api/extensions/v1beta1:go_default_library",
|
||
|
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
||
|
"//vendor/k8s.io/apiserver/pkg/server/storage:go_default_library",
|
||
|
],
|
||
|
)
|