Documentation ¶
Index ¶
- Constants
- func CreateVFSVolume(podId, shortName string) (string, error)
- func FsInjectFile(src io.Reader, containerId, target, baseDir string, perm, uid, gid int) error
- func MountVFSVolume(src, sharedDir string) (string, error)
- func UmountVFSVolume(vol, sharedDir string) error
- func WriteFile(src io.Reader, targetFile string, permFile, uid, gid int) error
Constants ¶
View Source
const ( DEFAULT_DM_POOL string = "hyper-volume-pool" DEFAULT_DM_POOL_SIZE int = 20971520 * 512 DEFAULT_DM_DATA_LOOP string = "/dev/loop6" DEFAULT_DM_META_LOOP string = "/dev/loop7" DEFAULT_DM_VOL_SIZE int = 2 * 1024 * 1024 * 1024 DEFAULT_VOL_FS = "ext4" DEFAULT_VOL_MKFS = "mkfs.ext4" DEFAULT_VOL_CACHE = "writeback" )
Variables ¶
This section is empty.
Functions ¶
func CreateVFSVolume ¶
func FsInjectFile ¶
func MountVFSVolume ¶
func UmountVFSVolume ¶ added in v0.6.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.