s3Backend implements fstable.Backend on top of AWS S3 (or any S3-compatible service via Endpoint override). One instance is created per FilesystemConfig at engine init.
| 22 | // S3-compatible service via Endpoint override). One instance is |
| 23 | // created per FilesystemConfig at engine init. |
| 24 | type s3Backend struct { |
| 25 | client *s3.Client |
| 26 | presigner *s3.PresignClient |
| 27 | bucket string |
| 28 | prefix string |
| 29 | listMaxKeys int32 |
| 30 | } |
| 31 | |
| 32 | // newS3Backend builds an s3Backend from a core.FilesystemConfig. It |
| 33 | // uses the standard AWS credential chain (env vars, ~/.aws/credentials, |
nothing calls this directly
no outgoing calls
no test coverage detected