Documentation ¶
Index ¶
- type PosixStorage
- func (s *PosixStorage) DeleteObject(p string) error
- func (s *PosixStorage) List(prefix, startWith, delimiter string, doneCh <-chan struct{}) <-chan types.ObjectInfo
- func (s *PosixStorage) ReadObject(p string) (types.ReadSeekCloser, error)
- func (s *PosixStorage) Stat(p string) (*types.ObjectInfo, error)
- func (s *PosixStorage) WriteObject(p string, data io.Reader, size int64, persist bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PosixStorage ¶
type PosixStorage struct {
// contains filtered or unexported fields
}
func New ¶
func New(baseDir string) (*PosixStorage, error)
func (*PosixStorage) DeleteObject ¶
func (s *PosixStorage) DeleteObject(p string) error
func (*PosixStorage) List ¶
func (s *PosixStorage) List(prefix, startWith, delimiter string, doneCh <-chan struct{}) <-chan types.ObjectInfo
func (*PosixStorage) ReadObject ¶
func (s *PosixStorage) ReadObject(p string) (types.ReadSeekCloser, error)
func (*PosixStorage) Stat ¶
func (s *PosixStorage) Stat(p string) (*types.ObjectInfo, error)
func (*PosixStorage) WriteObject ¶
Click to show internal directories.
Click to hide internal directories.