Documentation ¶
Overview ¶
Package s3 stores backups on AWS S3
Index ¶
- type Store
- func (s *Store) Info(ctx *context.Context, key string) (os.FileInfo, error)
- func (s *Store) Init() error
- func (s *Store) Name() string
- func (s *Store) Pull(ctx *context.Context, key string) (io.ReadCloser, os.FileInfo, error)
- func (s *Store) Push(ctx *context.Context, key string, r io.Reader) error
- func (s *Store) Walk(ctx *context.Context, filter *storage.WalkFilter, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct { ID string `toml:"id"` Secret string `toml:"secret"` Token string `toml:"token"` Folder string `toml:"folder"` Region string `toml:"region"` Bucket string `toml:"bucket"` Debug bool `toml:"debug"` Sesh *session.Session S3 *s3.S3 }
Store is an S3 store
Click to show internal directories.
Click to hide internal directories.