gce

package
v0.0.0-...-1d9613f Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHostAlias

func GetHostAlias() (string, error)

GetHostAlias returns the host alias from GCE

func GetHostname

func GetHostname() (string, error)

GetHostname returns the hostname querying GCE Metadata api

func GetTags

func GetTags() ([]string, error)

GetTags gets the tags from the GCE api

func HostnameProvider

func HostnameProvider(hostName string) (string, error)

HostnameProvider GCE implementation of the HostnameProvider

Types

This section is empty.

Jump to

Keyboard shortcuts

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