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.
Click to show internal directories.
Click to hide internal directories.