DriverBenchDeepLayerDiff benchmarks calls to diff on top of a given number of layers.
DriverBenchDeepLayerRead benchmarks calls to read a file under a given number of layers.
DriverBenchDiffApplyN benchmarks calls to diff and apply together
DriverBenchDiffBase benchmarks calls to diff on a root layer
DriverBenchDiffN benchmarks calls to diff on two layers with a provided number of files on the lower and upper layers.
DriverBenchExists benchmarks calls to exist
DriverBenchGetEmpty benchmarks calls to get on an empty layer
DriverTestChanges tests computed changes on a layer matches changes made
DriverTestCreateBase create a base driver and verify.
DriverTestCreateEmpty creates a new image and verifies it is empty and the right metadata
DriverTestCreateSnap Create a driver and snap and verify.
DriverTestDeepLayerRead reads a file from a lower layer under a given number of layers
DriverTestDiffApply tests diffing and applying produces the same layer
DriverTestSetQuota Create a driver and test setting quota.
GetDriver create a new driver with given name or return an existing driver with the name updating the reference count.
PutDriver removes the driver if it is no longer used and updates the reference count.
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.