cloudflared-mirror/cfapi
João "Pisco" Fernandes 5b5859ddac TUN-7813: Improve tunnel delete command to use cascade delete
## Summary
Previously the force flag in the tunnel delete command was only explicitly deleting the
connections of a tunnel. Therefore, we are changing it to use the cascade query parameter
supported by the API. That parameter will delegate to the server the deletion of the tunnel
dependencies implicitly instead of the client doing it explicitly. This means that not only
the connections will get deleted, but also the tunnel routes, ensuring that no dependencies
are left without a non-deleted tunnel.
2023-10-22 15:09:33 +02:00
..
base_client.go TUN-6935: Cloudflared should use APIToken instead of serviceKey 2022-11-16 17:07:16 +00:00
client.go TUN-7813: Improve tunnel delete command to use cascade delete 2023-10-22 15:09:33 +02:00
hostname.go TUN-5482: Refactor tunnelstore client related packages for more coherent package 2021-12-28 17:17:49 +00:00
hostname_test.go TUN-5482: Refactor tunnelstore client related packages for more coherent package 2021-12-28 17:17:49 +00:00
ip_route.go TUN-7787: Refactor cloudflared to use new route endpoints based on route IDs 2023-10-22 15:09:33 +02:00
ip_route_filter.go TUN-7787: Refactor cloudflared to use new route endpoints based on route IDs 2023-10-22 15:09:33 +02:00
ip_route_test.go TUN-7787: Refactor cloudflared to use new route endpoints based on route IDs 2023-10-22 15:09:33 +02:00
tunnel.go TUN-7813: Improve tunnel delete command to use cascade delete 2023-10-22 15:09:33 +02:00
tunnel_filter.go TUN-5482: Refactor tunnelstore client related packages for more coherent package 2021-12-28 17:17:49 +00:00
tunnel_test.go TUN-7590: Remove usages of ioutil 2023-10-22 15:09:33 +02:00
virtual_network.go ZTC-446: Allow to force delete a vnet 2023-01-20 11:52:56 +00:00
virtual_network_filter.go TUN-5482: Refactor tunnelstore client related packages for more coherent package 2021-12-28 17:17:49 +00:00
virtual_network_test.go TUN-5482: Refactor tunnelstore client related packages for more coherent package 2021-12-28 17:17:49 +00:00