container_disk

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mounter

type Mounter struct {
	PodIsolationDetector isolation.PodIsolationDetector
}

func (*Mounter) Mount

func (m *Mounter) Mount(vmi *v1.VirtualMachineInstance, verify bool) error

Mount takes a vmi and mounts all container disks of the VMI, so that they are visible for the qemu process. Additionally qcow2 images are validated if "verify" is true. The validation happens with rlimits set, to avoid DOS.

func (*Mounter) Unmount

func (m *Mounter) Unmount(vmi *v1.VirtualMachineInstance) error

Unmount unmounts all container disks of a given VMI.

Jump to

Keyboard shortcuts

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