Discover Packages
github.com/bhaswanth88/libretto
util
package
Version:
v0.0.0-...-492d7f2
Opens a new window with list of versions in this module.
Published: Jul 3, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
ChooseRandomString: returns a random string from slice of string
CombineErrors converts all the errors from slice into a single 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.
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.