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",
|
|
|
|
"flags.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",
|
|
|
|
"upload.go",
|
2024-01-04 10:59:31 -05:00
|
|
|
"uplosi.go",
|
2023-04-21 04:47:07 -04:00
|
|
|
],
|
|
|
|
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",
|
2024-01-09 13:37:56 -05:00
|
|
|
"//internal/constants",
|
2023-04-21 04:47:07 -04:00
|
|
|
"//internal/logger",
|
|
|
|
"//internal/osimage",
|
|
|
|
"//internal/osimage/archive",
|
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",
|
2024-01-04 10:59:31 -05:00
|
|
|
"//internal/osimage/uplosi",
|
2023-04-21 04:47:07 -04:00
|
|
|
"@com_github_spf13_cobra//:cobra",
|
|
|
|
],
|
|
|
|
)
|