{"modulePath":"github.com/hyperhq/hypercli","version":"v1.10.16","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package graphtest\n\n## Functions\n\n```go\nfunc DriverTestCreateBase(t *testing.T, drivername string)\n```\nDriverTestCreateBase create a base driver and verify.\n\n```go\nfunc DriverTestCreateEmpty(t *testing.T, drivername string)\n```\nDriverTestCreateEmpty creates an new image and verifies it is empty and the right metadata\n\n```go\nfunc DriverTestCreateSnap(t *testing.T, drivername string)\n```\nDriverTestCreateSnap Create a driver and snap and verify.\n\n```go\nfunc GetDriver(t *testing.T, name string) graphdriver.Driver\n```\nGetDriver create a new driver with given name or return a existing driver with the name updating the reference count.\n\n```go\nfunc InitLoopbacks() error\n```\nInitLoopbacks ensures that the loopback devices are properly created within the system running the device mapper tests.\n\n```go\nfunc PutDriver(t *testing.T)\n```\nPutDriver removes the driver if it is no longer used and updates the reference count.\n\n## Types\n\n```go\ntype Driver struct {\n\tgraphdriver.Driver\n\t// contains filtered or unexported fields\n}\n```\nDriver 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.\n\n","path":"github.com/hyperhq/hypercli/daemon/graphdriver/graphtest","name":"graphtest","synopsis":"","isRedistributable":true}
