virt_chroot

package
v0.59.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMDEVType added in v0.45.0

func CreateMDEVType(mdevType string, parentID string, uuid string) *exec.Cmd

func ExecChroot

func ExecChroot(args ...string) *exec.Cmd

For general purposes

func GetChrootBinaryPath

func GetChrootBinaryPath() string

func GetChrootMountNamespace

func GetChrootMountNamespace() string

func MountChroot

func MountChroot(sourcePath, targetPath *safepath.Path, ro bool) *exec.Cmd

func RemoveMDEVType added in v0.45.0

func RemoveMDEVType(mdevUUID string) *exec.Cmd

func UmountChroot

func UmountChroot(path *safepath.Path) *exec.Cmd

func UnsafeMountChroot deprecated added in v0.49.1

func UnsafeMountChroot(sourcePath, targetPath string, ro bool) *exec.Cmd

Deprecated: UnsafeMountChroot is used to connect to code which needs to be refactored to handle mounts securely.

func UnsafeUmountChroot deprecated added in v0.49.1

func UnsafeUmountChroot(path string) *exec.Cmd

Deprecated: UnsafeUmountChroot is used to connect to code which needs to be refactored to handle mounts securely.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL