Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket interface { objstore.Bucket GetReaderAt(ctx context.Context, name string) (io.ReaderAt, error) }
Bucket is an objstore.Bucket that also supports reading files via a ReaderAt interface.
type BucketReaderAt ¶
BucketReaderAt implements the Bucket interface.
func NewBucketReaderAt ¶
func NewBucketReaderAt(bucket objstore.Bucket) *BucketReaderAt
NewBucketReaderAt returns a new Bucket.
func (*BucketReaderAt) GetReaderAt ¶
GetReaderAt returns a io.ReaderAt for the given filename.
type FileReaderAt ¶
FileReaderAt is a wrapper around a objstore.Bucket that implements the ReaderAt interface.
Click to show internal directories.
Click to hide internal directories.