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

Function persist_origin_cert

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

Source from the content-addressed store, hash-verified

32
33
34def persist_origin_cert(config):
35 origincert = get_env("COMPONENT_TESTS_ORIGINCERT")
36 path = config["origincert"]
37 with open(path, 'w') as outfile:
38 outfile.write(origincert)
39 return path
40
41
42@retry(stop_max_attempt_number=MAX_RETRIES, wait_fixed=BACKOFF_SECS * 1000)

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…