webdav

package
v0.0.0-...-2bcb355 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHttpClient

func NewHttpClient(pemCerts string, insecureSkipVerify bool) *http.Client

Types

type Blobstore

type Blobstore struct {
	// contains filtered or unexported fields
}

func (*Blobstore) Copy

func (blobstore *Blobstore) Copy(src, dest string) error

func (*Blobstore) Delete

func (blobstore *Blobstore) Delete(path string) error

func (*Blobstore) DeleteDir

func (blobstore *Blobstore) DeleteDir(prefix string) error

func (*Blobstore) Exists

func (blobstore *Blobstore) Exists(path string) (bool, error)

func (*Blobstore) Get

func (blobstore *Blobstore) Get(path string) (body io.ReadCloser, err error)

func (*Blobstore) GetOrRedirect

func (blobstore *Blobstore) GetOrRedirect(path string) (body io.ReadCloser, redirectLocation string, err error)

func (*Blobstore) HeadOrRedirectAsGet

func (blobstore *Blobstore) HeadOrRedirectAsGet(path string) (redirectLocation string, err error)

func (*Blobstore) Put

func (blobstore *Blobstore) Put(path string, src io.ReadSeeker) error

func (*Blobstore) PutOrRedirect

func (blobstore *Blobstore) PutOrRedirect(path string, src io.ReadSeeker) (redirectLocation string, err error)

func (*Blobstore) Sign

func (signer *Blobstore) Sign(resource string, method string, expirationTime time.Time) string

Jump to

Keyboard shortcuts

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