2023-04-21 04:47:07 -04:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "cmd",
|
|
|
|
srcs = [
|
|
|
|
"api.go",
|
|
|
|
"aws.go",
|
|
|
|
"azure.go",
|
|
|
|
"flags.go",
|
|
|
|
"gcp.go",
|
2023-05-23 06:12:58 -04:00
|
|
|
"image.go",
|
2023-05-23 09:09:14 -04:00
|
|
|
"info.go",
|
|
|
|
"measurements.go",
|
|
|
|
"measurementsenvelope.go",
|
|
|
|
"measurementsmerge.go",
|
|
|
|
"measurementsupload.go",
|
2023-04-21 04:47:07 -04:00
|
|
|
"must.go",
|
|
|
|
"nop.go",
|
|
|
|
"openstack.go",
|
|
|
|
"qemu.go",
|
|
|
|
"secureboot.go",
|
|
|
|
"upload.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/edgelesssys/constellation/v2/image/upload/internal/cmd",
|
|
|
|
visibility = ["//image/upload:__subpackages__"],
|
|
|
|
deps = [
|
2023-06-07 10:16:32 -04:00
|
|
|
"//internal/api/versionsapi",
|
2023-05-23 09:09:14 -04:00
|
|
|
"//internal/attestation/measurements",
|
2023-04-21 04:47:07 -04:00
|
|
|
"//internal/cloud/cloudprovider",
|
|
|
|
"//internal/logger",
|
|
|
|
"//internal/osimage",
|
|
|
|
"//internal/osimage/archive",
|
|
|
|
"//internal/osimage/aws",
|
|
|
|
"//internal/osimage/azure",
|
|
|
|
"//internal/osimage/gcp",
|
2023-05-23 09:09:14 -04:00
|
|
|
"//internal/osimage/imageinfo",
|
|
|
|
"//internal/osimage/measurementsuploader",
|
2023-04-21 04:47:07 -04:00
|
|
|
"//internal/osimage/nop",
|
|
|
|
"//internal/osimage/secureboot",
|
|
|
|
"@com_github_spf13_afero//:afero",
|
|
|
|
"@com_github_spf13_cobra//:cobra",
|
|
|
|
"@org_uber_go_zap//zapcore",
|
|
|
|
],
|
|
|
|
)
|