2023-03-30 03:41:56 -04:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
load("//bazel/go:go_test.bzl", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "mirror",
|
|
|
|
srcs = ["mirror.go"],
|
|
|
|
importpath = "github.com/edgelesssys/constellation/v2/hack/bazel-deps-mirror/internal/mirror",
|
|
|
|
visibility = ["//hack/bazel-deps-mirror:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//internal/logger",
|
|
|
|
"@com_github_aws_aws_sdk_go_v2_config//:config",
|
|
|
|
"@com_github_aws_aws_sdk_go_v2_feature_s3_manager//:manager",
|
|
|
|
"@com_github_aws_aws_sdk_go_v2_service_s3//:s3",
|
|
|
|
"@com_github_aws_aws_sdk_go_v2_service_s3//types",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "mirror_test",
|
|
|
|
srcs = ["mirror_test.go"],
|
|
|
|
embed = [":mirror"],
|
|
|
|
deps = [
|
|
|
|
"//internal/logger",
|
|
|
|
"@com_github_aws_aws_sdk_go_v2_feature_s3_manager//:manager",
|
|
|
|
"@com_github_aws_aws_sdk_go_v2_service_s3//:s3",
|
|
|
|
"@com_github_aws_aws_sdk_go_v2_service_s3//types",
|
|
|
|
"@com_github_stretchr_testify//assert",
|
2023-04-05 11:32:51 -04:00
|
|
|
"@com_github_stretchr_testify//require",
|
2023-03-30 03:41:56 -04:00
|
|
|
"@org_uber_go_goleak//:goleak",
|
|
|
|
],
|
|
|
|
)
|