graph

package
v10.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

README

Graph Driver

This implements the Graph Driver interface. It allows for different implementations of the interface to be used in conjunction with Docker. proxy is a bypass implementation that simply refers to the Overlay Graph Driver.

Layer0

layer0 is a graph driver that provides persistent storage for the writable layer of a container. It can be initialized to use any of the volume drivers to actually provide the persistence.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// ErrExist returned when driver is already registered
	ErrExist = errors.New("Driver already exists")
	// ErrNotSupported returned when operation is not supported
	ErrNotSupported = errors.New("Operation not supported")
	// ErrDriverNotFound returned when driver is not registered
	ErrDriverNotFound = errors.New("Driver implementation not found")
)

Functions

func Get

func Get(name string) (graphdriver.Driver, error)

Get returns an already registered driver

func New

func New(name, root string, options []string) (graphdriver.Driver, error)

New creates a new graphdriver interface

func Register

func Register(name string, initFunc InitFunc) error

Register registers a graphdriver

Types

type InitFunc

type InitFunc func(root string, options []string, uidMaps, gidMaps []idtools.IDMap) (graphdriver.Driver, error)

InitFunc is the initialization function every graphdriver should implement

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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