Skip to content

Commit

Permalink
Add include/exclude prefix parameters to list tunnels
Browse files Browse the repository at this point in the history
  • Loading branch information
Otimie committed Sep 1, 2023
1 parent 0dc1c0d commit 96ee24f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .changelog/1385.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
tunnel: add support for `include_prefix`, `exclude_prefix`
```
10 changes: 6 additions & 4 deletions tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 96ee24f

Please sign in to comment.