cmd

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2018 License: Apache-2.0 Imports: 2 Imported by: 2

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"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL