mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-29 00:30:05 +00:00
TUN-3689: Delete routes via cloudflared CLI
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io"
|
||||
"net"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"path"
|
||||
@@ -197,6 +198,7 @@ type Client interface {
|
||||
// Teamnet endpoints
|
||||
ListRoutes(filter *teamnet.Filter) ([]*teamnet.Route, error)
|
||||
AddRoute(newRoute teamnet.NewRoute) (teamnet.Route, error)
|
||||
DeleteRoute(network net.IPNet) error
|
||||
}
|
||||
|
||||
type RESTClient struct {
|
||||
|
Reference in New Issue
Block a user