Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct { // Image URL where to download from URL string // Checksum of the image, used to check integrity after downloading it Checksum string // Algorithm use to check the checksum ChecksumType string // Password to decrypt the virtual machine if it is encrypted. This is used by // VIX to be able to open the virtual machine Password string // contains filtered or unexported fields }
A virtual machine image definition
type VM ¶
type VM struct { // Which VMware VIX service provider to use. ie: fusion, workstation, server, etc Provider string // Whether to verify SSL or not for remote connections in ESXi VerifySSL bool // Name of the virtual machine Name string // Description for the virtual machine, it is created as an annotation in // VMware. Description string // Image to use during the creation of this virtual machine Image Image // Number of virtual cpus CPUs uint // Memory size in megabytes. Memory string // Switches to where this machine is going to be attach to VSwitches []string // Whether to upgrade the VM virtual hardware UpgradeVHardware bool // The timeout to wait for VMware Tools to be initialized inside the VM ToolsInitTimeout time.Duration // Whether to launch the VM with graphical environment LaunchGUI bool SharedFolders bool // Network adapters VNetworkAdapters []*govix.NetworkAdapter // CD/DVD drives CDDVDDrives []*govix.CDDVDDrive // VM IP address as reported by VIX IPAddress string }
Virtual machine configuration
type VSwitch ¶
type VSwitch struct { // Name for this switch Name string // Whether to allow machines in this switch to access outside of the nework // using Network Address Translations NAT bool // Whether to enable DHCP on this switch DHCP bool // CIDR block for the DHCP server Range string // Whether to attach the host machine to this switch HostAccess bool }
Click to show internal directories.
Click to hide internal directories.