Documentation ¶
Index ¶
- Constants
- type S3Provider
- func (s *S3Provider) Configure(cfg config.StorageProvider) error
- func (s *S3Provider) Read(key string) (io.ReadCloser, error)
- func (s *S3Provider) Stat(key string) (storage.Details, error)
- func (s *S3Provider) Validate(cfg config.StorageProvider) error
- func (s *S3Provider) Write(key string, reader io.Reader) error
Constants ¶
View Source
const (
ErrNotConfigured = errors.New("provider not configured")
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Provider ¶
type S3Provider struct {
// contains filtered or unexported fields
}
func (*S3Provider) Configure ¶
func (s *S3Provider) Configure(cfg config.StorageProvider) error
func (*S3Provider) Read ¶
func (s *S3Provider) Read(key string) (io.ReadCloser, error)
func (*S3Provider) Validate ¶
func (s *S3Provider) Validate(cfg config.StorageProvider) error
Click to show internal directories.
Click to hide internal directories.