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

Function persist_config

component-tests/setup.py:28–31  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

26
27
28def persist_config(config):
29 config_path = get_env("COMPONENT_TESTS_CONFIG")
30 with open(config_path, 'w') as outfile:
31 yaml.safe_dump(config, outfile)
32
33
34def persist_origin_cert(config):

Callers 1

createFunction · 0.85

Calls 1

get_envFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…