webdav

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package webdav implements WebDAV-based Storage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, opts *Options, isCreate bool) (blob.Storage, error)

New creates new WebDAV-backed storage in a specified URL.

Types

type Options

type Options struct {
	URL                                 string `json:"url"`
	Username                            string `json:"username,omitempty"`
	Password                            string `json:"password,omitempty" kopia:"sensitive"`
	TrustedServerCertificateFingerprint string `json:"trustedServerCertificateFingerprint,omitempty"`
	AtomicWrites                        bool   `json:"atomicWrites"`

	sharded.Options
	throttling.Limits
}

Options defines options for Filesystem-backed storage.

Jump to

Keyboard shortcuts

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