package
Version:
v0.0.0-...-282e76a
Opens a new window with list of versions in this module.
Published: Mar 15, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
- 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
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"
)
Source Files
¶
Directories
¶
|
|
|
|
|
|
graphdriver
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.