env

package
v0.0.0-...-cd06882 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultSSHConfigPathOnCloudBot = filepath.Join(defaultCloudBotSSHDir, "config")

Functions

func GetBuildBucketID

func GetBuildBucketID() string

GetBuildBucketID retrieves the build bucket ID.

func GetCloudbotsCACertificate

func GetCloudbotsCACertificate() string

GetCloudbotsCACertificate retrieves the cloudbots CA certificate file path.

func GetCloudbotsLabDomain

func GetCloudbotsLabDomain() string

GetCloudbotsLabDomain retrieves the cloudbots lab domain.

func GetCloudbotsProxyAddress

func GetCloudbotsProxyAddress() string

GetCloudbotsProxyAddress retrieves the cloudbots proxy address.

func GetSwarmingBotID

func GetSwarmingBotID() string

GetSwarmingBotID retrieves the swarming bot ID.

func GetSwarmingTaskID

func GetSwarmingTaskID() string

GetSwarmingTaskID retrieves the swarming task ID.

func IsCloudBot

func IsCloudBot() bool

IsCloudBot returns whether the process is running on cloud bot VM.

func RunningOnBot

func RunningOnBot() bool

RunningOnBot checks whether or not it is running on a bot, by way of checking the USER env var.

Types

This section is empty.

Jump to

Keyboard shortcuts

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