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/virtualbox/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 VBoxVM

    type VBoxVM struct {
        Name               string
        ID                 string
        State              string
        GuestOS            string
        UpTime             time.Duration
        PrivateIPAddresses []string
        // contains filtered or unexported fields
    }
    

    func ListVMs

    func ListVMs() []VBoxVM