mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-18 19:31:43 -05:00
5f71934f56
* backup `constellation-id.json` before upgrade * remove superfluous `file.Handler` arguments * merge `constellation-id.json` on upgrade * fix typo
18 lines
480 B
Python
18 lines
480 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
load("//bazel/go:go_test.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "clusterid",
|
|
srcs = ["id.go"],
|
|
importpath = "github.com/edgelesssys/constellation/v2/cli/internal/clusterid",
|
|
visibility = ["//cli:__subpackages__"],
|
|
deps = ["//internal/cloud/cloudprovider"],
|
|
)
|
|
|
|
go_test(
|
|
name = "clusterid_test",
|
|
srcs = ["id_test.go"],
|
|
embed = [":clusterid"],
|
|
deps = ["@com_github_stretchr_testify//require"],
|
|
)
|