googlecloud

package
v1.58.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package googlecloud contains internal helpful functions for google cloud.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnGCE

func OnGCE() bool

OnGCE returns whether the client is running on GCE.

It provides similar functionality as metadata.OnGCE from the cloud library package. We keep this to avoid depending on the cloud library module.

Types

This section is empty.

Jump to

Keyboard shortcuts

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