mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 16:30:19 +00:00
58 lines
1.9 KiB
Python
58 lines
1.9 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
"go_test",
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["secret_manager_test.go"],
|
|
importpath = "k8s.io/kubernetes/pkg/kubelet/secret",
|
|
library = ":go_default_library",
|
|
deps = [
|
|
"//vendor/github.com/stretchr/testify/assert:go_default_library",
|
|
"//vendor/k8s.io/api/core/v1: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/apimachinery/pkg/util/clock:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/fake:go_default_library",
|
|
"//vendor/k8s.io/client-go/testing:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"fake_manager.go",
|
|
"secret_manager.go",
|
|
],
|
|
importpath = "k8s.io/kubernetes/pkg/kubelet/secret",
|
|
deps = [
|
|
"//pkg/api/v1/pod:go_default_library",
|
|
"//pkg/kubelet/util:go_default_library",
|
|
"//vendor/k8s.io/api/core/v1: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/util/clock:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
"//vendor/k8s.io/apiserver/pkg/storage/etcd:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
)
|