Documentation
¶
Index ¶
- type Addition
- type USS
- func (d *USS) Config() driver.Config
- func (d *USS) Copy(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *USS) Drop(ctx context.Context) error
- func (d *USS) GetAddition() driver.Additional
- func (d *USS) Init(ctx context.Context) error
- func (d *USS) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
- func (d *USS) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
- func (d *USS) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error
- func (d *USS) Move(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *USS) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error
- func (d *USS) Remove(ctx context.Context, obj model.Obj) error
- func (d *USS) Rename(ctx context.Context, srcObj model.Obj, newName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Addition ¶
type Addition struct {
driver.RootPath
Bucket string `json:"bucket" required:"true"`
Endpoint string `json:"endpoint" required:"true"`
OperatorName string `json:"operator_name" required:"true"`
OperatorPassword string `json:"operator_password" required:"true"`
CustomHost string `json:"custom_host"`
SignURLExpire int `json:"sign_url_expire" type:"number" default:"4"`
}
Click to show internal directories.
Click to hide internal directories.