Documentation ¶
Overview ¶
Code generated by go generate via internal/cmd/meta; DO NOT EDIT.
Index ¶
- Constants
- type Service
- func (s Service) Create(name string, pairs ...*types.Pair) (storage.Storager, error)
- func (s Service) Delete(name string, pairs ...*types.Pair) (err error)
- func (s Service) Get(name string, pairs ...*types.Pair) (storage.Storager, error)
- func (s Service) List(pairs ...*types.Pair) (err error)
- func (s *Service) String() string
- type Storage
- func (s *Storage) Delete(path string, pairs ...*types.Pair) (err error)
- func (s *Storage) Init(pairs ...*types.Pair) (err error)
- func (s *Storage) ListDir(path string, pairs ...*types.Pair) (err error)
- func (s *Storage) Metadata() (m metadata.Storage, err error)
- func (s *Storage) Read(path string, pairs ...*types.Pair) (r io.ReadCloser, err error)
- func (s *Storage) Stat(path string, pairs ...*types.Pair) (o *types.Object, err error)
- func (s *Storage) String() string
- func (s *Storage) Write(path string, r io.Reader, pairs ...*types.Pair) (err error)
Constants ¶
View Source
const Type = "s3"
Type is the type for s3
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the s3 service config.
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is the s3 object storage service.
Click to show internal directories.
Click to hide internal directories.