feat: add --derp-only flag to wsproxy (#8850)

This commit is contained in:
Dean Sheather
2023-08-02 07:35:06 -07:00
committed by GitHub
parent d6e9870209
commit cd1e088f7c
22 changed files with 234 additions and 40 deletions

7
coderd/apidoc/docs.go generated
View File

@ -10926,6 +10926,9 @@ const docTemplate = `{
"derp_enabled": {
"type": "boolean"
},
"derp_only": {
"type": "boolean"
},
"display_name": {
"type": "string"
},
@ -11654,6 +11657,10 @@ const docTemplate = `{
"description": "DerpEnabled indicates whether the proxy should be included in the DERP\nmap or not.",
"type": "boolean"
},
"derp_only": {
"description": "DerpOnly indicates whether the proxy should only be included in the DERP\nmap and should not be used for serving apps.",
"type": "boolean"
},
"hostname": {
"description": "ReplicaHostname is the OS hostname of the machine that the proxy is running\non. This is only used for tracking purposes in the replicas table.",
"type": "string"