Skip to content

Commit

Permalink
add missing web_proxy_extender_route_patterns and group_id to Trusted…
Browse files Browse the repository at this point in the history
…Client struct
  • Loading branch information
mickaelso committed Jul 5, 2024
1 parent 38f6f9e commit 0e32b9c
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions api/userstore/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,20 @@ type FilterUser struct {

// TrustedClient definition
type TrustedClient struct {
ID string `json:"id,omitempty"`
Secret string `json:"secret,omitempty"`
Name string `json:"name,omitempty"`
WebProxyAddress string `json:"web_proxy_address,omitempty"`
Registered bool `json:"registered,omitempty"`
Enabled bool `json:"enabled,omitempty"`
Type ClientType `json:"type,omitempty"`
Permissions []string `json:"permissions,omitempty"`
ExtenderAddress []string `json:"extender_address,omitempty"`
Subnets []string `json:"subnets,omitempty"`
RoutingPrefix string `json:"routing_prefix,omitempty"`
AccessGroupId string `json:"access_group_id,omitempty"`
ID string `json:"id,omitempty"`
Secret string `json:"secret,omitempty"`
Name string `json:"name,omitempty"`
WebProxyAddress string `json:"web_proxy_address,omitempty"`
Registered bool `json:"registered,omitempty"`
Enabled bool `json:"enabled,omitempty"`
Type ClientType `json:"type,omitempty"`
Permissions []string `json:"permissions,omitempty"`
WebProxyExtenderRoutePatterns []string `json:"web_proxy_extender_route_patterns,omitempty"`
ExtenderAddress []string `json:"extender_address,omitempty"`
Subnets []string `json:"subnets,omitempty"`
RoutingPrefix string `json:"routing_prefix,omitempty"`
AccessGroupId string `json:"access_group_id,omitempty"`
GroupId string `json:"group_id,omitempty"`
}

// Extender creates new trusted client
Expand Down

0 comments on commit 0e32b9c

Please sign in to comment.