package
0.0.11
Repository: https://github.com/grailbio/base.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

FindBucketRegion locates the AWS region in which bucket is located.
NewDefaultProvider returns a SessionProvider that calls session.NewSession(configs...) once.
NewImplementation creates a new file.Implementation for S3.
ParseURL parses a path of form "s3://grail-bucket/dir/file" and returns ("s3", "grail-bucket", "dir/file", nil).
ReadChunkBytes is the size for individual S3 API read operations, guided by S3 docs: As a general rule, when you download large objects within a Region from Amazon S3 to Amazon EC2, we suggest making concurrent requests for byte ranges of an object at the granularity of 8–16 MB.

# Constants

No description provided by the author

# Variables

BackoffPolicy defines backoff timing parameters.
MaxRetryDuration defines the max amount of time a request can spend retrying on errors.
UploadPartSize is the size of a chunk during multi-part uploads.
No description provided by the author
WithDeadline allows faking context.WithDeadline.

# Structs

Options defines options that can be given when creating an s3Impl.
No description provided by the author

# Interfaces

No description provided by the author