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