mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: add flag to disable all direct connections (#7936)
This commit is contained in:
9
coderd/apidoc/docs.go
generated
9
coderd/apidoc/docs.go
generated
@ -5784,6 +5784,9 @@ const docTemplate = `{
|
||||
"directory": {
|
||||
"type": "string"
|
||||
},
|
||||
"disable_direct_connections": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"environment_variables": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
@ -7065,6 +7068,9 @@ const docTemplate = `{
|
||||
"codersdk.DERPConfig": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"block_direct": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
@ -9351,6 +9357,9 @@ const docTemplate = `{
|
||||
"properties": {
|
||||
"derp_map": {
|
||||
"$ref": "#/definitions/tailcfg.DERPMap"
|
||||
},
|
||||
"disable_direct_connections": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
9
coderd/apidoc/swagger.json
generated
9
coderd/apidoc/swagger.json
generated
@ -5095,6 +5095,9 @@
|
||||
"directory": {
|
||||
"type": "string"
|
||||
},
|
||||
"disable_direct_connections": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"environment_variables": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
@ -6294,6 +6297,9 @@
|
||||
"codersdk.DERPConfig": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"block_direct": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
@ -8441,6 +8447,9 @@
|
||||
"properties": {
|
||||
"derp_map": {
|
||||
"$ref": "#/definitions/tailcfg.DERPMap"
|
||||
},
|
||||
"disable_direct_connections": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user