package filesystem

import "github.com/docker/distribution/registry/storage/driver/filesystem"

Index

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

type DriverParameters struct {
	RootDirectory string
	MaxThreads    uint64
}

DriverParameters represents all configuration options available for the filesystem driver

Source Files

driver.go

Version
v2.6.1-rc.1+incompatible
Published
Mar 21, 2017
Platform
js/wasm
Imports
14 packages
Last checked
1 hour ago

Tools for package owners.