| load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") |
| |
| go_library( |
| name = "go_default_library", |
| srcs = [ |
| "hspki.go", |
| "kubernetes.go", |
| "prodaccess.go", |
| ], |
| importpath = "code.hackerspace.pl/hscloud/cluster/prodaccess", |
| visibility = ["//visibility:private"], |
| deps = [ |
| "//cluster/certs:go_default_library", |
| "//cluster/prodvider/proto:go_default_library", |
| "//go/pki:go_default_library", |
| "@com_github_golang_glog//:go_default_library", |
| "@org_golang_google_grpc//:go_default_library", |
| "@org_golang_google_grpc//credentials:go_default_library", |
| "@org_golang_x_crypto//ssh/terminal:go_default_library", |
| ], |
| ) |
| |
| go_binary( |
| name = "prodaccess", |
| embed = [":go_default_library"], |
| visibility = ["//visibility:public"], |
| ) |