blob: 8069b7d28b4df4af44fca92c4883520e844ce7cb [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "mirko",
srcs = [
"kubernetes.go",
"mirko.go",
"revproxy.go",
"sql.go",
"sql_migrations.go",
"trace.go",
],
importpath = "code.hackerspace.pl/hscloud/go/mirko",
visibility = ["//visibility:public"],
deps = [
"//go/pki",
"//go/statusz",
"@com_github_gchaincl_sqlhooks//:sqlhooks",
"@com_github_golang_glog//:glog",
"@com_github_golang_migrate_migrate_v4//source",
"@io_k8s_client_go//kubernetes",
"@io_k8s_client_go//rest",
"@org_golang_google_grpc//:go_default_library",
"@org_golang_google_grpc//reflection",
"@org_golang_x_net//trace",
],
)
go_test(
name = "mirko_test",
srcs = ["revproxy_test.go"],
embed = [":mirko"],
deps = ["@io_k8s_client_go//kubernetes"],
)