Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOutboundIP ¶
func GetOutboundIP() string
Get preferred outbound ip of this machine https://stackoverflow.com/questions/23558425/how-do-i-get-the-local-ip-address-in-go
Types ¶
type TemplateYAML ¶
type TemplateYAML struct {
Name string `yaml:"name"`
APIURL string `yaml:"apiURL"`
APISecret string `yaml:"apiSecret"`
APIKey string `yaml:"apiKey"`
HostIP string `yaml:"hostIP"`
TemplateFile string `yaml:"templateFile"`
OSType string `yaml:"osType"`
Zone string `yaml:"zone"`
Format string `yaml:"format"`
HyperVisor string `yaml:"hypervisor"`
DisplayText string `yaml:"displayText"`
IsPublic bool `yaml:"isPublic"`
IsFeatured bool `yaml:"isFeatured"`
PasswordEnabled bool `yaml:"passwordEnabled"`
IsDynamic bool `yaml:"isDynamic"`
IsExtractable bool `yaml:"isExtractable"`
IsRouting bool `yaml:"isRouting"`
RequiresHVM bool `yaml:"requiresHVM"`
SSHKeyEnabled bool `yaml:"sshKeyEnabled"`
ProjectID string `yaml:"projectID,omitempty"`
TemplateTag string `yaml:"templateTag"`
}
Click to show internal directories.
Click to hide internal directories.