Documentation
¶
Index ¶
- type Storage
- func (st *Storage) Delete(ctx context.Context, key string) error
- func (st *Storage) Get(ctx context.Context, key string) (io.ReadCloser, error)
- func (st *Storage) Init(_ context.Context) error
- func (st *Storage) List(ctx context.Context, path string) ([]string, error)
- func (st *Storage) Put(ctx context.Context, key string, r io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct { AwsConfig *aws.Config `inject:""` Bucket string `inject:"AwsS3Bucket"` // contains filtered or unexported fields }
Storage struct provides sss.Storage functionality on top of AWS S3
func (*Storage) Delete ¶
Delete allows to delete a value by key. Will return errors.ErrNotExist if the key is not found
Click to show internal directories.
Click to hide internal directories.