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

Function cleanup

component-tests/setup.py:138–145  ·  view source on GitHub ↗

Reads the persisted configuration that was created previously. Deletes the resources that were created there.

()

Source from the content-addressed store, hash-verified

136
137
138def cleanup():
139 """
140 Reads the persisted configuration that was created previously.
141 Deletes the resources that were created there.
142 """
143 config = get_config_from_file()
144 delete_tunnel(config)
145 delete_dns(config, config["ingress"][0]["hostname"])
146
147
148if __name__ == '__main__':

Callers 1

setup.pyFile · 0.85

Calls 3

get_config_from_fileFunction · 0.85
delete_tunnelFunction · 0.85
delete_dnsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…