Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
menshen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leap
menshen
Commits
8abc16ad
Commit
8abc16ad
authored
2 months ago
by
cyberta
Committed by
cyberta
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
update models
parent
7c39ed0d
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!72
gateway selector
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/models/resources.go
+2
-2
2 additions, 2 deletions
pkg/models/resources.go
with
2 additions
and
2 deletions
pkg/models/resources.go
+
2
−
2
View file @
8abc16ad
...
...
@@ -45,7 +45,7 @@ type Gateway struct {
// An experimental gateway flags any gateway that, for whatever reason,
// is not deemed stable. The expectation is that clients have to opt-in to
// experimental gateways (and bridges too).
Experimental
bool
`json:"experimental"`
Experimental
bool
`json:"experimental
,omitempty
"`
// Not used now - we could potentially flag gateways that are planned
// to undergo maintenance mode some time in advance.
// We can also automatically flag as not healthy gateways that appear
...
...
@@ -68,7 +68,7 @@ type Gateway struct {
Overloaded
bool
`json:"overloaded"`
// The (primary) port this gateway is listening on.
Port
int
`json:"port"`
// TCP, UDP
or
KCP. This was called "protocol" in previous versions of the API.
// TCP, UDP
,
KCP
or Quic
. This was called "protocol" in previous versions of the API.
Transport
string
`json:"transport"`
// Type is the type of gateway. The only valid type as of 2023 is openvpn.
Type
string
`json:"type"`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment