MCPcopy
hub / github.com/dosco/graphjin / s3Backend

Struct s3Backend

serv/fstable_s3.go:24–30  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

22// S3-compatible service via Endpoint override). One instance is
23// created per FilesystemConfig at engine init.
24type 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,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected