utils

package
v0.0.0-...-97cf01e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProjectFromGCloud

func GetProjectFromGCloud() (string, error)

GetProjectFromGCloud returns the default project as configured with gcloud.

func GetZoneAndNameFromIGURL

func GetZoneAndNameFromIGURL(igURL string) (string, string, error)

GetZoneAndNameFromIGURL returns the zone and name of the instance group from a GCP instance group URL.

func GetZoneAndNameFromInstanceURL

func GetZoneAndNameFromInstanceURL(instanceURL string) (string, string, error)

GetZoneAndNameFromInstanceURL returns the zone and name of the instance from a GCP instance URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL