File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
enterprise/coderd/portsharing Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 6
6
WorkspaceAgentPortSharingLevelPublic WorkspacePortSharingLevel = 2
7
7
)
8
8
9
- type WorkspacePortSharingLevel int
10
- type UpdateWorkspaceAgentPortSharingLevelRequest struct {
11
- AgentName string `json:"agent_name"`
12
- Port int32 `json:"port"`
13
- ShareLevel int32 `json:"share_level"`
14
- }
9
+ type (
10
+ WorkspacePortSharingLevel int
11
+ UpdateWorkspaceAgentPortSharingLevelRequest struct {
12
+ AgentName string `json:"agent_name"`
13
+ Port int32 `json:"port"`
14
+ ShareLevel int32 `json:"share_level"`
15
+ }
16
+ )
Original file line number Diff line number Diff line change 1
1
package portsharing
2
2
3
- type EnterprisePortSharer struct {
4
- }
3
+ type EnterprisePortSharer struct {}
5
4
6
5
func NewEnterprisePortSharer () * EnterprisePortSharer {
7
6
return & EnterprisePortSharer {}
You can’t perform that action at this time.
0 commit comments