Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProjectFQN ¶
ProjectFQN returns the fully-qualified name for the given project id.
func RegionFromZone ¶
RegionFromZone returns the region name from a given zone according to the GCP Naming Convention. If the provided zone name is invalid or empty, the function returns an empty string.
func ResourceNameFromURL ¶
ResourceNameFromURL returns the name of a resource from the specified URL.
See Resource Names for more details.
func UnqualifyRegion ¶
UnqualifyRegion returns the unqualified name for a region.
func UnqualifyZone ¶
UnqualifyZone returns the unqualified name for a zone.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.