load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") | |
go_binary( | |
name = "test_agent", | |
embed = [":test_agent_lib"], | |
visibility = [ | |
"//cloud/shepherd/equinix/manager:__pkg__", | |
], | |
) | |
go_library( | |
name = "test_agent_lib", | |
srcs = ["main.go"], | |
importpath = "source.monogon.dev/cloud/shepherd/equinix/manager/test_agent", | |
visibility = ["//visibility:private"], | |
deps = [ | |
"//cloud/agent/api", | |
"@org_golang_google_protobuf//proto", | |
], | |
) |