api
import "github.com/analog-substance/carbon/pkg/providers/multipass/api"
Index
- func AppPath() string
- func RestartVM(id string) error
- func SleepVM(id string) error
- func StartVM(id string) error
- type MultipassListOutput
- type MultipassVM
func AppPath
func AppPath() string
func RestartVM
func RestartVM(id string) error
func SleepVM
func SleepVM(id string) error
func StartVM
func StartVM(id string) error
type MultipassListOutput
type MultipassListOutput struct {
List []MultipassVM `json:"list"`
}
type MultipassVM
type MultipassVM struct {
Ipv4 []string `json:"ipv4"`
Name string `json:"name"`
Release string `json:"release"`
State string `json:"state"`
}
func ListVMs
func ListVMs() []MultipassVM