2019-12-12 01:27:03 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"cert_key.go",
|
|
|
|
"client_ca.go",
|
|
|
|
"configmap_cafile_content.go",
|
|
|
|
"dynamic_cafile_content.go",
|
|
|
|
"dynamic_serving_content.go",
|
|
|
|
"dynamic_sni_content.go",
|
|
|
|
"named_certificates.go",
|
|
|
|
"static_content.go",
|
|
|
|
"tlsconfig.go",
|
|
|
|
"union_content.go",
|
|
|
|
"util.go",
|
|
|
|
],
|
|
|
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/dynamiccertificates",
|
|
|
|
importpath = "k8s.io/apiserver/pkg/server/dynamiccertificates",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/fields:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/errors:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/validation:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/informers/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/listers/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/tools/cache:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/tools/events:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/util/cert:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/util/workqueue:go_default_library",
|
2020-08-10 17:43:49 +00:00
|
|
|
"//vendor/k8s.io/klog/v2:go_default_library",
|
2019-12-12 01:27:03 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [":package-srcs"],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"cert_key_test.go",
|
|
|
|
"client_ca_test.go",
|
|
|
|
"named_certificates_test.go",
|
2020-03-26 21:07:15 +00:00
|
|
|
"server_test.go",
|
2019-12-12 01:27:03 +00:00
|
|
|
"tlsconfig_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2020-03-26 21:07:15 +00:00
|
|
|
"//staging/src/k8s.io/client-go/util/cert:go_default_library",
|
2019-12-12 01:27:03 +00:00
|
|
|
"//vendor/github.com/davecgh/go-spew/spew:go_default_library",
|
|
|
|
"//vendor/github.com/stretchr/testify/assert:go_default_library",
|
|
|
|
],
|
|
|
|
)
|