Documentation
¶
Index ¶
- Constants
- func IsNotExist(err error) bool
- type App
- func (a App) ConvertError(err error) error
- func (a App) CreateDir(ctx context.Context, name string) error
- func (a App) Enabled() bool
- func (a App) Info(ctx context.Context, pathname string) (model.Item, error)
- func (a App) List(ctx context.Context, pathname string) ([]model.Item, error)
- func (a App) Name() string
- func (a App) Path(pathname string) string
- func (a App) ReadFrom(ctx context.Context, pathname string) (model.ReadAtSeekCloser, error)
- func (a App) Remove(ctx context.Context, pathname string) error
- func (a App) Rename(ctx context.Context, oldName, newName string) error
- func (a App) UpdateDate(_ context.Context, _ string, _ time.Time) error
- func (a App) Walk(ctx context.Context, pathname string, walkFn func(model.Item) error) error
- func (a App) WithIgnoreFn(ignoreFn func(model.Item) bool) model.Storage
- func (a App) WriteTo(ctx context.Context, pathname string, reader io.Reader, opts model.WriteOpts) error
- type Config
- type ConfigOption
Constants ¶
View Source
const Name = "s3"
Variables ¶
This section is empty.
Functions ¶
func IsNotExist ¶ added in v1.4.0
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (App) ConvertError ¶ added in v0.3.4
type ConfigOption ¶ added in v1.1.0
func WithRegion ¶ added in v1.1.0
func WithRegion(region string) ConfigOption
func WithStorageClass ¶ added in v1.1.0
func WithStorageClass(storageClass string) ConfigOption
Click to show internal directories.
Click to hide internal directories.