mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 16:30:19 +00:00
55 lines
1.8 KiB
Python
55 lines
1.8 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"doc.go",
|
|
"lease.go",
|
|
"mastercount.go",
|
|
"none.go",
|
|
"reconcilers.go",
|
|
],
|
|
importpath = "k8s.io/kubernetes/pkg/master/reconcilers",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//pkg/api/endpoints:go_default_library",
|
|
"//pkg/apis/core:go_default_library",
|
|
"//pkg/client/clientset_generated/internalclientset/typed/core/internalversion:go_default_library",
|
|
"//pkg/registry/core/endpoint:go_default_library",
|
|
"//vendor/github.com/golang/glog:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
"//vendor/k8s.io/apiserver/pkg/endpoints/request:go_default_library",
|
|
"//vendor/k8s.io/apiserver/pkg/registry/rest:go_default_library",
|
|
"//vendor/k8s.io/apiserver/pkg/storage:go_default_library",
|
|
"//vendor/k8s.io/client-go/util/retry:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["lease_test.go"],
|
|
importpath = "k8s.io/kubernetes/pkg/master/reconcilers",
|
|
library = ":go_default_library",
|
|
deps = [
|
|
"//pkg/apis/core:go_default_library",
|
|
"//pkg/registry/registrytest:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|