Documentation ¶ Index ¶ func GetVMIPs(vm lvm.VirtualMachine, options ssh.Options) ([]net.IP, error) func Random(min, max int) int Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetVMIPs ¶ func GetVMIPs(vm lvm.VirtualMachine, options ssh.Options) ([]net.IP, error) GetVMIPs returns the IPs associated with the given VM. If the IPs are present in options, they will be returned. Otherwise, an API call will be made to get the list of IPs. An error is returned if the API call fails or returns nothing. func Random ¶ func Random(min, max int) int Random generates a random number in between min and max If min equals max then min is returned. If max is less than min then the function panics. Types ¶ This section is empty. Source Files ¶ View all Source files util.go Click to show internal directories. Click to hide internal directories.