package
0.2.1
Repository: https://github.com/yeya24/thanos.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package gcs implements common object storage abstractions against Google Cloud Storage.
No description provided by the author
No description provided by the author
Package s3 implements common object storage abstractions against s3-compatible APIs.
Package swift implements common object storage abstractions against OpenStack swift APIs.

# Functions

BucketWithMetrics takes a bucket and registers metrics with the given registry for operations run against the bucket.
DeleteDir removes all objects prefixed with dir from the bucket.
DownloadDir downloads all object found in the directory into the local directory.
DownloadFile downloads the src file from the bucket to dst.
EmptyBucket deletes all objects from bucket.
UploadDir uploads all files in srcdir to the bucket with into a top-level directory named dstdir.
UploadFile uploads the file with the given name to the bucket.

# Constants

DirDelim is the delimiter used to model a directory structure in an object store bucket.

# Interfaces

Bucket provides read and write access to an object storage bucket.
BucketReader provides read access to an object storage bucket.