GRPC Core  18.0.0
Namespaces | Functions
check_gcp_environment.h File Reference

Go to the source code of this file.

Namespaces

 grpc_core
 Round Robin Policy.
 
 grpc_core::internal
 

Functions

char * grpc_core::internal::read_bios_file (const char *bios_file)
 This method is a helper function that reads a file containing system bios data. More...
 
bool grpc_core::internal::check_bios_data (const char *bios_data)
 This method checks if system BIOS data contains Google-specific phrases. More...
 
bool grpc_alts_is_running_on_gcp ()
 This method checks if a VM (Windows or Linux) is running within Google compute Engine (GCE) or not. More...
 

Function Documentation

◆ grpc_alts_is_running_on_gcp()

bool grpc_alts_is_running_on_gcp ( )

This method checks if a VM (Windows or Linux) is running within Google compute Engine (GCE) or not.

It returns true if the VM is running in GCE and false otherwise.