Documentation ¶
Index ¶
- type Addition
- type Lark
- func (c *Lark) Config() driver.Config
- func (c *Lark) Copy(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error)
- func (c *Lark) Drop(ctx context.Context) error
- func (c *Lark) GetAddition() driver.Additional
- func (c *Lark) Init(ctx context.Context) error
- func (c *Lark) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
- func (c *Lark) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
- func (c *Lark) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) (model.Obj, error)
- func (c *Lark) Move(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error)
- func (c *Lark) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) (model.Obj, error)
- func (c *Lark) Remove(ctx context.Context, obj model.Obj) error
- func (c *Lark) Rename(ctx context.Context, srcObj model.Obj, newName string) (model.Obj, error)
- type TokenCache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Addition ¶
type Addition struct { // Usually one of two driver.RootPath // define other AppId string `json:"app_id" type:"text" help:"app id"` AppSecret string `json:"app_secret" type:"text" help:"app secret"` ExternalMode bool `json:"external_mode" type:"bool" help:"external mode"` TenantUrlPrefix string `json:"tenant_url_prefix" type:"text" help:"tenant url prefix"` }
Click to show internal directories.
Click to hide internal directories.