Documentation ¶
Index ¶
- type Iaas
- type Machine
- type Provider
- type ProviderOpts
- func IsReused(reused bool) ProviderOpts
- func WithClientPath(path string) ProviderOpts
- func WithDiskSize(size int) ProviderOpts
- func WithKeyID(keyID int) ProviderOpts
- func WithName(name string) ProviderOpts
- func WithRegion(region string) ProviderOpts
- func WithSO(so string) ProviderOpts
- func WithSize(size string) ProviderOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Machine ¶
type Machine struct { ID string `json:"id"` IP string `json:"ip"` Port int `json:"port"` Image string `json:"image"` Name string `json:"name"` Kind string `json:"kind"` SSHKeysID []int `json:"ssh_keys_id"` CertsDir string `json:"certs_dir"` }
Machine defines a generic machine
type Provider ¶
type Provider struct { Client libmachine.API Host *host.Host Name string ClientPath string Region string Size string ImageSlug string KeyID int DiskSize int Reused bool }
Provider for gofn
type ProviderOpts ¶
ProviderOpts override defaults
Click to show internal directories.
Click to hide internal directories.