This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

api

    import "github.com/analog-substance/carbon/pkg/providers/multipass/api"
    

    Index

    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