...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "config",
5 srcs = [
6 "channel.go",
7 "config.go",
8 ],
9 importpath = "edge-infra.dev/pkg/edge/lighthouse/config",
10 visibility = ["//visibility:public"],
11 deps = [
12 "//pkg/lib/gcp/cloudsql",
13 "@com_github_peterbourgon_ff_v3//:ff",
14 "@io_k8s_client_go//rest",
15 "@io_k8s_client_go//tools/clientcmd",
16 "@io_k8s_client_go//util/homedir",
17 "@io_k8s_sigs_controller_runtime//pkg/client",
18 ],
19)
20
21go_test(
22 name = "config_test",
23 srcs = [
24 "channel_test.go",
25 "config_test.go",
26 ],
27 embed = [":config"],
28 deps = ["@com_github_stretchr_testify//assert"],
29)
View as plain text