Versions in this module Expand all Collapse all v0 v0.2.1 Jul 6, 2015 Changes in this version + func AttachFiles(containerId, devPrefix, fromFile, toDir, rootPath, perm, uid, gid string) error + func CreateNewDevice(containerId, devPrefix, rootPath string) error + func CreatePool(dm *DeviceMapper) error + func CreateVolume(poolName, volName, dev_id string, size int, restore bool) error + func DMCleanup(dm *DeviceMapper) error + func DeleteVolume(dm *DeviceMapper, dev_id int) error + func MountContainerToSharedDir(containerId, sharedDir, devPrefix string) (string, error) + func ProbeFsType(device string) (string, error) + type DeviceMapper struct + DataLoopFile string + Datafile string + MetadataLoopFile string + Metadatafile string + PoolName string + Size int