constellation/internal/installer/BUILD.bazel
Markus Rudy ae00b0a198 installer: add support for data URLs
RFC 015 proposes the introduction of data URLs to materialize static
content to files on disk. This commit adds support for data URLs to the
installer. The corresponding content will be added to versions.go in a
subsequent commit.
2023-12-13 09:35:19 +01:00

31 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 = "installer",
srcs = ["installer.go"],
importpath = "github.com/edgelesssys/constellation/v2/internal/installer",
visibility = ["//:__subpackages__"],
deps = [
"//internal/retry",
"//internal/versions/components",
"@com_github_spf13_afero//:afero",
"@com_github_vincent_petithory_dataurl//:dataurl",
"@io_k8s_utils//clock",
],
)
go_test(
name = "installer_test",
srcs = ["installer_test.go"],
embed = [":installer"],
deps = [
"//internal/versions/components",
"@com_github_spf13_afero//:afero",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
"@io_k8s_utils//clock/testing",
"@org_golang_google_grpc//test/bufconn",
],
)