Crate cd_env

Source

Structs§

CdEnvironment

Enums§

CdProvider
List of supported CD providers.

Functions§

detect_provider
Detects the CD provider by checking for the existence of environment variables specific to each provider. Returns Unknown if no provider is detected.
get_environment
Returns metadata and information about the current deploy environment and CD provider.
is_cd
Returns true if in a CD environment by checking for the existence of a deploy provider environment variable.
opt_var
var