load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "client", srcs = ["chariotv2_client.go"], importpath = "edge-infra.dev/pkg/edge/chariot/client", visibility = ["//visibility:public"], deps = [ "//pkg/edge/chariot", "//pkg/edge/k8objectsutils", "//pkg/lib/gcp/pubsub", "@io_k8s_sigs_controller_runtime//pkg/client", "@org_golang_google_api//option", ], ) go_test( name = "client_test", srcs = ["chariotv2_client_test.go"], embed = [":client"], deps = [ "@com_github_google_uuid//:uuid", "@com_github_stretchr_testify//assert", ], )