mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-13 09:54:29 -05:00
c446f36b0f
* client supports delete version * rename to new attestation / fetcher naming * add delete command to upload tool * test client delete * bazel update * use general client in attestation client * Update hack/configapi/cmd/delete.go Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com> * daniel feedback * unit test azure sev upload * Update hack/configapi/cmd/delete.go Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com> * add client integration test * new client cmds use apiObject --------- Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>
36 lines
901 B
Python
36 lines
901 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
load("//bazel/go:go_test.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "client",
|
|
srcs = ["client.go"],
|
|
importpath = "github.com/edgelesssys/constellation/v2/internal/api/attestationconfig/client",
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"//internal/api/attestationconfig",
|
|
"//internal/api/attestationconfig/fetcher",
|
|
"//internal/api/client",
|
|
"//internal/constants",
|
|
"//internal/logger",
|
|
"//internal/sigstore",
|
|
"//internal/staticupload",
|
|
"//internal/variant",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "client_test",
|
|
srcs = ["client_test.go"],
|
|
# keep
|
|
count = 1,
|
|
embed = [":client"],
|
|
# keep
|
|
gotags = ["e2e"],
|
|
# keep
|
|
tags = ["manual"],
|
|
deps = [
|
|
"//internal/api/attestationconfig",
|
|
"@com_github_stretchr_testify//assert",
|
|
],
|
|
)
|