Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("not found")
)
Functions ¶
This section is empty.
Types ¶
type Getter ¶
type Getter interface { // Get returns bytes content of file object at the given path. Get(ctx context.Context, path string) ([]byte, error) // GetReader returns a new Reader to read the contents of the object. // The caller must call Close on the returned Reader when done reading. GetReader(ctx context.Context, path string) (io.ReadCloser, error) }
type Lister ¶
type Lister interface { // List finds all objects in storage where its path starts with the given prefix // and returns objects' attributes (without content). List(ctx context.Context, prefix string) ([]ObjectAttrs, error) }
Directories ¶
Path | Synopsis |
---|---|
Package filestoretest is a generated GoMock package.
|
Package filestoretest is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.