Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractGoogleApiZone ¶
ExtractGoogleApiZone takes a Google API zone string and returns the zone.
func GetZoneSubnet ¶
GetZoneSubnet uses the selected zone to return the correct subnet.
GetZoneSubnet expects zone to be in the format `xxx-yyy-zzz`. `xxx-yyy` represents the region while `zzz` represents the subzone. For example, `us-central1-a` means the region is `us-central1` and the subzone is `a`.
func SelectZone ¶
SelectZone selects a random zone based on the specified testing client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.