From 96ee24fbcddc45a03f80f2df7c5ff091e8787357 Mon Sep 17 00:00:00 2001 From: Lachlan Blake <1827284+Otimie@users.noreply.github.com> Date: Fri, 1 Sep 2023 07:40:47 +0000 Subject: [PATCH 1/2] Add include/exclude prefix parameters to list tunnels --- .changelog/1385.txt | 3 +++ tunnel.go | 10 ++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changelog/1385.txt diff --git a/.changelog/1385.txt b/.changelog/1385.txt new file mode 100644 index 00000000000..4fd8ade5056 --- /dev/null +++ b/.changelog/1385.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +tunnel: add support for `include_prefix`, `exclude_prefix` +``` diff --git a/tunnel.go b/tunnel.go index e61116ae136..2f3f6d7c90d 100644 --- a/tunnel.go +++ b/tunnel.go @@ -217,10 +217,12 @@ type TunnelConfigurationParams struct { } type TunnelListParams struct { - Name string `url:"name,omitempty"` - UUID string `url:"uuid,omitempty"` // the tunnel ID - IsDeleted *bool `url:"is_deleted,omitempty"` - ExistedAt *time.Time `url:"existed_at,omitempty"` + Name string `url:"name,omitempty"` + UUID string `url:"uuid,omitempty"` // the tunnel ID + IsDeleted *bool `url:"is_deleted,omitempty"` + ExistedAt *time.Time `url:"existed_at,omitempty"` + IncludePrefix string `url:"include_prefix,omitempty"` + ExcludePrefix string `url:"exclude_prefix,omitempty"` ResultInfo } From a2538ee9f68df13c9fb281af2d8cd686a90f774d Mon Sep 17 00:00:00 2001 From: Jacob Bednarz Date: Tue, 5 Sep 2023 13:11:06 +1000 Subject: [PATCH 2/2] Update 1385.txt --- .changelog/1385.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changelog/1385.txt b/.changelog/1385.txt index 4fd8ade5056..64d8b965e04 100644 --- a/.changelog/1385.txt +++ b/.changelog/1385.txt @@ -1,3 +1,3 @@ ```release-note:enhancement -tunnel: add support for `include_prefix`, `exclude_prefix` +tunnel: add support for `include_prefix`, `exclude_prefix` in list operations ```