Add AWS SDK Go V2 Packages and a Test Script Using It #1521
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Explain the changes
Issues: Fixed #xxx / Gap #xxx
Testing Instructions:
Currently, only a manual test is available:
If you want to test it against NooBaa:
kubectl port-forward -n <your-namesopace> service/s3 12443:443
(the endpoint address will behttps://localhost:12443
).noobaa status --show-secrets -n <you-namespace>
(you can setus-east-1
as the region, it doesn't matter) and then set the environment variables:noobaa system set-debug-level 5 -n <your-namespace>
go run script/client_script.go -bucket <bucket-name> -key <key-name> -mpu <key-name-of-multi--part-upload> -endpoint "<endpoint-address>" [-disable-deletion]
, for example:go run script/client_script.go -bucket second.bucket -key test-key -mpu test-mpu-key -endpoint "https://localhost:12443" -disable-deletion
(without deletion of the objects and bucket).