Documentation
¶
Index ¶
- func Get() (vmconfigs.VMProvider, error)
- func GetAll() []vmconfigs.VMProvider
- func GetAllMachinesAndRootfulness() (map[string]bool, error)
- func GetByVMType(resolvedVMType define.VMType) (vmconfigs.VMProvider, error)
- func HasPermsForProvider(provider define.VMType) bool
- func InstalledProviders() ([]define.VMType, error)
- func IsInstalled(provider define.VMType) (bool, error)
- func SupportedProviders() []define.VMType
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 ¶
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 ¶
HasPermsForProvider returns whether the host operating system has the proper permissions to use the given provider
func InstalledProviders ¶
func SupportedProviders ¶
SupportedProviders returns the providers that are supported on the host operating system
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.