persist

package
v0.0.0-...-04f2983 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RootFSName     = "fs"
	RootlessFSName = "rootlessfs"
)

Variables

View Source
var (
	// NewStoreFeature is an experimental feature
	NewStoreFeature = exp.Feature{
		Name:        "newstore",
		Description: "This is a new storage driver which reorganized disk data structures, it has to be an experimental feature since it breaks backward compatibility.",
		ExpRelease:  "2.0",
	}
)

Functions

func EnableMockTesting

func EnableMockTesting()

func GetDriver

func GetDriver() (persistapi.PersistDriver, error)

GetDriver returns new PersistDriver according to current needs. For example, a rootless FS driver is returned if the process is running as unprivileged process.

func GetDriverByName

func GetDriverByName(name string) (persistapi.PersistDriver, error)

GetDriver returns new PersistDriver according to driver name

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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