Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add writes the mount info of a direct volume into a filesystem path known to Kata Container.
func AddMountInfo ¶
Types ¶
type MountInfo ¶
type MountInfo struct { // The type of the volume (ie. block) VolumeType string `json:"volume-type"` // The device backing the volume. Device string `json:"device"` // The filesystem type to be mounted on the volume. FsType string `json:"fstype"` // Additional metadata to pass to the agent regarding this volume. Metadata map[string]string `json:"metadata,omitempty"` // Additional mount options. Options []string `json:"options,omitempty"` }
MountInfo contains the information needed by Kata to consume a host block device and mount it as a filesystem inside the guest VM.
func VolumeMountInfo ¶
VolumeMountInfo retrieves the mount info of a direct volume.
Click to show internal directories.
Click to hide internal directories.