feat: move proxy settings page to deployment options (#8246)

* feat: Move workspace proxy page to deployment options

Workspace proxy settings page is now an admin feature

* WorkspaceProxy response extends region
This commit is contained in:
Steven Masley
2023-06-30 11:32:35 -04:00
committed by GitHub
parent 1e8cc2ca8d
commit f0bd258ff1
39 changed files with 645 additions and 342 deletions

32
coderd/apidoc/docs.go generated
View File

@ -1711,7 +1711,7 @@ const docTemplate = `{
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/codersdk.RegionsResponse"
"$ref": "#/definitions/codersdk.RegionsResponse-codersdk_Region"
}
}
}
@ -5109,7 +5109,7 @@ const docTemplate = `{
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/codersdk.WorkspaceProxy"
"$ref": "#/definitions/codersdk.RegionsResponse-codersdk_WorkspaceProxy"
}
}
}
@ -8648,7 +8648,7 @@ const docTemplate = `{
}
}
},
"codersdk.RegionsResponse": {
"codersdk.RegionsResponse-codersdk_Region": {
"type": "object",
"properties": {
"regions": {
@ -8659,6 +8659,17 @@ const docTemplate = `{
}
}
},
"codersdk.RegionsResponse-codersdk_WorkspaceProxy": {
"type": "object",
"properties": {
"regions": {
"type": "array",
"items": {
"$ref": "#/definitions/codersdk.WorkspaceProxy"
}
}
}
},
"codersdk.Replica": {
"type": "object",
"properties": {
@ -10144,7 +10155,10 @@ const docTemplate = `{
"display_name": {
"type": "string"
},
"icon": {
"healthy": {
"type": "boolean"
},
"icon_url": {
"type": "string"
},
"id": {
@ -10154,6 +10168,10 @@ const docTemplate = `{
"name": {
"type": "string"
},
"path_app_url": {
"description": "PathAppURL is the URL to the base path for path apps. Optional\nunless wildcard_hostname is set.\nE.g. https://us.example.com",
"type": "string"
},
"status": {
"description": "Status is the latest status check of the proxy. This will be empty for deleted\nproxies. This value can be used to determine if a workspace proxy is healthy\nand ready to use.",
"allOf": [
@ -10166,12 +10184,8 @@ const docTemplate = `{
"type": "string",
"format": "date-time"
},
"url": {
"description": "Full url including scheme of the proxy api url: https://us.example.com",
"type": "string"
},
"wildcard_hostname": {
"description": "WildcardHostname with the wildcard for subdomain based app hosting: *.us.example.com",
"description": "WildcardHostname is the wildcard hostname for subdomain apps.\nE.g. *.us.example.com\nE.g. *--suffix.au.example.com\nOptional. Does not need to be on the same domain as PathAppURL.",
"type": "string"
}
}