Documentation
¶
Index ¶
- func New(s3c aws.S3ObjectClient, bucket string, opts ...Options) (store.Store, error)
- type Options
- type Store
- func (s *Store) Copy(ctx context.Context, srcKey, dstKey string) error
- func (s *Store) Delete(ctx context.Context, key string) error
- func (s *Store) Load(ctx context.Context, key string) (io.ReadCloser, *store.Headers, error)
- func (s *Store) Store(ctx context.Context, key string, reader io.Reader, headers *store.Headers) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶ added in v0.3.1
func WithKeyPrefix ¶ added in v0.3.1
WithKeyPrefix sets the key prefix for the store.
type Store ¶ added in v0.3.1
type Store struct {
// contains filtered or unexported fields
}
Store is a store that uses S3 as the underlying storage.
Click to show internal directories.
Click to hide internal directories.