NewSecurityGroupName provides a random name prefixed with INTEGRATION-SEC-GROUP. If an infix is provided, it is placed between INTEGRATION-SEC-GROUP and the random string.
(infix ...string)
| 102 | // NewSecurityGroupName provides a random name prefixed with INTEGRATION-SEC-GROUP. If an infix is provided, it |
| 103 | // is placed between INTEGRATION-SEC-GROUP and the random string. |
| 104 | func NewSecurityGroupName(infix ...string) string { |
| 105 | if len(infix) > 0 { |
| 106 | return PrefixedRandomName("INTEGRATION-SEC-GROUP-" + infix[0]) |
| 107 | } |
| 108 | |
| 109 | return PrefixedRandomName("INTEGRATION-SEC-GROUP") |
| 110 | } |
| 111 | |
| 112 | // NewSpaceName provides a random name prefixed with INTEGRATION-SPACE |
| 113 | func NewSpaceName() string { |
no test coverage detected