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 = "cloudcmd",
|
|
|
|
srcs = [
|
|
|
|
"clients.go",
|
|
|
|
"cloudcmd.go",
|
|
|
|
"create.go",
|
|
|
|
"iam.go",
|
|
|
|
"rollback.go",
|
|
|
|
"terminate.go",
|
|
|
|
"validators.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/edgelesssys/constellation/v2/cli/internal/cloudcmd",
|
|
|
|
visibility = ["//cli:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//cli/internal/clusterid",
|
|
|
|
"//cli/internal/iamid",
|
|
|
|
"//cli/internal/image",
|
|
|
|
"//cli/internal/libvirt",
|
|
|
|
"//cli/internal/terraform",
|
|
|
|
"//internal/atls",
|
2023-03-14 06:46:27 -04:00
|
|
|
"//internal/attestation/choose",
|
2023-03-09 09:23:42 -05:00
|
|
|
"//internal/attestation/measurements",
|
|
|
|
"//internal/cloud/cloudprovider",
|
|
|
|
"//internal/cloud/gcpshared",
|
|
|
|
"//internal/config",
|
|
|
|
"//internal/constants",
|
2023-03-29 03:30:13 -04:00
|
|
|
"//internal/variant",
|
2023-03-20 08:33:04 -04:00
|
|
|
"@com_github_azure_azure_sdk_for_go//profiles/latest/attestation/attestation",
|
|
|
|
"@com_github_azure_azure_sdk_for_go_sdk_azcore//policy",
|
|
|
|
"@com_github_azure_azure_sdk_for_go_sdk_azidentity//:azidentity",
|
2023-03-09 09:23:42 -05:00
|
|
|
"@com_github_hashicorp_terraform_json//:terraform-json",
|
|
|
|
"@com_github_spf13_cobra//:cobra",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "cloudcmd_test",
|
|
|
|
srcs = [
|
|
|
|
"clients_test.go",
|
|
|
|
"create_test.go",
|
|
|
|
"iam_test.go",
|
|
|
|
"rollback_test.go",
|
|
|
|
"terminate_test.go",
|
|
|
|
"validators_test.go",
|
|
|
|
],
|
|
|
|
embed = [":cloudcmd"],
|
|
|
|
deps = [
|
|
|
|
"//cli/internal/iamid",
|
|
|
|
"//cli/internal/terraform",
|
|
|
|
"//internal/attestation/measurements",
|
|
|
|
"//internal/cloud/cloudprovider",
|
|
|
|
"//internal/cloud/gcpshared",
|
|
|
|
"//internal/config",
|
|
|
|
"@com_github_hashicorp_terraform_json//:terraform-json",
|
|
|
|
"@com_github_stretchr_testify//assert",
|
|
|
|
"@com_github_stretchr_testify//require",
|
|
|
|
"@org_uber_go_goleak//:goleak",
|
|
|
|
],
|
|
|
|
)
|