Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface {
GetProviderName() string
GetConfig() *config.Config
// ssh-keys
GetInstalledSshKeys() ([]SshKey, error)
InstallNewSshKey(name, key string) (string, error)
UpdateSshKey(id, name, key string) (string, error)
// machines
GetAllVMs() ([]VM, error)
CreateVM(name, os, size, region, sshkey string) (string, error)
StartVM(id string) error
DestroyVM(id string) error
// for request rate limiting
Sleep()
}
Click to show internal directories.
Click to hide internal directories.