feat(healthcheck): add accessurl check (#7193)

This commit is contained in:
Colin Adler
2023-04-18 15:52:00 -05:00
committed by GitHub
parent fa5387ce07
commit 57c4de4647
10 changed files with 334 additions and 50 deletions

22
coderd/apidoc/docs.go generated
View File

@ -9749,6 +9749,24 @@ const docTemplate = `{
"ParameterSourceSchemeData"
]
},
"healthcheck.AccessURLReport": {
"type": "object",
"properties": {
"err": {},
"healthy": {
"type": "boolean"
},
"healthzResponse": {
"type": "string"
},
"reachable": {
"type": "boolean"
},
"statusCode": {
"type": "integer"
}
}
},
"healthcheck.DERPNodeReport": {
"type": "object",
"properties": {
@ -9814,6 +9832,7 @@ const docTemplate = `{
"netcheck": {
"$ref": "#/definitions/netcheck.Report"
},
"netcheck_err": {},
"netcheck_logs": {
"type": "array",
"items": {
@ -9843,6 +9862,9 @@ const docTemplate = `{
"healthcheck.Report": {
"type": "object",
"properties": {
"access_url": {
"$ref": "#/definitions/healthcheck.AccessURLReport"
},
"derp": {
"$ref": "#/definitions/healthcheck.DERPReport"
},