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.8.3+incompatible (latest)
Published
Oct 2, 2023
Platform
linux/amd64
Imports
12 packages
Last checked
2 days ago

Tools for package owners.