restic/internal/backend
Connor Findlay 9553d873ff backend/azure: Add tests for both token types
Add two new test cases, TestBackendAzureAccountToken and
TestBackendAzureContainerToken, that ensure that the authorization using
both types of token works.

This introduces two new environment variables,
RESTIC_TEST_AZURE_ACCOUNT_SAS and RESTIC_TEST_AZURE_CONTAINER_SAS, that
contain the tokens to use when testing restic. If an environment
variable is missing, the related test is skipped.
2024-10-18 21:59:03 +02:00
..
azure backend/azure: Add tests for both token types 2024-10-18 21:59:03 +02:00
b2 return exit code 10 if repository does not exist 2024-07-10 21:46:26 +02:00
cache cache: fix race condition in cache cleanup 2024-10-18 21:47:59 +02:00
dryrun backend: remove unused Location method 2024-05-18 21:38:31 +02:00
gs gs: Replace some errors.Wrap calls 2024-06-01 15:11:06 +02:00
layout Deprecate s3legacy layout 2024-04-10 21:27:56 +02:00
limiter CI: enable bodyclose linter 2024-01-19 21:17:18 +01:00
local backend: remove unused Location method 2024-05-18 21:38:31 +02:00
location move Backend interface to backend package 2023-10-25 23:00:18 +02:00
logger move Backend interface to backend package 2023-10-25 23:00:18 +02:00
mem backend: remove unused Location method 2024-05-18 21:38:31 +02:00
mock backend: remove unused Location method 2024-05-18 21:38:31 +02:00
rclone Fix linter errors (except for tests) 2024-02-10 22:58:10 +01:00
rest rest: improve handling of HTTP2 goaway 2024-08-30 12:46:07 +02:00
retry backend/retry: don't trip circuit breaker if context is canceled 2024-08-30 12:45:20 +02:00
s3 s3: forbid anonymous authentication unless explicitly requested 2024-07-10 20:10:27 +02:00
sema move Backend interface to backend package 2023-10-25 23:00:18 +02:00
sftp Add more checks for canceled contexts 2024-07-31 19:30:47 +02:00
swift backend: remove unused Location method 2024-05-18 21:38:31 +02:00
test backend: remove unused Location method 2024-05-18 21:38:31 +02:00
testdata Moves files 2017-07-23 14:19:13 +02:00
util backend: move LimitReadCloser to util package 2024-05-18 21:26:00 +02:00
backend.go return exit code 10 if repository does not exist 2024-07-10 21:46:26 +02:00
backend_test.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
file.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
file_test.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
http_transport.go make timeout for slow requests configurable 2024-08-30 12:45:20 +02:00
httpuseragent_roundtripper.go http: allow custom User-Agent for outgoing HTTP requests 2024-05-30 15:38:06 +02:00
httpuseragent_roundtripper_test.go http: allow custom User-Agent for outgoing HTTP requests 2024-05-30 15:38:06 +02:00
readerat.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
rewind_reader.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
rewind_reader_test.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
shell_split.go Fix typos 2023-12-06 13:11:55 +01:00
shell_split_test.go Refactor SplitShellStrings 2018-04-01 10:16:31 +02:00
watchdog_roundtriper.go backend: return correct error on upload/request timeout 2024-08-30 12:37:10 +02:00
watchdog_roundtriper_test.go backend: return correct error on upload/request timeout 2024-08-30 12:37:10 +02:00