mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-22 22:19:37 -05:00
31 lines
949 B
Python
31 lines
949 B
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||
|
load("//bazel/go:go_test.bzl", "go_test")
|
||
|
|
||
|
go_library(
|
||
|
name = "awss3",
|
||
|
srcs = ["awss3.go"],
|
||
|
importpath = "github.com/edgelesssys/constellation/v2/internal/kms/storage/awss3",
|
||
|
visibility = ["//:__subpackages__"],
|
||
|
deps = [
|
||
|
"//internal/kms/config",
|
||
|
"//internal/kms/storage",
|
||
|
"//internal/kms/uri",
|
||
|
"@com_github_aws_aws_sdk_go_v2_config//:config",
|
||
|
"@com_github_aws_aws_sdk_go_v2_credentials//:credentials",
|
||
|
"@com_github_aws_aws_sdk_go_v2_service_s3//:s3",
|
||
|
"@com_github_aws_aws_sdk_go_v2_service_s3//types",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "awss3_test",
|
||
|
srcs = ["awss3_test.go"],
|
||
|
embed = [":awss3"],
|
||
|
deps = [
|
||
|
"//internal/kms/storage",
|
||
|
"@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",
|
||
|
],
|
||
|
)
|