2023-03-09 09:23:42 -05:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
load("//bazel/go:go_test.bzl", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "azureshared",
|
|
|
|
srcs = [
|
|
|
|
"appcredentials.go",
|
2023-04-03 09:01:25 -04:00
|
|
|
"authmethod_string.go",
|
2023-03-09 09:23:42 -05:00
|
|
|
"azureshared.go",
|
|
|
|
"metadata.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/edgelesssys/constellation/v2/internal/cloud/azureshared",
|
|
|
|
visibility = ["//:__subpackages__"],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "azureshared_test",
|
|
|
|
srcs = [
|
|
|
|
"appcredentials_test.go",
|
|
|
|
"metadata_test.go",
|
|
|
|
],
|
|
|
|
embed = [":azureshared"],
|
|
|
|
deps = [
|
|
|
|
"@com_github_stretchr_testify//assert",
|
|
|
|
"@com_github_stretchr_testify//require",
|
|
|
|
"@org_uber_go_goleak//:goleak",
|
|
|
|
],
|
|
|
|
)
|