2019-01-12 04:58:27 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
load(
|
|
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
|
|
"go_library",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2020-08-10 17:43:49 +00:00
|
|
|
srcs = [
|
|
|
|
"logs.go",
|
|
|
|
"options.go",
|
|
|
|
"registry.go",
|
|
|
|
],
|
2019-04-07 17:07:55 +00:00
|
|
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/component-base/logs",
|
|
|
|
importpath = "k8s.io/component-base/logs",
|
2019-01-12 04:58:27 +00:00
|
|
|
deps = [
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
2020-08-10 17:43:49 +00:00
|
|
|
"//staging/src/k8s.io/component-base/logs/json:go_default_library",
|
2020-12-01 01:06:26 +00:00
|
|
|
"//staging/src/k8s.io/component-base/logs/sanitization:go_default_library",
|
2020-08-10 17:43:49 +00:00
|
|
|
"//vendor/github.com/go-logr/logr:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//vendor/github.com/spf13/pflag:go_default_library",
|
2020-08-10 17:43:49 +00:00
|
|
|
"//vendor/k8s.io/klog/v2:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
2020-08-10 17:43:49 +00:00
|
|
|
srcs = [
|
|
|
|
":package-srcs",
|
2020-12-01 01:06:26 +00:00
|
|
|
"//staging/src/k8s.io/component-base/logs/datapol:all-srcs",
|
2020-08-10 17:43:49 +00:00
|
|
|
"//staging/src/k8s.io/component-base/logs/json:all-srcs",
|
|
|
|
"//staging/src/k8s.io/component-base/logs/logreduction:all-srcs",
|
2020-12-01 01:06:26 +00:00
|
|
|
"//staging/src/k8s.io/component-base/logs/sanitization:all-srcs",
|
2020-08-10 17:43:49 +00:00
|
|
|
],
|
2019-01-12 04:58:27 +00:00
|
|
|
tags = ["automanaged"],
|
|
|
|
)
|