virtiofs

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *config.Config,
	fs afero.Fs,
) ports.VirtioFSService

New will create a new instance of the VirtioFS.

Types

type State

type State interface {
	Root() string
	VirtioPID() (int, error)
	VirtioFSPIDPath() string
	SetVirtioFSPid(pid int) error

	VirtioFSPath() string
	VirtioFSStdoutPath() string
	VirtioFSStderrPath() string
}

func NewState

func NewState(vmid models.VMID, stateDir string, fs afero.Fs) State

Jump to

Keyboard shortcuts

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