Documentation ¶
Index ¶
- func DriverTestCreateBase(t *testing.T, drivername string)
- func DriverTestCreateEmpty(t *testing.T, drivername string)
- func DriverTestCreateSnap(t *testing.T, drivername string)
- func GetDriver(t *testing.T, name string) graphdriver.Driver
- func InitLoopbacks() error
- func PutDriver(t *testing.T)
- type Driver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DriverTestCreateBase ¶
DriverTestCreateBase create a base driver and verify.
func DriverTestCreateEmpty ¶
DriverTestCreateEmpty creates an new image and verifies it is empty and the right metadata
func DriverTestCreateSnap ¶
DriverTestCreateSnap Create a driver and snap and verify.
func GetDriver ¶
func GetDriver(t *testing.T, name string) graphdriver.Driver
GetDriver create a new driver with given name or return a existing driver with the name updating the reference count.
func InitLoopbacks ¶ added in v1.4.0
func InitLoopbacks() error
InitLoopbacks ensures that the loopback devices are properly created within the system running the device mapper tests.
Types ¶
type Driver ¶
type Driver struct { graphdriver.Driver // contains filtered or unexported fields }
Driver conforms to graphdriver.Driver interface and contains information such as root and reference count of the number of clients using it. This helps in testing drivers added into the framework.
Click to show internal directories.
Click to hide internal directories.