Documentation ¶
Index ¶
- func IsRetryableError(err error) bool
- type Config
- type FS
- func (fs *FS) Copy(src, dst string) error
- func (fs *FS) Delete(name string) error
- func (fs *FS) FileStat(name string) (storage.FileInfo, error)
- func (fs *FS) List(prefix, suffix string) ([]storage.FileInfo, error)
- func (fs *FS) Save(name string, data io.Reader, _ int64) error
- func (fs *FS) SourceReader(name string) (io.ReadCloser, error)
- func (*FS) Type() storage.Type
- type RetryableError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRetryableError ¶
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
func (*FS) Delete ¶
Delete deletes given file from FS. It returns storage.ErrNotExist if a file isn't exists
func (*FS) SourceReader ¶
func (fs *FS) SourceReader(name string) (io.ReadCloser, error)
type RetryableError ¶
type RetryableError struct {
Err error
}
func (*RetryableError) Error ¶
func (e *RetryableError) Error() string
Click to show internal directories.
Click to hide internal directories.