mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-25 07:40:19 +00:00
60 lines
1.9 KiB
Python
60 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 = [
|
|
"kubelet.go",
|
|
"transport.go",
|
|
],
|
|
importpath = "k8s.io/kubernetes/pkg/kubelet/certificate",
|
|
deps = [
|
|
"//pkg/kubelet/apis/kubeletconfig:go_default_library",
|
|
"//pkg/kubelet/metrics:go_default_library",
|
|
"//vendor/github.com/golang/glog:go_default_library",
|
|
"//vendor/github.com/prometheus/client_golang/prometheus:go_default_library",
|
|
"//vendor/k8s.io/api/certificates/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/net:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/client-go/rest:go_default_library",
|
|
"//vendor/k8s.io/client-go/util/certificate:go_default_library",
|
|
"//vendor/k8s.io/client-go/util/connrotation:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["transport_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/client-go/rest:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//pkg/kubelet/certificate/bootstrap:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|