make gen -B

Signed-off-by: Danny Kopping <dannykopping@gmail.com>
This commit is contained in:
Danny Kopping
2025-03-04 10:17:43 +00:00
parent f3a5b8e4d8
commit 5d2fea5cd7
6 changed files with 805 additions and 662 deletions

11
coderd/apidoc/docs.go generated
View File

@ -11520,6 +11520,9 @@ const docTemplate = `{
"wildcard_access_url": {
"type": "string"
},
"workspace_prebuilds": {
"$ref": "#/definitions/codersdk.PrebuildsConfig"
},
"write_config": {
"type": "boolean"
}
@ -13147,6 +13150,14 @@ const docTemplate = `{
}
}
},
"codersdk.PrebuildsConfig": {
"type": "object",
"properties": {
"reconciliation_interval": {
"type": "integer"
}
}
},
"codersdk.Preset": {
"type": "object",
"properties": {

View File

@ -10309,6 +10309,9 @@
"wildcard_access_url": {
"type": "string"
},
"workspace_prebuilds": {
"$ref": "#/definitions/codersdk.PrebuildsConfig"
},
"write_config": {
"type": "boolean"
}
@ -11870,6 +11873,14 @@
}
}
},
"codersdk.PrebuildsConfig": {
"type": "object",
"properties": {
"reconciliation_interval": {
"type": "integer"
}
}
},
"codersdk.Preset": {
"type": "object",
"properties": {

View File

@ -511,6 +511,9 @@ curl -X GET http://coder-server:8080/api/v2/deployment/config \
"web_terminal_renderer": "string",
"wgtunnel_host": "string",
"wildcard_access_url": "string",
"workspace_prebuilds": {
"reconciliation_interval": 0
},
"write_config": true
},
"options": [

View File

@ -2165,6 +2165,9 @@ CreateWorkspaceRequest provides options for creating a new workspace. Only one o
"web_terminal_renderer": "string",
"wgtunnel_host": "string",
"wildcard_access_url": "string",
"workspace_prebuilds": {
"reconciliation_interval": 0
},
"write_config": true
},
"options": [
@ -2638,6 +2641,9 @@ CreateWorkspaceRequest provides options for creating a new workspace. Only one o
"web_terminal_renderer": "string",
"wgtunnel_host": "string",
"wildcard_access_url": "string",
"workspace_prebuilds": {
"reconciliation_interval": 0
},
"write_config": true
}
```
@ -2706,6 +2712,7 @@ CreateWorkspaceRequest provides options for creating a new workspace. Only one o
| `web_terminal_renderer` | string | false | | |
| `wgtunnel_host` | string | false | | |
| `wildcard_access_url` | string | false | | |
| `workspace_prebuilds` | [codersdk.PrebuildsConfig](#codersdkprebuildsconfig) | false | | |
| `write_config` | boolean | false | | |
## codersdk.DisplayApp
@ -4469,6 +4476,20 @@ Git clone makes use of this by parsing the URL from: 'Username for "https://gith
| `address` | [serpent.HostPort](#serpenthostport) | false | | |
| `enable` | boolean | false | | |
## codersdk.PrebuildsConfig
```json
{
"reconciliation_interval": 0
}
```
### Properties
| Name | Type | Required | Restrictions | Description |
|---------------------------|---------|----------|--------------|-------------|
| `reconciliation_interval` | integer | false | | |
## codersdk.Preset
```json

File diff suppressed because it is too large Load Diff

View File

@ -1002,10 +1002,10 @@ export const Metadata = {
Role.encode(v!, writer.uint32(154).fork()).ldelim();
}
if (message.isPrebuild === true) {
writer.uint32(152).bool(message.isPrebuild);
writer.uint32(160).bool(message.isPrebuild);
}
if (message.runningWorkspaceAgentToken !== "") {
writer.uint32(162).string(message.runningWorkspaceAgentToken);
writer.uint32(170).string(message.runningWorkspaceAgentToken);
}
return writer;
},