MCPcopy Create free account
hub / github.com/cloudflare/cloudflared / get_env

Function get_env

component-tests/setup.py:104–108  ·  view source on GitHub ↗
(env_name)

Source from the content-addressed store, hash-verified

102
103
104def get_env(env_name):
105 val = os.getenv(env_name)
106 if val is None:
107 raise Exception(f"{env_name} is not set")
108 return val
109
110
111def create():

Callers 6

get_config_from_envFunction · 0.85
get_config_from_fileFunction · 0.85
persist_configFunction · 0.85
persist_origin_certFunction · 0.85
create_dnsFunction · 0.85
delete_dnsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…