package
1.57.1
Repository: https://github.com/containers/storage.git
Documentation: pkg.go.dev

# Functions

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.
DriverTestCreateFromTemplate Create a driver and template of a snap and verifies its contents.
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.
DriverTestEcho tests that we can diff a layer correctly, focusing on trouble spots that NaiveDiff doesn't have.
DriverTestListLayers makes sure ListLayers() returns what we expected, nothing more, nothing less.
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.
No description provided by the author

# Structs

Driver conforms to graphdriver.Driver interface and contains information such as root and reference count of the number of clients using it.