| load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") | 
 | load("//build/static_binary_tarball:def.bzl", "static_binary_tarball") | 
 |  | 
 | go_binary( | 
 |     name = "test_agent", | 
 |     embed = [":test_agent_lib"], | 
 |     visibility = [ | 
 |         "//cloud/shepherd/manager:__pkg__", | 
 |     ], | 
 | ) | 
 |  | 
 | go_library( | 
 |     name = "test_agent_lib", | 
 |     srcs = ["main.go"], | 
 |     importpath = "source.monogon.dev/cloud/shepherd/manager/test_agent", | 
 |     visibility = ["//visibility:private"], | 
 |     deps = [ | 
 |         "//cloud/agent/api", | 
 |         "@org_golang_google_protobuf//proto", | 
 |     ], | 
 | ) | 
 |  | 
 | # Used by container_images, forces a static build of the test_agent. | 
 | static_binary_tarball( | 
 |     name = "test_agent_layer", | 
 |     executable = ":test_agent", | 
 |     visibility = ["//visibility:public"], | 
 | ) |