diff --git a/deviceset.go b/deviceset.go new file mode 100644 index 0000000000..01bdba411f --- /dev/null +++ b/deviceset.go @@ -0,0 +1,11 @@ +package docker + +type DeviceSet interface { + AddDevice(hash, baseHash string) error + SetInitialized(hash string) error + DeactivateDevice(hash string) error + RemoveDevice(hash string) error + MountDevice(hash, path string) error + HasDevice(hash string) bool + HasInitializedDevice(hash string) bool +}