microvm

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProviderNames

func GetProviderNames() []string

func New

func New(name string,
	cfg *config.Config,
	volumeCaps VolumeCapabilities,
	networkSvc ports.NetworkService,
	diskSvc ports.DiskService,
	fs afero.Fs,
) (ports.MicroVMService, error)

New will create a new instance of a microvm service from the supplied name.

func NewFromConfig

func NewFromConfig(cfg *config.Config,
	volumeCaps VolumeCapabilities,
	networkSvc ports.NetworkService,
	diskSvc ports.DiskService,
	fs afero.Fs,
) (map[string]ports.MicroVMService, error)

NewFromConfig will create instances of the vm providers based on the config.

Types

type VolumeCapabilities added in v0.17.0

type VolumeCapabilities models.Capabilities

VolumeCapabilities are the volume modes the host accepts, as the startup probes found them. Every provider advertises them.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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