mirror of
https://github.com/containers/podman.git
synced 2025-05-21 00:56:36 +08:00

Podman machine list now supports a new option, --all-providers, which lists all machines from all providers. Signed-off-by: Ashley Cui <acui@redhat.com>
15 lines
290 B
Go
15 lines
290 B
Go
package e2e_test
|
|
|
|
import "github.com/containers/podman/v5/pkg/machine/define"
|
|
|
|
const podmanBinary = "../../../bin/darwin/podman"
|
|
|
|
func getOtherProvider() string {
|
|
if isVmtype(define.AppleHvVirt) {
|
|
return "libkrun"
|
|
} else if isVmtype(define.LibKrun) {
|
|
return "applehv"
|
|
}
|
|
return ""
|
|
}
|