Documentation ¶
Overview ¶
Package random contains different random generators.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomString ¶
RandomString picks a random element in the slice of string.
func UniqueId ¶
func UniqueId() string
UniqueId returns a unique (ish) id we can attach to resources and tfstate files so they don't conflict with each other Uses base 62 to generate a 6 character string that's unlikely to collide with the handful of tests we run in parallel. Based on code here: http://stackoverflow.com/a/9543797/483528
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.