2023-04-17 04:22:34 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-10-14 00:10:57 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"journald.go",
|
|
|
|
"journald_linux.go",
|
2023-04-17 04:22:34 +00:00
|
|
|
"journalhook.go",
|
2020-10-14 00:10:57 +00:00
|
|
|
],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/monitoring/journald",
|
2020-10-14 00:10:57 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2023-04-17 04:22:34 +00:00
|
|
|
deps = [
|
|
|
|
"@com_github_coreos_go_systemd//journal:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["journalhook_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
2020-10-14 00:10:57 +00:00
|
|
|
)
|