| load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") |
| |
| go_library( |
| name = "go_default_library", |
| 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_default_library", |
| "//go/statusz:go_default_library", |
| "@com_github_gchaincl_sqlhooks//:go_default_library", |
| "@com_github_golang_glog//:go_default_library", |
| "@com_github_golang_migrate_migrate_v4//source:go_default_library", |
| "@io_k8s_client_go//kubernetes:go_default_library", |
| "@io_k8s_client_go//rest:go_default_library", |
| "@org_golang_google_grpc//:go_default_library", |
| "@org_golang_google_grpc//reflection:go_default_library", |
| "@org_golang_x_net//trace:go_default_library", |
| ], |
| ) |
| |
| go_test( |
| name = "go_default_test", |
| srcs = ["revproxy_test.go"], |
| embed = [":go_default_library"], |
| deps = ["@io_k8s_client_go//kubernetes:go_default_library"], |
| ) |