aws

package
v0.0.0-...-55a3b1d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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) Stat

func (s *S3Provider) Stat(key string) (storage.Details, error)

func (*S3Provider) Validate

func (s *S3Provider) Validate(cfg config.StorageProvider) error

func (*S3Provider) Write

func (s *S3Provider) Write(key string, reader io.Reader) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL