Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

googlecloud

v1.51.4
github.com/lfch/grpc/internal/googlecloud

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

2 matches

Top ↑

Package googlecloud contains internal helpful functions for google cloud.

Functions

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.

Dependency graph