filesystem

package
v2.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

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

Driver is a storagedriver.StorageDriver implementation backed by a local filesystem. All provided paths will be subpaths of the RootDirectory.

func FromParameters

func FromParameters(parameters map[string]interface{}) (*Driver, error)

FromParameters constructs a new Driver with a given parameters map Optional Parameters: - rootdirectory - maxthreads

func New

func New(params DriverParameters) *Driver

New constructs a new Driver with a given rootDirectory

type DriverParameters added in v2.5.0

type DriverParameters struct {
	RootDirectory string
	MaxThreads    uint64
}

DriverParameters represents all configuration options available for the filesystem driver

Jump to

Keyboard shortcuts

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