provider

package
v6.0.0-...-dc8d2c1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() (vmconfigs.VMProvider, error)

func GetAll

func GetAll() []vmconfigs.VMProvider

func GetAllMachinesAndRootfulness

func GetAllMachinesAndRootfulness() (map[string]bool, error)

GetAllMachinesAndRootfulness collects all podman machine configs and returns a map in the format: { machineName: isRootful }

func GetByVMType

func GetByVMType(resolvedVMType define.VMType) (vmconfigs.VMProvider, error)

GetByVMType takes a VMType (presumably from ParseVMType) and returns the correlating VMProvider

func HasPermsForProvider

func HasPermsForProvider(provider define.VMType) bool

HasPermsForProvider returns whether the host operating system has the proper permissions to use the given provider

func InstalledProviders

func InstalledProviders() ([]define.VMType, error)

func IsInstalled

func IsInstalled(provider define.VMType) (bool, error)

func SupportedProviders

func SupportedProviders() []define.VMType

SupportedProviders returns the providers that are supported on the host operating system

Types

This section is empty.

Jump to

Keyboard shortcuts

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