2013-09-04 05:44:11 -04:00
|
|
|
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
|
2013-10-07 08:06:24 -04:00
|
|
|
UnmountDevice(hash, path string, deactivate bool) error
|
2013-09-04 05:44:11 -04:00
|
|
|
HasDevice(hash string) bool
|
|
|
|
HasInitializedDevice(hash string) bool
|
2013-09-19 14:38:06 -04:00
|
|
|
HasActivatedDevice(hash string) bool
|
2013-09-09 07:47:29 -04:00
|
|
|
Shutdown() error
|
2013-09-04 05:44:11 -04:00
|
|
|
}
|