filesystem

package
v2.0.0-alpha.2+incompa... Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2015 License: Apache-2.0 Imports: 10 Imported by: 0

README

Docker-Registry Filesystem Storage Driver

An implementation of the storagedriver.StorageDriver interface which uses the local filesystem.

Parameters

rootdirectory: (optional) The root directory tree in which all registry files will be stored. Defaults to /tmp/registry/storage.

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

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

func New

func New(rootDirectory string) *Driver

New constructs a new Driver with a given rootDirectory

Jump to

Keyboard shortcuts

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