github.com/containers/podman/v4@v4.9.4/pkg/machine/define/machine_artifact.go (about)

     1  package define
     2  
     3  type Artifact int64
     4  
     5  const (
     6  	Qemu Artifact = iota
     7  	HyperV
     8  	AppleHV
     9  	None
    10  )
    11  
    12  func (a Artifact) String() string {
    13  	switch a {
    14  	case HyperV:
    15  		return "hyperv"
    16  	case AppleHV:
    17  		return "applehv"
    18  	}
    19  	return "qemu"
    20  }