...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "client",
5 srcs = ["chariotv2_client.go"],
6 importpath = "edge-infra.dev/pkg/edge/chariot/client",
7 visibility = ["//visibility:public"],
8 deps = [
9 "//pkg/edge/chariot",
10 "//pkg/edge/k8objectsutils",
11 "//pkg/lib/gcp/pubsub",
12 "@io_k8s_sigs_controller_runtime//pkg/client",
13 "@org_golang_google_api//option",
14 ],
15)
16
17go_test(
18 name = "client_test",
19 srcs = ["chariotv2_client_test.go"],
20 embed = [":client"],
21 deps = [
22 "@com_github_google_uuid//:uuid",
23 "@com_github_stretchr_testify//assert",
24 ],
25)
View as plain text