Versions in this module Expand all Collapse all v0 v0.9.1 Dec 2, 2020 Changes in this version + type Option func(*Store) + func WithLogger(logger *zap.Logger) Option + type Store struct + func NewStore(endpoint, bucket, accessKeyFile, secretKeyFile string, opts ...Option) (*Store, error) + func (s *Store) Close() error + func (s *Store) EnsureBucket(ctx context.Context) error + func (s *Store) GetObject(ctx context.Context, path string) (object filestore.Object, err error) + func (s *Store) ListObjects(ctx context.Context, prefix string) ([]filestore.Object, error) + func (s *Store) NewReader(ctx context.Context, path string) (rc io.ReadCloser, err error) + func (s *Store) PutObject(ctx context.Context, path string, content []byte) error