Documentation ¶
Index ¶
- type Storage
- func (s *Storage) CreateObjectExclusively(ctx context.Context, name string, objectMetadata storage.ObjectMetadata, ...) error
- func (s *Storage) DeleteObject(ctx context.Context, name string) error
- func (s *Storage) GetObject(ctx context.Context, name string) (io.ReadCloser, error)
- func (s *Storage) GetObjectMetadata(ctx context.Context, name string) (storage.ObjectMetadata, error)
- func (s *Storage) ListObjects(ctx context.Context, opts storage.ObjectListOptions) (*storage.ObjectList, error)
- type StorageOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func NewStorage(opts StorageOptions) (*Storage, error)
func (*Storage) CreateObjectExclusively ¶
func (s *Storage) CreateObjectExclusively(ctx context.Context, name string, objectMetadata storage.ObjectMetadata, data io.ReadSeeker) error
func (*Storage) DeleteObject ¶
func (*Storage) GetObjectMetadata ¶
func (*Storage) ListObjects ¶
func (s *Storage) ListObjects(ctx context.Context, opts storage.ObjectListOptions) (*storage.ObjectList, error)
Click to show internal directories.
Click to hide internal directories.