Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
22
def
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
28
def
persist_config(config):
Callers
6
__init__
Method · 0.90
get_management_token
Method · 0.90
get_tail_token
Method · 0.90
cert_path
Function · 0.90
cert_path
Function · 0.90
cleanup
Function · 0.85
Calls
1
get_env
Function · 0.85
Tested by
1
cert_path
Function · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…