blob: 9f940f09d3eeae46d52db64ccb1e34d3b95b796c [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"supervisor.go",
"supervisor_node.go",
"supervisor_processor.go",
"supervisor_support.go",
"supervisor_testhelpers.go",
],
importpath = "git.monogon.dev/source/nexantic.git/core/internal/common/supervisor",
visibility = ["//core:__subpackages__"],
deps = [
"//core/pkg/logtree:go_default_library",
"@com_github_cenkalti_backoff_v4//:go_default_library",
"@org_golang_google_grpc//:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = ["supervisor_test.go"],
embed = [":go_default_library"],
)