Documentation
¶
Overview ¶
Package blobtest is the contract every blob.Store backend must satisfy. Backends call Run from their own tests; the s3 backend runs it twice, against an in-memory fake everywhere and against MinIO where Docker is available.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// LargeSize is the size of the blob used to exercise multi-part paths.
// Backends that buffer into parts set it above their part size. Zero
// means 3 MiB.
LargeSize int
// FetchPresigned makes the suite GET a signed URL over HTTP and compare
// the body and the response overrides. Only meaningful against a real
// object store.
FetchPresigned bool
}
Options tunes the suite for a backend.
Click to show internal directories.
Click to hide internal directories.