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

Function get_config_from_file

component-tests/setup.py:22–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21
22def get_config_from_file():
23 config_path = get_env("COMPONENT_TESTS_CONFIG")
24 with open(config_path, 'r') as infile:
25 return yaml.safe_load(infile)
26
27
28def persist_config(config):

Callers 6

__init__Method · 0.90
get_management_tokenMethod · 0.90
get_tail_tokenMethod · 0.90
cert_pathFunction · 0.90
cert_pathFunction · 0.90
cleanupFunction · 0.85

Calls 1

get_envFunction · 0.85

Tested by 1

cert_pathFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…