MCPcopy
hub / github.com/benbjohnson/litestream / GetObject

Method GetObject

s3/leaser.go:37–37  ·  view source on GitHub ↗
(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options))

Source from the content-addressed store, hash-verified

35// S3API is the interface for S3 operations needed by Leaser.
36type S3API interface {
37 GetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)
38 PutObject(ctx context.Context, params *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error)
39 DeleteObject(ctx context.Context, params *s3.DeleteObjectInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)
40}

Callers 5

OpenLTXFileMethod · 0.80
readLeaseMethod · 0.80
OpenLTXFileMethod · 0.80
OpenSnapshotV3Method · 0.80
OpenWALSegmentV3Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected