@toshicloud/sdk 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +102 -19
- package/dist/client.d.ts +40 -4
- package/dist/client.js +35 -4
- package/dist/errors.d.ts +99 -0
- package/dist/errors.js +208 -0
- package/dist/gen/toshi/permission_pb.d.ts +244 -0
- package/dist/gen/toshi/permission_pb.js +94 -0
- package/dist/gen/toshi/workspace/v1/account_pb.d.ts +590 -0
- package/dist/gen/toshi/workspace/v1/account_pb.js +75 -0
- package/dist/gen/toshi/workspace/v1/artifacts_pb.d.ts +14 -8
- package/dist/gen/toshi/workspace/v1/artifacts_pb.js +10 -7
- package/dist/gen/toshi/workspace/v1/audit_events_pb.d.ts +191 -6
- package/dist/gen/toshi/workspace/v1/audit_events_pb.js +12 -1
- package/dist/gen/toshi/workspace/v1/channels_pb.d.ts +1194 -21
- package/dist/gen/toshi/workspace/v1/channels_pb.js +186 -39
- package/dist/gen/toshi/workspace/v1/connections_pb.d.ts +1481 -0
- package/dist/gen/toshi/workspace/v1/connections_pb.js +208 -0
- package/dist/gen/toshi/workspace/v1/discovery_pb.d.ts +924 -0
- package/dist/gen/toshi/workspace/v1/discovery_pb.js +231 -0
- package/dist/gen/toshi/workspace/v1/display_pb.d.ts +198 -15
- package/dist/gen/toshi/workspace/v1/display_pb.js +53 -2
- package/dist/gen/toshi/workspace/v1/domains_pb.d.ts +864 -0
- package/dist/gen/toshi/workspace/v1/domains_pb.js +152 -0
- package/dist/gen/toshi/workspace/v1/fillers_pb.d.ts +12 -4
- package/dist/gen/toshi/workspace/v1/fillers_pb.js +2 -1
- package/dist/gen/toshi/workspace/v1/grants_pb.d.ts +1297 -0
- package/dist/gen/toshi/workspace/v1/grants_pb.js +271 -0
- package/dist/gen/toshi/workspace/v1/hostjobs_pb.d.ts +315 -15
- package/dist/gen/toshi/workspace/v1/hostjobs_pb.js +11 -5
- package/dist/gen/toshi/workspace/v1/hosts_pb.d.ts +196 -7
- package/dist/gen/toshi/workspace/v1/hosts_pb.js +13 -7
- package/dist/gen/toshi/workspace/v1/images_pb.d.ts +1463 -0
- package/dist/gen/toshi/workspace/v1/images_pb.js +263 -0
- package/dist/gen/toshi/workspace/v1/products_pb.d.ts +506 -0
- package/dist/gen/toshi/workspace/v1/products_pb.js +60 -0
- package/dist/gen/toshi/workspace/v1/projects_pb.d.ts +1474 -99
- package/dist/gen/toshi/workspace/v1/projects_pb.js +151 -33
- package/dist/gen/toshi/workspace/v1/recordings_pb.d.ts +181 -14
- package/dist/gen/toshi/workspace/v1/recordings_pb.js +55 -14
- package/dist/gen/toshi/workspace/v1/roles_pb.d.ts +1994 -0
- package/dist/gen/toshi/workspace/v1/roles_pb.js +355 -0
- package/dist/gen/toshi/workspace/v1/secrets_pb.d.ts +314 -8
- package/dist/gen/toshi/workspace/v1/secrets_pb.js +43 -18
- package/dist/gen/toshi/workspace/v1/storage_providers_pb.d.ts +14 -0
- package/dist/gen/toshi/workspace/v1/storage_providers_pb.js +2 -1
- package/dist/gen/toshi/workspace/v1/tokens_pb.d.ts +434 -5
- package/dist/gen/toshi/workspace/v1/tokens_pb.js +66 -8
- package/dist/gen/toshi/workspace/v1/triggers_pb.d.ts +1099 -0
- package/dist/gen/toshi/workspace/v1/triggers_pb.js +185 -0
- package/dist/gen/toshi/workspace/v1/volumes_pb.d.ts +1052 -33
- package/dist/gen/toshi/workspace/v1/volumes_pb.js +170 -11
- package/dist/gen/toshi/workspace/v1/webhook_pb.d.ts +66 -8
- package/dist/gen/toshi/workspace/v1/webhook_pb.js +5 -4
- package/dist/gen/toshi/workspace/v1/workloads_pb.d.ts +2043 -54
- package/dist/gen/toshi/workspace/v1/workloads_pb.js +205 -54
- package/dist/gen/toshi/workspace/v1/workspace_pb.d.ts +6292 -939
- package/dist/gen/toshi/workspace/v1/workspace_pb.js +801 -88
- package/dist/gen/toshi/workspace/v1/workspace_service_pb.d.ts +2176 -630
- package/dist/gen/toshi/workspace/v1/workspace_service_pb.js +192 -74
- package/dist/index.d.ts +10 -1
- package/dist/index.js +10 -1
- package/dist/interceptors.d.ts +11 -1
- package/dist/interceptors.js +38 -4
- package/dist/retry.d.ts +18 -0
- package/dist/retry.js +228 -22
- package/dist/test/procedures.js +100 -5
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wait.d.ts +4 -0
- package/dist/wait.js +24 -1
- package/package.json +3 -2
|
@@ -520,6 +520,13 @@ export type CreateCloudHostRequest = Message<"toshi.workspace.v1.CreateCloudHost
|
|
|
520
520
|
* @generated from field: string egress = 18;
|
|
521
521
|
*/
|
|
522
522
|
egress: string;
|
|
523
|
+
/**
|
|
524
|
+
* A key that makes the call safe to retry: a retry with the same key and
|
|
525
|
+
* the same request answers with the host the first call made.
|
|
526
|
+
*
|
|
527
|
+
* @generated from field: string request_key = 19;
|
|
528
|
+
*/
|
|
529
|
+
requestKey: string;
|
|
523
530
|
};
|
|
524
531
|
/**
|
|
525
532
|
* CreateCloudHostRequest names the cloud host to register.
|
|
@@ -645,6 +652,13 @@ export type CreateCloudHostRequestJson = {
|
|
|
645
652
|
* @generated from field: string egress = 18;
|
|
646
653
|
*/
|
|
647
654
|
egress?: string;
|
|
655
|
+
/**
|
|
656
|
+
* A key that makes the call safe to retry: a retry with the same key and
|
|
657
|
+
* the same request answers with the host the first call made.
|
|
658
|
+
*
|
|
659
|
+
* @generated from field: string request_key = 19;
|
|
660
|
+
*/
|
|
661
|
+
requestKey?: string;
|
|
648
662
|
};
|
|
649
663
|
/**
|
|
650
664
|
* Describes the message toshi.workspace.v1.CreateCloudHostRequest.
|
|
@@ -942,7 +956,9 @@ export type Host = Message<"toshi.workspace.v1.Host"> & {
|
|
|
942
956
|
*/
|
|
943
957
|
egress?: HostEgress | undefined;
|
|
944
958
|
/**
|
|
945
|
-
* The version the host's agent reported when it last registered; empty when
|
|
959
|
+
* The version the host's agent reported when it last registered; empty when
|
|
960
|
+
* unknown. This API leaves it, agent_version_status and agent_version_skew
|
|
961
|
+
* unset: the operator's ListHosts reports them.
|
|
946
962
|
*
|
|
947
963
|
* @generated from field: string agent_version = 15;
|
|
948
964
|
*/
|
|
@@ -1023,6 +1039,45 @@ export type Host = Message<"toshi.workspace.v1.Host"> & {
|
|
|
1023
1039
|
* @generated from field: string agent_version_minimum = 25;
|
|
1024
1040
|
*/
|
|
1025
1041
|
agentVersionMinimum: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* Whether the host's agent keeps VMs, so a workload with keep_vm can run
|
|
1044
|
+
* on it.
|
|
1045
|
+
*
|
|
1046
|
+
* @generated from field: bool keep_vm = 26;
|
|
1047
|
+
*/
|
|
1048
|
+
keepVm: boolean;
|
|
1049
|
+
/**
|
|
1050
|
+
* The VMs the host keeps for the workspace's workloads with keep_vm,
|
|
1051
|
+
* ordered by workload; another workspace's are left out.
|
|
1052
|
+
*
|
|
1053
|
+
* @generated from field: repeated toshi.workspace.v1.KeptVM kept_vms = 27;
|
|
1054
|
+
*/
|
|
1055
|
+
keptVms: KeptVM[];
|
|
1056
|
+
/**
|
|
1057
|
+
* The memory those VMs hold, in MiB: only the ones not powered down.
|
|
1058
|
+
*
|
|
1059
|
+
* @generated from field: int64 kept_memory_mib = 28;
|
|
1060
|
+
*/
|
|
1061
|
+
keptMemoryMib: bigint;
|
|
1062
|
+
/**
|
|
1063
|
+
* The disk those VMs hold, in bytes: all of them.
|
|
1064
|
+
*
|
|
1065
|
+
* @generated from field: int64 kept_disk_bytes = 29;
|
|
1066
|
+
*/
|
|
1067
|
+
keptDiskBytes: bigint;
|
|
1068
|
+
/**
|
|
1069
|
+
* Whether the host enforces network rules, as its agent said at its last
|
|
1070
|
+
* registration or heartbeat: a workload whose network policy restricts
|
|
1071
|
+
* is placed only on a host that does. network_reason says why it does
|
|
1072
|
+
* not; empty when it does.
|
|
1073
|
+
*
|
|
1074
|
+
* @generated from field: bool network_enforced = 30;
|
|
1075
|
+
*/
|
|
1076
|
+
networkEnforced: boolean;
|
|
1077
|
+
/**
|
|
1078
|
+
* @generated from field: string network_reason = 31;
|
|
1079
|
+
*/
|
|
1080
|
+
networkReason: string;
|
|
1026
1081
|
};
|
|
1027
1082
|
/**
|
|
1028
1083
|
* Host is a machine that runs VMs for Toshi.
|
|
@@ -1108,7 +1163,9 @@ export type HostJson = {
|
|
|
1108
1163
|
*/
|
|
1109
1164
|
egress?: HostEgressJson;
|
|
1110
1165
|
/**
|
|
1111
|
-
* The version the host's agent reported when it last registered; empty when
|
|
1166
|
+
* The version the host's agent reported when it last registered; empty when
|
|
1167
|
+
* unknown. This API leaves it, agent_version_status and agent_version_skew
|
|
1168
|
+
* unset: the operator's ListHosts reports them.
|
|
1112
1169
|
*
|
|
1113
1170
|
* @generated from field: string agent_version = 15;
|
|
1114
1171
|
*/
|
|
@@ -1189,6 +1246,45 @@ export type HostJson = {
|
|
|
1189
1246
|
* @generated from field: string agent_version_minimum = 25;
|
|
1190
1247
|
*/
|
|
1191
1248
|
agentVersionMinimum?: string;
|
|
1249
|
+
/**
|
|
1250
|
+
* Whether the host's agent keeps VMs, so a workload with keep_vm can run
|
|
1251
|
+
* on it.
|
|
1252
|
+
*
|
|
1253
|
+
* @generated from field: bool keep_vm = 26;
|
|
1254
|
+
*/
|
|
1255
|
+
keepVm?: boolean;
|
|
1256
|
+
/**
|
|
1257
|
+
* The VMs the host keeps for the workspace's workloads with keep_vm,
|
|
1258
|
+
* ordered by workload; another workspace's are left out.
|
|
1259
|
+
*
|
|
1260
|
+
* @generated from field: repeated toshi.workspace.v1.KeptVM kept_vms = 27;
|
|
1261
|
+
*/
|
|
1262
|
+
keptVms?: KeptVMJson[];
|
|
1263
|
+
/**
|
|
1264
|
+
* The memory those VMs hold, in MiB: only the ones not powered down.
|
|
1265
|
+
*
|
|
1266
|
+
* @generated from field: int64 kept_memory_mib = 28;
|
|
1267
|
+
*/
|
|
1268
|
+
keptMemoryMib?: string;
|
|
1269
|
+
/**
|
|
1270
|
+
* The disk those VMs hold, in bytes: all of them.
|
|
1271
|
+
*
|
|
1272
|
+
* @generated from field: int64 kept_disk_bytes = 29;
|
|
1273
|
+
*/
|
|
1274
|
+
keptDiskBytes?: string;
|
|
1275
|
+
/**
|
|
1276
|
+
* Whether the host enforces network rules, as its agent said at its last
|
|
1277
|
+
* registration or heartbeat: a workload whose network policy restricts
|
|
1278
|
+
* is placed only on a host that does. network_reason says why it does
|
|
1279
|
+
* not; empty when it does.
|
|
1280
|
+
*
|
|
1281
|
+
* @generated from field: bool network_enforced = 30;
|
|
1282
|
+
*/
|
|
1283
|
+
networkEnforced?: boolean;
|
|
1284
|
+
/**
|
|
1285
|
+
* @generated from field: string network_reason = 31;
|
|
1286
|
+
*/
|
|
1287
|
+
networkReason?: string;
|
|
1192
1288
|
};
|
|
1193
1289
|
/**
|
|
1194
1290
|
* Describes the message toshi.workspace.v1.Host.
|
|
@@ -1197,6 +1293,97 @@ export type HostJson = {
|
|
|
1197
1293
|
export declare const HostSchema: GenMessage<Host, {
|
|
1198
1294
|
jsonType: HostJson;
|
|
1199
1295
|
}>;
|
|
1296
|
+
/**
|
|
1297
|
+
* KeptVM is a VM a host keeps for one of the workspace's workloads with
|
|
1298
|
+
* keep_vm.
|
|
1299
|
+
*
|
|
1300
|
+
* @generated from message toshi.workspace.v1.KeptVM
|
|
1301
|
+
*/
|
|
1302
|
+
export type KeptVM = Message<"toshi.workspace.v1.KeptVM"> & {
|
|
1303
|
+
/**
|
|
1304
|
+
* The service or sandbox that keeps it.
|
|
1305
|
+
*
|
|
1306
|
+
* @generated from field: string workload_id = 1;
|
|
1307
|
+
*/
|
|
1308
|
+
workloadId: string;
|
|
1309
|
+
/**
|
|
1310
|
+
* "service" or "sandbox".
|
|
1311
|
+
*
|
|
1312
|
+
* @generated from field: string kind = 2;
|
|
1313
|
+
*/
|
|
1314
|
+
kind: string;
|
|
1315
|
+
/**
|
|
1316
|
+
* "running", "paused" or "powered_down".
|
|
1317
|
+
*
|
|
1318
|
+
* @generated from field: string form = 3;
|
|
1319
|
+
*/
|
|
1320
|
+
form: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* The VM's memory and disk.
|
|
1323
|
+
*
|
|
1324
|
+
* @generated from field: int64 memory_mib = 4;
|
|
1325
|
+
*/
|
|
1326
|
+
memoryMib: bigint;
|
|
1327
|
+
/**
|
|
1328
|
+
* @generated from field: int64 disk_bytes = 5;
|
|
1329
|
+
*/
|
|
1330
|
+
diskBytes: bigint;
|
|
1331
|
+
/**
|
|
1332
|
+
* When its workload last stopped or slept; unset while it runs.
|
|
1333
|
+
*
|
|
1334
|
+
* @generated from field: google.protobuf.Timestamp stopped_at = 6;
|
|
1335
|
+
*/
|
|
1336
|
+
stoppedAt?: Timestamp | undefined;
|
|
1337
|
+
};
|
|
1338
|
+
/**
|
|
1339
|
+
* KeptVM is a VM a host keeps for one of the workspace's workloads with
|
|
1340
|
+
* keep_vm.
|
|
1341
|
+
*
|
|
1342
|
+
* @generated from message toshi.workspace.v1.KeptVM
|
|
1343
|
+
*/
|
|
1344
|
+
export type KeptVMJson = {
|
|
1345
|
+
/**
|
|
1346
|
+
* The service or sandbox that keeps it.
|
|
1347
|
+
*
|
|
1348
|
+
* @generated from field: string workload_id = 1;
|
|
1349
|
+
*/
|
|
1350
|
+
workloadId?: string;
|
|
1351
|
+
/**
|
|
1352
|
+
* "service" or "sandbox".
|
|
1353
|
+
*
|
|
1354
|
+
* @generated from field: string kind = 2;
|
|
1355
|
+
*/
|
|
1356
|
+
kind?: string;
|
|
1357
|
+
/**
|
|
1358
|
+
* "running", "paused" or "powered_down".
|
|
1359
|
+
*
|
|
1360
|
+
* @generated from field: string form = 3;
|
|
1361
|
+
*/
|
|
1362
|
+
form?: string;
|
|
1363
|
+
/**
|
|
1364
|
+
* The VM's memory and disk.
|
|
1365
|
+
*
|
|
1366
|
+
* @generated from field: int64 memory_mib = 4;
|
|
1367
|
+
*/
|
|
1368
|
+
memoryMib?: string;
|
|
1369
|
+
/**
|
|
1370
|
+
* @generated from field: int64 disk_bytes = 5;
|
|
1371
|
+
*/
|
|
1372
|
+
diskBytes?: string;
|
|
1373
|
+
/**
|
|
1374
|
+
* When its workload last stopped or slept; unset while it runs.
|
|
1375
|
+
*
|
|
1376
|
+
* @generated from field: google.protobuf.Timestamp stopped_at = 6;
|
|
1377
|
+
*/
|
|
1378
|
+
stoppedAt?: TimestampJson;
|
|
1379
|
+
};
|
|
1380
|
+
/**
|
|
1381
|
+
* Describes the message toshi.workspace.v1.KeptVM.
|
|
1382
|
+
* Use `create(KeptVMSchema)` to create a new message.
|
|
1383
|
+
*/
|
|
1384
|
+
export declare const KeptVMSchema: GenMessage<KeptVM, {
|
|
1385
|
+
jsonType: KeptVMJson;
|
|
1386
|
+
}>;
|
|
1200
1387
|
/**
|
|
1201
1388
|
* HeldRefill is one warm pool whose refill a host holds.
|
|
1202
1389
|
*
|
|
@@ -1208,7 +1395,7 @@ export type HeldRefill = Message<"toshi.workspace.v1.HeldRefill"> & {
|
|
|
1208
1395
|
*/
|
|
1209
1396
|
size: string;
|
|
1210
1397
|
/**
|
|
1211
|
-
* "memory" or "cpus".
|
|
1398
|
+
* "memory", "memory_limit" or "cpus".
|
|
1212
1399
|
*
|
|
1213
1400
|
* @generated from field: string reason = 2;
|
|
1214
1401
|
*/
|
|
@@ -1225,7 +1412,7 @@ export type HeldRefillJson = {
|
|
|
1225
1412
|
*/
|
|
1226
1413
|
size?: string;
|
|
1227
1414
|
/**
|
|
1228
|
-
* "memory" or "cpus".
|
|
1415
|
+
* "memory", "memory_limit" or "cpus".
|
|
1229
1416
|
*
|
|
1230
1417
|
* @generated from field: string reason = 2;
|
|
1231
1418
|
*/
|
|
@@ -2053,8 +2240,10 @@ export declare const HostService: GenService<{
|
|
|
2053
2240
|
};
|
|
2054
2241
|
/**
|
|
2055
2242
|
* ListHostAlerts returns the active alerts of the workspace's hosts:
|
|
2056
|
-
* memory_held, egress_changed
|
|
2057
|
-
*
|
|
2243
|
+
* memory_held, egress_changed, agent_version_skew, host_offline, vm_died,
|
|
2244
|
+
* job_oom_killed and spend_cap_reached, one per kind, and its token
|
|
2245
|
+
* notices, token_creator_left and token_expiring, one for each person who
|
|
2246
|
+
* left; ordered by kind.
|
|
2058
2247
|
*
|
|
2059
2248
|
* A page holds 100 alerts when page_size is zero, and 1000 at most.
|
|
2060
2249
|
*
|
|
@@ -2068,7 +2257,7 @@ export declare const HostService: GenService<{
|
|
|
2068
2257
|
/**
|
|
2069
2258
|
* SetHostState drains a host or puts it back in service. Only
|
|
2070
2259
|
* HOST_STATE_DRAINING and HOST_STATE_ONLINE are accepted. An unknown ID
|
|
2071
|
-
* fails with NOT_FOUND.
|
|
2260
|
+
* fails with NOT_FOUND, and a revoked host with FAILED_PRECONDITION.
|
|
2072
2261
|
*
|
|
2073
2262
|
* @generated from rpc toshi.workspace.v1.HostService.SetHostState
|
|
2074
2263
|
*/
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
|
+
import { file_toshi_permission } from "../../permission_pb.js";
|
|
6
7
|
import { file_toshi_workspace_v1_tokens } from "./tokens_pb.js";
|
|
7
8
|
/**
|
|
8
9
|
* Describes the file toshi/workspace/v1/hosts.proto.
|
|
9
10
|
*/
|
|
10
|
-
export const file_toshi_workspace_v1_hosts = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_toshi_workspace_v1_hosts = /*@__PURE__*/ fileDesc("Ch50b3NoaS93b3Jrc3BhY2UvdjEvaG9zdHMucHJvdG8SEnRvc2hpLndvcmtzcGFjZS52MSKBAQoQTGlzdEhvc3RzUmVxdWVzdBItCgZzdGF0ZXMYASADKA4yHS50b3NoaS53b3Jrc3BhY2UudjEuSG9zdFN0YXRlEhcKD2V4Y2x1ZGVfcmV2b2tlZBgC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VkSG9zdFJlcXVlc3QaKi50b3NoaS53b3Jrc3BhY2UudjEuQ2hlY2tDbG91ZEhvc3RSZXNwb25zZSIhwvMYC2hvc3RzLndyaXRl0vMYDhIMaG9zdDpob3N0X2lkEqABChVDcmVhdGVFbnJvbGxtZW50VG9rZW4SMC50b3NoaS53b3Jrc3BhY2UudjEuQ3JlYXRlRW5yb2xsbWVudFRva2VuUmVxdWVzdBoxLnRvc2hpLndvcmtzcGFjZS52MS5DcmVhdGVFbnJvbGxtZW50VG9rZW5SZXNwb25zZSIiwvMYC2hvc3RzLndyaXRl0vMYDwoNdG9rZW4uY3JlYXRlZEIiWiBnby50b3NoaWNsb3VkLmlvL2FwaS93b3Jrc3BhY2V2MWIGcHJvdG8z", [file_google_protobuf_duration, file_google_protobuf_timestamp, file_toshi_permission, file_toshi_workspace_v1_tokens]);
|
|
11
12
|
/**
|
|
12
13
|
* Describes the message toshi.workspace.v1.ListHostsRequest.
|
|
13
14
|
* Use `create(ListHostsRequestSchema)` to create a new message.
|
|
@@ -93,36 +94,41 @@ export const CreateEnrollmentTokenResponseSchema = /*@__PURE__*/ messageDesc(fil
|
|
|
93
94
|
* Use `create(HostSchema)` to create a new message.
|
|
94
95
|
*/
|
|
95
96
|
export const HostSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_hosts, 16);
|
|
97
|
+
/**
|
|
98
|
+
* Describes the message toshi.workspace.v1.KeptVM.
|
|
99
|
+
* Use `create(KeptVMSchema)` to create a new message.
|
|
100
|
+
*/
|
|
101
|
+
export const KeptVMSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_hosts, 17);
|
|
96
102
|
/**
|
|
97
103
|
* Describes the message toshi.workspace.v1.HeldRefill.
|
|
98
104
|
* Use `create(HeldRefillSchema)` to create a new message.
|
|
99
105
|
*/
|
|
100
|
-
export const HeldRefillSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_hosts,
|
|
106
|
+
export const HeldRefillSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_hosts, 18);
|
|
101
107
|
/**
|
|
102
108
|
* Describes the message toshi.workspace.v1.HostEgress.
|
|
103
109
|
* Use `create(HostEgressSchema)` to create a new message.
|
|
104
110
|
*/
|
|
105
|
-
export const HostEgressSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_hosts,
|
|
111
|
+
export const HostEgressSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_hosts, 19);
|
|
106
112
|
/**
|
|
107
113
|
* Describes the message toshi.workspace.v1.HostVolume.
|
|
108
114
|
* Use `create(HostVolumeSchema)` to create a new message.
|
|
109
115
|
*/
|
|
110
|
-
export const HostVolumeSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_hosts,
|
|
116
|
+
export const HostVolumeSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_hosts, 20);
|
|
111
117
|
/**
|
|
112
118
|
* Describes the message toshi.workspace.v1.HostAlert.
|
|
113
119
|
* Use `create(HostAlertSchema)` to create a new message.
|
|
114
120
|
*/
|
|
115
|
-
export const HostAlertSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_hosts,
|
|
121
|
+
export const HostAlertSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_hosts, 21);
|
|
116
122
|
/**
|
|
117
123
|
* Describes the message toshi.workspace.v1.CloudHost.
|
|
118
124
|
* Use `create(CloudHostSchema)` to create a new message.
|
|
119
125
|
*/
|
|
120
|
-
export const CloudHostSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_hosts,
|
|
126
|
+
export const CloudHostSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_hosts, 22);
|
|
121
127
|
/**
|
|
122
128
|
* Describes the message toshi.workspace.v1.CloudHostCheck.
|
|
123
129
|
* Use `create(CloudHostCheckSchema)` to create a new message.
|
|
124
130
|
*/
|
|
125
|
-
export const CloudHostCheckSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_hosts,
|
|
131
|
+
export const CloudHostCheckSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_hosts, 23);
|
|
126
132
|
/**
|
|
127
133
|
* HostState says whether a host takes new jobs.
|
|
128
134
|
*
|