Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Amazon ¶
type Amazon struct { VMSize string Location string ApiKeyID string ApiAccessKey string AmiName string AmiOwnerId string SSHKeyName string PrivateKey string PublicKey string ServerCount int TCPOpenPorts []int UDPOpenPorts []int ServerNames []string UserData []byte // contains filtered or unexported fields }
func (*Amazon) DeployVMs ¶
func (amz *Amazon) DeployVMs() ([]CloudServer, error)
type Centurylink ¶
type Centurylink struct { CPU int MemoryGB int PrivateSSHKey string PublicSSHKey string APIUsername string APIPassword string TCPOpenPorts []int GroupID string ServerTemplate string ServerCount int ServerNames []string // contains filtered or unexported fields }
func NewCenturylink ¶
func NewCenturylink() *Centurylink
func (Centurylink) DeployVMs ¶
func (clc Centurylink) DeployVMs() ([]CloudServer, error)
type CloudServer ¶
type Deploy ¶
type Deploy interface {
DeployVMs() ([]CloudServer, error)
}
type DigitalOcean ¶
type DigitalOcean struct { Location string SSHKeyName string APIToken string ServerCount int PrivateKey string PublicKey string UserData string VMSize string ImageName string ServerNames []string // contains filtered or unexported fields }
func (*DigitalOcean) DeployVMs ¶
func (do *DigitalOcean) DeployVMs() ([]CloudServer, error)
Click to show internal directories.
Click to hide internal directories.