2023-03-09 09:23:42 -05:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "cli-k8s-compatibility_lib",
|
|
|
|
srcs = ["main.go"],
|
|
|
|
importpath = "github.com/edgelesssys/constellation/v2/hack/cli-k8s-compatibility",
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
deps = [
|
2023-05-25 12:43:44 -04:00
|
|
|
"//internal/api/versionsapi",
|
|
|
|
"//internal/api/versionsapi/client",
|
2023-03-09 09:23:42 -05:00
|
|
|
"//internal/logger",
|
|
|
|
"//internal/versions",
|
|
|
|
"@org_uber_go_zap//zapcore",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_binary(
|
|
|
|
name = "cli-k8s-compatibility",
|
|
|
|
embed = [":cli-k8s-compatibility_lib"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|