webdav

package
v3.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: AGPL-3.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addition

type Addition struct {
	Vendor   string `json:"vendor" type:"select" options:"sharepoint,other" default:"other"`
	Address  string `json:"address" required:"true"`
	Username string `json:"username" required:"true"`
	Password string `json:"password" required:"true"`
	driver.RootPath
	TlsInsecureSkipVerify bool `json:"tls_insecure_skip_verify" default:"false"`
}

type WebDav

type WebDav struct {
	model.Storage
	Addition
	// contains filtered or unexported fields
}

func (*WebDav) Config

func (d *WebDav) Config() driver.Config

func (*WebDav) Copy

func (d *WebDav) Copy(ctx context.Context, srcObj, dstDir model.Obj) error

func (*WebDav) Drop

func (d *WebDav) Drop(ctx context.Context) error

func (*WebDav) GetAddition

func (d *WebDav) GetAddition() driver.Additional

func (*WebDav) Init

func (d *WebDav) Init(ctx context.Context) error
func (d *WebDav) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)

func (*WebDav) List

func (d *WebDav) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)

func (*WebDav) MakeDir

func (d *WebDav) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error

func (*WebDav) Move

func (d *WebDav) Move(ctx context.Context, srcObj, dstDir model.Obj) error

func (*WebDav) Put

func (d *WebDav) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, up driver.UpdateProgress) error

func (*WebDav) Remove

func (d *WebDav) Remove(ctx context.Context, obj model.Obj) error

func (*WebDav) Rename

func (d *WebDav) Rename(ctx context.Context, srcObj model.Obj, newName string) error

Directories

Path Synopsis
Package odrvcookie can fetch authentication cookies for a sharepoint webdav endpoint
Package odrvcookie can fetch authentication cookies for a sharepoint webdav endpoint

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL