Skip to content

Commit

Permalink
Merge pull request #1385 from Otimie/master
Browse files Browse the repository at this point in the history
Add include/exclude prefix parameters to list tunnels
  • Loading branch information
jacobbednarz authored Sep 5, 2023
2 parents cc5f098 + 82eaeb0 commit 0f4e237
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` in list operations
```
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 0f4e237

Please sign in to comment.