mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-02 11:10:18 +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_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = [
|
||
|
"configmap_manager.go",
|
||
|
"fake_manager.go",
|
||
|
],
|
||
|
importpath = "k8s.io/kubernetes/pkg/kubelet/configmap",
|
||
|
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"],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = ["configmap_manager_test.go"],
|
||
|
importpath = "k8s.io/kubernetes/pkg/kubelet/configmap",
|
||
|
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",
|
||
|
],
|
||
|
)
|