Documentation ¶
Index ¶
- type Option
- type Store
- func (s *Store) Close() 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Store)
func WithCredentialsFile ¶
func WithHTTPClient ¶
func WithLogger ¶
Click to show internal directories.
Click to hide internal directories.