Documentation
¶
Overview ¶
Package storage defines provider-neutral object storage contracts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = fs.ErrNotExist
ErrNotFound identifies a missing object.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader interface {
// Size returns an object's size without reading its contents.
Size(context.Context, string) (int64, error)
// Open opens a full object when the range is nil or one inclusive range.
// It returns the length of the opened stream.
Open(context.Context, string, *Range) (io.ReadCloser, int64, error)
}
Reader is the narrow read-only contract used by the registry handler.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package gcs adapts Google Cloud Storage to the provider-neutral storage contracts.
|
Package gcs adapts Google Cloud Storage to the provider-neutral storage contracts. |
|
Package s3 adapts AWS S3 to the provider-neutral storage contracts.
|
Package s3 adapts AWS S3 to the provider-neutral storage contracts. |
Click to show internal directories.
Click to hide internal directories.