@toshicloud/sdk 0.3.0 → 0.3.2
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 +33 -7
- package/dist/client.d.ts +23 -5
- package/dist/client.js +20 -4
- package/dist/gen/toshi/workspace/v1/audit_events_pb.d.ts +297 -0
- package/dist/gen/toshi/workspace/v1/audit_events_pb.js +37 -0
- package/dist/gen/toshi/workspace/v1/fillers_pb.d.ts +920 -0
- package/dist/gen/toshi/workspace/v1/fillers_pb.js +94 -0
- package/dist/gen/toshi/workspace/v1/hostjobs_pb.d.ts +2048 -0
- package/dist/gen/toshi/workspace/v1/hostjobs_pb.js +226 -0
- package/dist/gen/toshi/workspace/v1/hosts_pb.d.ts +2135 -0
- package/dist/gen/toshi/workspace/v1/hosts_pb.js +301 -0
- package/dist/gen/toshi/workspace/v1/storage_providers_pb.d.ts +717 -0
- package/dist/gen/toshi/workspace/v1/storage_providers_pb.js +74 -0
- package/dist/gen/toshi/workspace/v1/tokens_pb.d.ts +518 -0
- package/dist/gen/toshi/workspace/v1/tokens_pb.js +88 -0
- package/dist/gen/toshi/workspace/v1/workspace_service_pb.d.ts +3719 -0
- package/dist/gen/toshi/workspace/v1/workspace_service_pb.js +270 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +7 -0
- package/dist/retry.js +45 -0
- package/package.json +10 -2
|
@@ -0,0 +1,920 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Duration, DurationJson, Timestamp, TimestampJson } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file toshi/workspace/v1/fillers.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_toshi_workspace_v1_fillers: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* Filler is a workflow of the workspace that Toshi dispatches with
|
|
10
|
+
* workflow_dispatch as a filler job, only on capacity above the warm pool
|
|
11
|
+
* targets.
|
|
12
|
+
*
|
|
13
|
+
* @generated from message toshi.workspace.v1.Filler
|
|
14
|
+
*/
|
|
15
|
+
export type Filler = Message<"toshi.workspace.v1.Filler"> & {
|
|
16
|
+
/**
|
|
17
|
+
* Unique among the workspace's fillers; lowercase letters, digits and
|
|
18
|
+
* dashes, at most 40 characters, starting with a letter or digit.
|
|
19
|
+
*
|
|
20
|
+
* @generated from field: string name = 1;
|
|
21
|
+
*/
|
|
22
|
+
name: string;
|
|
23
|
+
/**
|
|
24
|
+
* The runner size of the VM.
|
|
25
|
+
*
|
|
26
|
+
* @generated from field: string size = 2;
|
|
27
|
+
*/
|
|
28
|
+
size: string;
|
|
29
|
+
/**
|
|
30
|
+
* Run only on hosts whose pool for the size has nested KVM.
|
|
31
|
+
*
|
|
32
|
+
* @generated from field: bool nested_kvm = 3;
|
|
33
|
+
*/
|
|
34
|
+
nestedKvm: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The repository, as "owner/name".
|
|
37
|
+
*
|
|
38
|
+
* @generated from field: string repository = 4;
|
|
39
|
+
*/
|
|
40
|
+
repository: string;
|
|
41
|
+
/**
|
|
42
|
+
* The workflow's file name, for example "warm-cache.yml".
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: string workflow = 5;
|
|
45
|
+
*/
|
|
46
|
+
workflow: string;
|
|
47
|
+
/**
|
|
48
|
+
* The branch or tag to run it on. Empty: the repository's default
|
|
49
|
+
* branch.
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: string ref = 6;
|
|
52
|
+
*/
|
|
53
|
+
ref: string;
|
|
54
|
+
/**
|
|
55
|
+
* How long after a run completes or fails the next may start. Default
|
|
56
|
+
* 24 hours.
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: google.protobuf.Duration every = 7;
|
|
59
|
+
*/
|
|
60
|
+
every?: Duration | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* The longest one run may take. Default 2 hours.
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: google.protobuf.Duration max_duration = 8;
|
|
65
|
+
*/
|
|
66
|
+
maxDuration?: Duration | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* @generated from field: bool enabled = 9;
|
|
69
|
+
*/
|
|
70
|
+
enabled: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Where the filler comes from: "config", "operator" or "tenant" (the
|
|
73
|
+
* workspace put it).
|
|
74
|
+
*
|
|
75
|
+
* @generated from field: string source = 10;
|
|
76
|
+
*/
|
|
77
|
+
source: string;
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: google.protobuf.Timestamp created_at = 11;
|
|
80
|
+
*/
|
|
81
|
+
createdAt?: Timestamp | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 12;
|
|
84
|
+
*/
|
|
85
|
+
updatedAt?: Timestamp | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* The filler's newest run. Not set before its first.
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: toshi.workspace.v1.FillerRun last_run = 13;
|
|
90
|
+
*/
|
|
91
|
+
lastRun?: FillerRun | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* Why the scheduler dispatches nothing for this filler, as the last
|
|
94
|
+
* filler pass that read its states found it: tenant_suspended,
|
|
95
|
+
* tenant_deleting, tenant_deleted, tenant_closed, installation_removed,
|
|
96
|
+
* installation_suspended, installation_ambiguous, budget_spent (the
|
|
97
|
+
* workspace's filler minutes for the UTC day are spent) or budget_off
|
|
98
|
+
* (its plan gives none). Empty: no pause found, or a filler the pass does
|
|
99
|
+
* not evaluate (a disabled one, for example). Set by ListFillers only.
|
|
100
|
+
* Kept in the control plane's memory: empty after a restart until a pass
|
|
101
|
+
* reads the states again.
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: string pause_reason = 14;
|
|
104
|
+
*/
|
|
105
|
+
pauseReason: string;
|
|
106
|
+
/**
|
|
107
|
+
* When a filler pass first found the pause. Unset with an empty
|
|
108
|
+
* pause_reason.
|
|
109
|
+
*
|
|
110
|
+
* @generated from field: google.protobuf.Timestamp paused_since = 15;
|
|
111
|
+
*/
|
|
112
|
+
pausedSince?: Timestamp | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* When a filler pass last read the filler's states and found
|
|
115
|
+
* pause_reason; unset without one.
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: google.protobuf.Timestamp pause_as_of = 16;
|
|
118
|
+
*/
|
|
119
|
+
pauseAsOf?: Timestamp | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* "dispatch": a workflow_dispatch of the workspace's workflow, the only
|
|
122
|
+
* kind a workspace's filler has. PutFiller takes "dispatch" or empty for
|
|
123
|
+
* it; another kind fails with INVALID_ARGUMENT.
|
|
124
|
+
*
|
|
125
|
+
* @generated from field: string kind = 17;
|
|
126
|
+
*/
|
|
127
|
+
kind: string;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Filler is a workflow of the workspace that Toshi dispatches with
|
|
131
|
+
* workflow_dispatch as a filler job, only on capacity above the warm pool
|
|
132
|
+
* targets.
|
|
133
|
+
*
|
|
134
|
+
* @generated from message toshi.workspace.v1.Filler
|
|
135
|
+
*/
|
|
136
|
+
export type FillerJson = {
|
|
137
|
+
/**
|
|
138
|
+
* Unique among the workspace's fillers; lowercase letters, digits and
|
|
139
|
+
* dashes, at most 40 characters, starting with a letter or digit.
|
|
140
|
+
*
|
|
141
|
+
* @generated from field: string name = 1;
|
|
142
|
+
*/
|
|
143
|
+
name?: string;
|
|
144
|
+
/**
|
|
145
|
+
* The runner size of the VM.
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: string size = 2;
|
|
148
|
+
*/
|
|
149
|
+
size?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Run only on hosts whose pool for the size has nested KVM.
|
|
152
|
+
*
|
|
153
|
+
* @generated from field: bool nested_kvm = 3;
|
|
154
|
+
*/
|
|
155
|
+
nestedKvm?: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* The repository, as "owner/name".
|
|
158
|
+
*
|
|
159
|
+
* @generated from field: string repository = 4;
|
|
160
|
+
*/
|
|
161
|
+
repository?: string;
|
|
162
|
+
/**
|
|
163
|
+
* The workflow's file name, for example "warm-cache.yml".
|
|
164
|
+
*
|
|
165
|
+
* @generated from field: string workflow = 5;
|
|
166
|
+
*/
|
|
167
|
+
workflow?: string;
|
|
168
|
+
/**
|
|
169
|
+
* The branch or tag to run it on. Empty: the repository's default
|
|
170
|
+
* branch.
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: string ref = 6;
|
|
173
|
+
*/
|
|
174
|
+
ref?: string;
|
|
175
|
+
/**
|
|
176
|
+
* How long after a run completes or fails the next may start. Default
|
|
177
|
+
* 24 hours.
|
|
178
|
+
*
|
|
179
|
+
* @generated from field: google.protobuf.Duration every = 7;
|
|
180
|
+
*/
|
|
181
|
+
every?: DurationJson;
|
|
182
|
+
/**
|
|
183
|
+
* The longest one run may take. Default 2 hours.
|
|
184
|
+
*
|
|
185
|
+
* @generated from field: google.protobuf.Duration max_duration = 8;
|
|
186
|
+
*/
|
|
187
|
+
maxDuration?: DurationJson;
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: bool enabled = 9;
|
|
190
|
+
*/
|
|
191
|
+
enabled?: boolean;
|
|
192
|
+
/**
|
|
193
|
+
* Where the filler comes from: "config", "operator" or "tenant" (the
|
|
194
|
+
* workspace put it).
|
|
195
|
+
*
|
|
196
|
+
* @generated from field: string source = 10;
|
|
197
|
+
*/
|
|
198
|
+
source?: string;
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: google.protobuf.Timestamp created_at = 11;
|
|
201
|
+
*/
|
|
202
|
+
createdAt?: TimestampJson;
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 12;
|
|
205
|
+
*/
|
|
206
|
+
updatedAt?: TimestampJson;
|
|
207
|
+
/**
|
|
208
|
+
* The filler's newest run. Not set before its first.
|
|
209
|
+
*
|
|
210
|
+
* @generated from field: toshi.workspace.v1.FillerRun last_run = 13;
|
|
211
|
+
*/
|
|
212
|
+
lastRun?: FillerRunJson;
|
|
213
|
+
/**
|
|
214
|
+
* Why the scheduler dispatches nothing for this filler, as the last
|
|
215
|
+
* filler pass that read its states found it: tenant_suspended,
|
|
216
|
+
* tenant_deleting, tenant_deleted, tenant_closed, installation_removed,
|
|
217
|
+
* installation_suspended, installation_ambiguous, budget_spent (the
|
|
218
|
+
* workspace's filler minutes for the UTC day are spent) or budget_off
|
|
219
|
+
* (its plan gives none). Empty: no pause found, or a filler the pass does
|
|
220
|
+
* not evaluate (a disabled one, for example). Set by ListFillers only.
|
|
221
|
+
* Kept in the control plane's memory: empty after a restart until a pass
|
|
222
|
+
* reads the states again.
|
|
223
|
+
*
|
|
224
|
+
* @generated from field: string pause_reason = 14;
|
|
225
|
+
*/
|
|
226
|
+
pauseReason?: string;
|
|
227
|
+
/**
|
|
228
|
+
* When a filler pass first found the pause. Unset with an empty
|
|
229
|
+
* pause_reason.
|
|
230
|
+
*
|
|
231
|
+
* @generated from field: google.protobuf.Timestamp paused_since = 15;
|
|
232
|
+
*/
|
|
233
|
+
pausedSince?: TimestampJson;
|
|
234
|
+
/**
|
|
235
|
+
* When a filler pass last read the filler's states and found
|
|
236
|
+
* pause_reason; unset without one.
|
|
237
|
+
*
|
|
238
|
+
* @generated from field: google.protobuf.Timestamp pause_as_of = 16;
|
|
239
|
+
*/
|
|
240
|
+
pauseAsOf?: TimestampJson;
|
|
241
|
+
/**
|
|
242
|
+
* "dispatch": a workflow_dispatch of the workspace's workflow, the only
|
|
243
|
+
* kind a workspace's filler has. PutFiller takes "dispatch" or empty for
|
|
244
|
+
* it; another kind fails with INVALID_ARGUMENT.
|
|
245
|
+
*
|
|
246
|
+
* @generated from field: string kind = 17;
|
|
247
|
+
*/
|
|
248
|
+
kind?: string;
|
|
249
|
+
};
|
|
250
|
+
/**
|
|
251
|
+
* Describes the message toshi.workspace.v1.Filler.
|
|
252
|
+
* Use `create(FillerSchema)` to create a new message.
|
|
253
|
+
*/
|
|
254
|
+
export declare const FillerSchema: GenMessage<Filler, {
|
|
255
|
+
jsonType: FillerJson;
|
|
256
|
+
}>;
|
|
257
|
+
/**
|
|
258
|
+
* FillerRun is one run of a filler.
|
|
259
|
+
*
|
|
260
|
+
* @generated from message toshi.workspace.v1.FillerRun
|
|
261
|
+
*/
|
|
262
|
+
export type FillerRun = Message<"toshi.workspace.v1.FillerRun"> & {
|
|
263
|
+
/**
|
|
264
|
+
* @generated from field: string id = 1;
|
|
265
|
+
*/
|
|
266
|
+
id: string;
|
|
267
|
+
/**
|
|
268
|
+
* @generated from field: string filler = 2;
|
|
269
|
+
*/
|
|
270
|
+
filler: string;
|
|
271
|
+
/**
|
|
272
|
+
* The host the run went to, when it is one of the workspace's own hosts.
|
|
273
|
+
* Empty while the run waits for its job, and for a host Toshi runs for
|
|
274
|
+
* many workspaces.
|
|
275
|
+
*
|
|
276
|
+
* @generated from field: string host_id = 3;
|
|
277
|
+
*/
|
|
278
|
+
hostId: string;
|
|
279
|
+
/**
|
|
280
|
+
* "dispatched", "assigned", "running", "completed", "failed",
|
|
281
|
+
* "preempted", "rejected" or "lost".
|
|
282
|
+
*
|
|
283
|
+
* @generated from field: string state = 4;
|
|
284
|
+
*/
|
|
285
|
+
state: string;
|
|
286
|
+
/**
|
|
287
|
+
* Toshi's job ID of the filler job, once its webhook arrived.
|
|
288
|
+
*
|
|
289
|
+
* @generated from field: string job_id = 5;
|
|
290
|
+
*/
|
|
291
|
+
jobId: string;
|
|
292
|
+
/**
|
|
293
|
+
* GitHub's workflow run ID.
|
|
294
|
+
*
|
|
295
|
+
* @generated from field: int64 run_id = 6;
|
|
296
|
+
*/
|
|
297
|
+
runId: bigint;
|
|
298
|
+
/**
|
|
299
|
+
* @generated from field: string error = 7;
|
|
300
|
+
*/
|
|
301
|
+
error: string;
|
|
302
|
+
/**
|
|
303
|
+
* @generated from field: google.protobuf.Timestamp created_at = 8;
|
|
304
|
+
*/
|
|
305
|
+
createdAt?: Timestamp | undefined;
|
|
306
|
+
/**
|
|
307
|
+
* @generated from field: google.protobuf.Timestamp started_at = 9;
|
|
308
|
+
*/
|
|
309
|
+
startedAt?: Timestamp | undefined;
|
|
310
|
+
/**
|
|
311
|
+
* @generated from field: google.protobuf.Timestamp finished_at = 10;
|
|
312
|
+
*/
|
|
313
|
+
finishedAt?: Timestamp | undefined;
|
|
314
|
+
};
|
|
315
|
+
/**
|
|
316
|
+
* FillerRun is one run of a filler.
|
|
317
|
+
*
|
|
318
|
+
* @generated from message toshi.workspace.v1.FillerRun
|
|
319
|
+
*/
|
|
320
|
+
export type FillerRunJson = {
|
|
321
|
+
/**
|
|
322
|
+
* @generated from field: string id = 1;
|
|
323
|
+
*/
|
|
324
|
+
id?: string;
|
|
325
|
+
/**
|
|
326
|
+
* @generated from field: string filler = 2;
|
|
327
|
+
*/
|
|
328
|
+
filler?: string;
|
|
329
|
+
/**
|
|
330
|
+
* The host the run went to, when it is one of the workspace's own hosts.
|
|
331
|
+
* Empty while the run waits for its job, and for a host Toshi runs for
|
|
332
|
+
* many workspaces.
|
|
333
|
+
*
|
|
334
|
+
* @generated from field: string host_id = 3;
|
|
335
|
+
*/
|
|
336
|
+
hostId?: string;
|
|
337
|
+
/**
|
|
338
|
+
* "dispatched", "assigned", "running", "completed", "failed",
|
|
339
|
+
* "preempted", "rejected" or "lost".
|
|
340
|
+
*
|
|
341
|
+
* @generated from field: string state = 4;
|
|
342
|
+
*/
|
|
343
|
+
state?: string;
|
|
344
|
+
/**
|
|
345
|
+
* Toshi's job ID of the filler job, once its webhook arrived.
|
|
346
|
+
*
|
|
347
|
+
* @generated from field: string job_id = 5;
|
|
348
|
+
*/
|
|
349
|
+
jobId?: string;
|
|
350
|
+
/**
|
|
351
|
+
* GitHub's workflow run ID.
|
|
352
|
+
*
|
|
353
|
+
* @generated from field: int64 run_id = 6;
|
|
354
|
+
*/
|
|
355
|
+
runId?: string;
|
|
356
|
+
/**
|
|
357
|
+
* @generated from field: string error = 7;
|
|
358
|
+
*/
|
|
359
|
+
error?: string;
|
|
360
|
+
/**
|
|
361
|
+
* @generated from field: google.protobuf.Timestamp created_at = 8;
|
|
362
|
+
*/
|
|
363
|
+
createdAt?: TimestampJson;
|
|
364
|
+
/**
|
|
365
|
+
* @generated from field: google.protobuf.Timestamp started_at = 9;
|
|
366
|
+
*/
|
|
367
|
+
startedAt?: TimestampJson;
|
|
368
|
+
/**
|
|
369
|
+
* @generated from field: google.protobuf.Timestamp finished_at = 10;
|
|
370
|
+
*/
|
|
371
|
+
finishedAt?: TimestampJson;
|
|
372
|
+
};
|
|
373
|
+
/**
|
|
374
|
+
* Describes the message toshi.workspace.v1.FillerRun.
|
|
375
|
+
* Use `create(FillerRunSchema)` to create a new message.
|
|
376
|
+
*/
|
|
377
|
+
export declare const FillerRunSchema: GenMessage<FillerRun, {
|
|
378
|
+
jsonType: FillerRunJson;
|
|
379
|
+
}>;
|
|
380
|
+
/**
|
|
381
|
+
* FillerHostMinutes is the filler minutes of one of the workspace's own
|
|
382
|
+
* hosts.
|
|
383
|
+
*
|
|
384
|
+
* @generated from message toshi.workspace.v1.FillerHostMinutes
|
|
385
|
+
*/
|
|
386
|
+
export type FillerHostMinutes = Message<"toshi.workspace.v1.FillerHostMinutes"> & {
|
|
387
|
+
/**
|
|
388
|
+
* @generated from field: string host_id = 1;
|
|
389
|
+
*/
|
|
390
|
+
hostId: string;
|
|
391
|
+
/**
|
|
392
|
+
* @generated from field: double minutes = 2;
|
|
393
|
+
*/
|
|
394
|
+
minutes: number;
|
|
395
|
+
};
|
|
396
|
+
/**
|
|
397
|
+
* FillerHostMinutes is the filler minutes of one of the workspace's own
|
|
398
|
+
* hosts.
|
|
399
|
+
*
|
|
400
|
+
* @generated from message toshi.workspace.v1.FillerHostMinutes
|
|
401
|
+
*/
|
|
402
|
+
export type FillerHostMinutesJson = {
|
|
403
|
+
/**
|
|
404
|
+
* @generated from field: string host_id = 1;
|
|
405
|
+
*/
|
|
406
|
+
hostId?: string;
|
|
407
|
+
/**
|
|
408
|
+
* @generated from field: double minutes = 2;
|
|
409
|
+
*/
|
|
410
|
+
minutes?: number | "NaN" | "Infinity" | "-Infinity";
|
|
411
|
+
};
|
|
412
|
+
/**
|
|
413
|
+
* Describes the message toshi.workspace.v1.FillerHostMinutes.
|
|
414
|
+
* Use `create(FillerHostMinutesSchema)` to create a new message.
|
|
415
|
+
*/
|
|
416
|
+
export declare const FillerHostMinutesSchema: GenMessage<FillerHostMinutes, {
|
|
417
|
+
jsonType: FillerHostMinutesJson;
|
|
418
|
+
}>;
|
|
419
|
+
/**
|
|
420
|
+
* FillerPause is one paused filler; see Filler.pause_reason.
|
|
421
|
+
*
|
|
422
|
+
* @generated from message toshi.workspace.v1.FillerPause
|
|
423
|
+
*/
|
|
424
|
+
export type FillerPause = Message<"toshi.workspace.v1.FillerPause"> & {
|
|
425
|
+
/**
|
|
426
|
+
* @generated from field: string filler = 1;
|
|
427
|
+
*/
|
|
428
|
+
filler: string;
|
|
429
|
+
/**
|
|
430
|
+
* tenant_suspended, tenant_deleting, tenant_deleted, tenant_closed,
|
|
431
|
+
* installation_removed, installation_suspended, installation_ambiguous,
|
|
432
|
+
* budget_spent or budget_off.
|
|
433
|
+
*
|
|
434
|
+
* @generated from field: string reason = 2;
|
|
435
|
+
*/
|
|
436
|
+
reason: string;
|
|
437
|
+
/**
|
|
438
|
+
* When a filler pass first found the pause.
|
|
439
|
+
*
|
|
440
|
+
* @generated from field: google.protobuf.Timestamp since = 3;
|
|
441
|
+
*/
|
|
442
|
+
since?: Timestamp | undefined;
|
|
443
|
+
/**
|
|
444
|
+
* When a filler pass last read the states; see Filler.pause_as_of.
|
|
445
|
+
*
|
|
446
|
+
* @generated from field: google.protobuf.Timestamp as_of = 4;
|
|
447
|
+
*/
|
|
448
|
+
asOf?: Timestamp | undefined;
|
|
449
|
+
};
|
|
450
|
+
/**
|
|
451
|
+
* FillerPause is one paused filler; see Filler.pause_reason.
|
|
452
|
+
*
|
|
453
|
+
* @generated from message toshi.workspace.v1.FillerPause
|
|
454
|
+
*/
|
|
455
|
+
export type FillerPauseJson = {
|
|
456
|
+
/**
|
|
457
|
+
* @generated from field: string filler = 1;
|
|
458
|
+
*/
|
|
459
|
+
filler?: string;
|
|
460
|
+
/**
|
|
461
|
+
* tenant_suspended, tenant_deleting, tenant_deleted, tenant_closed,
|
|
462
|
+
* installation_removed, installation_suspended, installation_ambiguous,
|
|
463
|
+
* budget_spent or budget_off.
|
|
464
|
+
*
|
|
465
|
+
* @generated from field: string reason = 2;
|
|
466
|
+
*/
|
|
467
|
+
reason?: string;
|
|
468
|
+
/**
|
|
469
|
+
* When a filler pass first found the pause.
|
|
470
|
+
*
|
|
471
|
+
* @generated from field: google.protobuf.Timestamp since = 3;
|
|
472
|
+
*/
|
|
473
|
+
since?: TimestampJson;
|
|
474
|
+
/**
|
|
475
|
+
* When a filler pass last read the states; see Filler.pause_as_of.
|
|
476
|
+
*
|
|
477
|
+
* @generated from field: google.protobuf.Timestamp as_of = 4;
|
|
478
|
+
*/
|
|
479
|
+
asOf?: TimestampJson;
|
|
480
|
+
};
|
|
481
|
+
/**
|
|
482
|
+
* Describes the message toshi.workspace.v1.FillerPause.
|
|
483
|
+
* Use `create(FillerPauseSchema)` to create a new message.
|
|
484
|
+
*/
|
|
485
|
+
export declare const FillerPauseSchema: GenMessage<FillerPause, {
|
|
486
|
+
jsonType: FillerPauseJson;
|
|
487
|
+
}>;
|
|
488
|
+
/**
|
|
489
|
+
* @generated from message toshi.workspace.v1.ListFillersRequest
|
|
490
|
+
*/
|
|
491
|
+
export type ListFillersRequest = Message<"toshi.workspace.v1.ListFillersRequest"> & {
|
|
492
|
+
/**
|
|
493
|
+
* The most fillers in one page; zero lets the server choose.
|
|
494
|
+
*
|
|
495
|
+
* @generated from field: int32 page_size = 1;
|
|
496
|
+
*/
|
|
497
|
+
pageSize: number;
|
|
498
|
+
/**
|
|
499
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
500
|
+
*
|
|
501
|
+
* @generated from field: string page_token = 2;
|
|
502
|
+
*/
|
|
503
|
+
pageToken: string;
|
|
504
|
+
};
|
|
505
|
+
/**
|
|
506
|
+
* @generated from message toshi.workspace.v1.ListFillersRequest
|
|
507
|
+
*/
|
|
508
|
+
export type ListFillersRequestJson = {
|
|
509
|
+
/**
|
|
510
|
+
* The most fillers in one page; zero lets the server choose.
|
|
511
|
+
*
|
|
512
|
+
* @generated from field: int32 page_size = 1;
|
|
513
|
+
*/
|
|
514
|
+
pageSize?: number;
|
|
515
|
+
/**
|
|
516
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
517
|
+
*
|
|
518
|
+
* @generated from field: string page_token = 2;
|
|
519
|
+
*/
|
|
520
|
+
pageToken?: string;
|
|
521
|
+
};
|
|
522
|
+
/**
|
|
523
|
+
* Describes the message toshi.workspace.v1.ListFillersRequest.
|
|
524
|
+
* Use `create(ListFillersRequestSchema)` to create a new message.
|
|
525
|
+
*/
|
|
526
|
+
export declare const ListFillersRequestSchema: GenMessage<ListFillersRequest, {
|
|
527
|
+
jsonType: ListFillersRequestJson;
|
|
528
|
+
}>;
|
|
529
|
+
/**
|
|
530
|
+
* @generated from message toshi.workspace.v1.ListFillersResponse
|
|
531
|
+
*/
|
|
532
|
+
export type ListFillersResponse = Message<"toshi.workspace.v1.ListFillersResponse"> & {
|
|
533
|
+
/**
|
|
534
|
+
* @generated from field: repeated toshi.workspace.v1.Filler fillers = 1;
|
|
535
|
+
*/
|
|
536
|
+
fillers: Filler[];
|
|
537
|
+
/**
|
|
538
|
+
* Empty on the last page.
|
|
539
|
+
*
|
|
540
|
+
* @generated from field: string next_page_token = 2;
|
|
541
|
+
*/
|
|
542
|
+
nextPageToken: string;
|
|
543
|
+
/**
|
|
544
|
+
* Minutes of the workspace's filler runs that finished in the last 24
|
|
545
|
+
* hours, per host, on its own hosts only: no other workspace's run and
|
|
546
|
+
* no host Toshi runs for many workspaces is counted. Every page holds
|
|
547
|
+
* all of them.
|
|
548
|
+
*
|
|
549
|
+
* @generated from field: repeated toshi.workspace.v1.FillerHostMinutes host_minutes = 3;
|
|
550
|
+
*/
|
|
551
|
+
hostMinutes: FillerHostMinutes[];
|
|
552
|
+
};
|
|
553
|
+
/**
|
|
554
|
+
* @generated from message toshi.workspace.v1.ListFillersResponse
|
|
555
|
+
*/
|
|
556
|
+
export type ListFillersResponseJson = {
|
|
557
|
+
/**
|
|
558
|
+
* @generated from field: repeated toshi.workspace.v1.Filler fillers = 1;
|
|
559
|
+
*/
|
|
560
|
+
fillers?: FillerJson[];
|
|
561
|
+
/**
|
|
562
|
+
* Empty on the last page.
|
|
563
|
+
*
|
|
564
|
+
* @generated from field: string next_page_token = 2;
|
|
565
|
+
*/
|
|
566
|
+
nextPageToken?: string;
|
|
567
|
+
/**
|
|
568
|
+
* Minutes of the workspace's filler runs that finished in the last 24
|
|
569
|
+
* hours, per host, on its own hosts only: no other workspace's run and
|
|
570
|
+
* no host Toshi runs for many workspaces is counted. Every page holds
|
|
571
|
+
* all of them.
|
|
572
|
+
*
|
|
573
|
+
* @generated from field: repeated toshi.workspace.v1.FillerHostMinutes host_minutes = 3;
|
|
574
|
+
*/
|
|
575
|
+
hostMinutes?: FillerHostMinutesJson[];
|
|
576
|
+
};
|
|
577
|
+
/**
|
|
578
|
+
* Describes the message toshi.workspace.v1.ListFillersResponse.
|
|
579
|
+
* Use `create(ListFillersResponseSchema)` to create a new message.
|
|
580
|
+
*/
|
|
581
|
+
export declare const ListFillersResponseSchema: GenMessage<ListFillersResponse, {
|
|
582
|
+
jsonType: ListFillersResponseJson;
|
|
583
|
+
}>;
|
|
584
|
+
/**
|
|
585
|
+
* @generated from message toshi.workspace.v1.PutFillerRequest
|
|
586
|
+
*/
|
|
587
|
+
export type PutFillerRequest = Message<"toshi.workspace.v1.PutFillerRequest"> & {
|
|
588
|
+
/**
|
|
589
|
+
* source, created_at, updated_at, last_run, pause_reason, paused_since and
|
|
590
|
+
* pause_as_of are ignored.
|
|
591
|
+
*
|
|
592
|
+
* @generated from field: toshi.workspace.v1.Filler filler = 1;
|
|
593
|
+
*/
|
|
594
|
+
filler?: Filler | undefined;
|
|
595
|
+
};
|
|
596
|
+
/**
|
|
597
|
+
* @generated from message toshi.workspace.v1.PutFillerRequest
|
|
598
|
+
*/
|
|
599
|
+
export type PutFillerRequestJson = {
|
|
600
|
+
/**
|
|
601
|
+
* source, created_at, updated_at, last_run, pause_reason, paused_since and
|
|
602
|
+
* pause_as_of are ignored.
|
|
603
|
+
*
|
|
604
|
+
* @generated from field: toshi.workspace.v1.Filler filler = 1;
|
|
605
|
+
*/
|
|
606
|
+
filler?: FillerJson;
|
|
607
|
+
};
|
|
608
|
+
/**
|
|
609
|
+
* Describes the message toshi.workspace.v1.PutFillerRequest.
|
|
610
|
+
* Use `create(PutFillerRequestSchema)` to create a new message.
|
|
611
|
+
*/
|
|
612
|
+
export declare const PutFillerRequestSchema: GenMessage<PutFillerRequest, {
|
|
613
|
+
jsonType: PutFillerRequestJson;
|
|
614
|
+
}>;
|
|
615
|
+
/**
|
|
616
|
+
* @generated from message toshi.workspace.v1.PutFillerResponse
|
|
617
|
+
*/
|
|
618
|
+
export type PutFillerResponse = Message<"toshi.workspace.v1.PutFillerResponse"> & {
|
|
619
|
+
/**
|
|
620
|
+
* @generated from field: toshi.workspace.v1.Filler filler = 1;
|
|
621
|
+
*/
|
|
622
|
+
filler?: Filler | undefined;
|
|
623
|
+
};
|
|
624
|
+
/**
|
|
625
|
+
* @generated from message toshi.workspace.v1.PutFillerResponse
|
|
626
|
+
*/
|
|
627
|
+
export type PutFillerResponseJson = {
|
|
628
|
+
/**
|
|
629
|
+
* @generated from field: toshi.workspace.v1.Filler filler = 1;
|
|
630
|
+
*/
|
|
631
|
+
filler?: FillerJson;
|
|
632
|
+
};
|
|
633
|
+
/**
|
|
634
|
+
* Describes the message toshi.workspace.v1.PutFillerResponse.
|
|
635
|
+
* Use `create(PutFillerResponseSchema)` to create a new message.
|
|
636
|
+
*/
|
|
637
|
+
export declare const PutFillerResponseSchema: GenMessage<PutFillerResponse, {
|
|
638
|
+
jsonType: PutFillerResponseJson;
|
|
639
|
+
}>;
|
|
640
|
+
/**
|
|
641
|
+
* @generated from message toshi.workspace.v1.DeleteFillerRequest
|
|
642
|
+
*/
|
|
643
|
+
export type DeleteFillerRequest = Message<"toshi.workspace.v1.DeleteFillerRequest"> & {
|
|
644
|
+
/**
|
|
645
|
+
* @generated from field: string name = 1;
|
|
646
|
+
*/
|
|
647
|
+
name: string;
|
|
648
|
+
};
|
|
649
|
+
/**
|
|
650
|
+
* @generated from message toshi.workspace.v1.DeleteFillerRequest
|
|
651
|
+
*/
|
|
652
|
+
export type DeleteFillerRequestJson = {
|
|
653
|
+
/**
|
|
654
|
+
* @generated from field: string name = 1;
|
|
655
|
+
*/
|
|
656
|
+
name?: string;
|
|
657
|
+
};
|
|
658
|
+
/**
|
|
659
|
+
* Describes the message toshi.workspace.v1.DeleteFillerRequest.
|
|
660
|
+
* Use `create(DeleteFillerRequestSchema)` to create a new message.
|
|
661
|
+
*/
|
|
662
|
+
export declare const DeleteFillerRequestSchema: GenMessage<DeleteFillerRequest, {
|
|
663
|
+
jsonType: DeleteFillerRequestJson;
|
|
664
|
+
}>;
|
|
665
|
+
/**
|
|
666
|
+
* @generated from message toshi.workspace.v1.DeleteFillerResponse
|
|
667
|
+
*/
|
|
668
|
+
export type DeleteFillerResponse = Message<"toshi.workspace.v1.DeleteFillerResponse"> & {};
|
|
669
|
+
/**
|
|
670
|
+
* @generated from message toshi.workspace.v1.DeleteFillerResponse
|
|
671
|
+
*/
|
|
672
|
+
export type DeleteFillerResponseJson = {};
|
|
673
|
+
/**
|
|
674
|
+
* Describes the message toshi.workspace.v1.DeleteFillerResponse.
|
|
675
|
+
* Use `create(DeleteFillerResponseSchema)` to create a new message.
|
|
676
|
+
*/
|
|
677
|
+
export declare const DeleteFillerResponseSchema: GenMessage<DeleteFillerResponse, {
|
|
678
|
+
jsonType: DeleteFillerResponseJson;
|
|
679
|
+
}>;
|
|
680
|
+
/**
|
|
681
|
+
* @generated from message toshi.workspace.v1.SetFillerEnabledRequest
|
|
682
|
+
*/
|
|
683
|
+
export type SetFillerEnabledRequest = Message<"toshi.workspace.v1.SetFillerEnabledRequest"> & {
|
|
684
|
+
/**
|
|
685
|
+
* @generated from field: string name = 1;
|
|
686
|
+
*/
|
|
687
|
+
name: string;
|
|
688
|
+
/**
|
|
689
|
+
* @generated from field: bool enabled = 2;
|
|
690
|
+
*/
|
|
691
|
+
enabled: boolean;
|
|
692
|
+
};
|
|
693
|
+
/**
|
|
694
|
+
* @generated from message toshi.workspace.v1.SetFillerEnabledRequest
|
|
695
|
+
*/
|
|
696
|
+
export type SetFillerEnabledRequestJson = {
|
|
697
|
+
/**
|
|
698
|
+
* @generated from field: string name = 1;
|
|
699
|
+
*/
|
|
700
|
+
name?: string;
|
|
701
|
+
/**
|
|
702
|
+
* @generated from field: bool enabled = 2;
|
|
703
|
+
*/
|
|
704
|
+
enabled?: boolean;
|
|
705
|
+
};
|
|
706
|
+
/**
|
|
707
|
+
* Describes the message toshi.workspace.v1.SetFillerEnabledRequest.
|
|
708
|
+
* Use `create(SetFillerEnabledRequestSchema)` to create a new message.
|
|
709
|
+
*/
|
|
710
|
+
export declare const SetFillerEnabledRequestSchema: GenMessage<SetFillerEnabledRequest, {
|
|
711
|
+
jsonType: SetFillerEnabledRequestJson;
|
|
712
|
+
}>;
|
|
713
|
+
/**
|
|
714
|
+
* @generated from message toshi.workspace.v1.SetFillerEnabledResponse
|
|
715
|
+
*/
|
|
716
|
+
export type SetFillerEnabledResponse = Message<"toshi.workspace.v1.SetFillerEnabledResponse"> & {
|
|
717
|
+
/**
|
|
718
|
+
* @generated from field: toshi.workspace.v1.Filler filler = 1;
|
|
719
|
+
*/
|
|
720
|
+
filler?: Filler | undefined;
|
|
721
|
+
};
|
|
722
|
+
/**
|
|
723
|
+
* @generated from message toshi.workspace.v1.SetFillerEnabledResponse
|
|
724
|
+
*/
|
|
725
|
+
export type SetFillerEnabledResponseJson = {
|
|
726
|
+
/**
|
|
727
|
+
* @generated from field: toshi.workspace.v1.Filler filler = 1;
|
|
728
|
+
*/
|
|
729
|
+
filler?: FillerJson;
|
|
730
|
+
};
|
|
731
|
+
/**
|
|
732
|
+
* Describes the message toshi.workspace.v1.SetFillerEnabledResponse.
|
|
733
|
+
* Use `create(SetFillerEnabledResponseSchema)` to create a new message.
|
|
734
|
+
*/
|
|
735
|
+
export declare const SetFillerEnabledResponseSchema: GenMessage<SetFillerEnabledResponse, {
|
|
736
|
+
jsonType: SetFillerEnabledResponseJson;
|
|
737
|
+
}>;
|
|
738
|
+
/**
|
|
739
|
+
* @generated from message toshi.workspace.v1.ListFillerRunsRequest
|
|
740
|
+
*/
|
|
741
|
+
export type ListFillerRunsRequest = Message<"toshi.workspace.v1.ListFillerRunsRequest"> & {
|
|
742
|
+
/**
|
|
743
|
+
* Only this filler's runs. Empty: every filler's.
|
|
744
|
+
*
|
|
745
|
+
* @generated from field: string filler = 1;
|
|
746
|
+
*/
|
|
747
|
+
filler: string;
|
|
748
|
+
/**
|
|
749
|
+
* The most runs in one page; zero lets the server choose.
|
|
750
|
+
*
|
|
751
|
+
* @generated from field: int32 page_size = 2;
|
|
752
|
+
*/
|
|
753
|
+
pageSize: number;
|
|
754
|
+
/**
|
|
755
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
756
|
+
*
|
|
757
|
+
* @generated from field: string page_token = 3;
|
|
758
|
+
*/
|
|
759
|
+
pageToken: string;
|
|
760
|
+
};
|
|
761
|
+
/**
|
|
762
|
+
* @generated from message toshi.workspace.v1.ListFillerRunsRequest
|
|
763
|
+
*/
|
|
764
|
+
export type ListFillerRunsRequestJson = {
|
|
765
|
+
/**
|
|
766
|
+
* Only this filler's runs. Empty: every filler's.
|
|
767
|
+
*
|
|
768
|
+
* @generated from field: string filler = 1;
|
|
769
|
+
*/
|
|
770
|
+
filler?: string;
|
|
771
|
+
/**
|
|
772
|
+
* The most runs in one page; zero lets the server choose.
|
|
773
|
+
*
|
|
774
|
+
* @generated from field: int32 page_size = 2;
|
|
775
|
+
*/
|
|
776
|
+
pageSize?: number;
|
|
777
|
+
/**
|
|
778
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
779
|
+
*
|
|
780
|
+
* @generated from field: string page_token = 3;
|
|
781
|
+
*/
|
|
782
|
+
pageToken?: string;
|
|
783
|
+
};
|
|
784
|
+
/**
|
|
785
|
+
* Describes the message toshi.workspace.v1.ListFillerRunsRequest.
|
|
786
|
+
* Use `create(ListFillerRunsRequestSchema)` to create a new message.
|
|
787
|
+
*/
|
|
788
|
+
export declare const ListFillerRunsRequestSchema: GenMessage<ListFillerRunsRequest, {
|
|
789
|
+
jsonType: ListFillerRunsRequestJson;
|
|
790
|
+
}>;
|
|
791
|
+
/**
|
|
792
|
+
* @generated from message toshi.workspace.v1.ListFillerRunsResponse
|
|
793
|
+
*/
|
|
794
|
+
export type ListFillerRunsResponse = Message<"toshi.workspace.v1.ListFillerRunsResponse"> & {
|
|
795
|
+
/**
|
|
796
|
+
* @generated from field: repeated toshi.workspace.v1.FillerRun runs = 1;
|
|
797
|
+
*/
|
|
798
|
+
runs: FillerRun[];
|
|
799
|
+
/**
|
|
800
|
+
* The paused fillers among those the request covers; see
|
|
801
|
+
* Filler.pause_reason. Every page holds all of them.
|
|
802
|
+
*
|
|
803
|
+
* @generated from field: repeated toshi.workspace.v1.FillerPause pauses = 2;
|
|
804
|
+
*/
|
|
805
|
+
pauses: FillerPause[];
|
|
806
|
+
/**
|
|
807
|
+
* Empty on the last page.
|
|
808
|
+
*
|
|
809
|
+
* @generated from field: string next_page_token = 3;
|
|
810
|
+
*/
|
|
811
|
+
nextPageToken: string;
|
|
812
|
+
};
|
|
813
|
+
/**
|
|
814
|
+
* @generated from message toshi.workspace.v1.ListFillerRunsResponse
|
|
815
|
+
*/
|
|
816
|
+
export type ListFillerRunsResponseJson = {
|
|
817
|
+
/**
|
|
818
|
+
* @generated from field: repeated toshi.workspace.v1.FillerRun runs = 1;
|
|
819
|
+
*/
|
|
820
|
+
runs?: FillerRunJson[];
|
|
821
|
+
/**
|
|
822
|
+
* The paused fillers among those the request covers; see
|
|
823
|
+
* Filler.pause_reason. Every page holds all of them.
|
|
824
|
+
*
|
|
825
|
+
* @generated from field: repeated toshi.workspace.v1.FillerPause pauses = 2;
|
|
826
|
+
*/
|
|
827
|
+
pauses?: FillerPauseJson[];
|
|
828
|
+
/**
|
|
829
|
+
* Empty on the last page.
|
|
830
|
+
*
|
|
831
|
+
* @generated from field: string next_page_token = 3;
|
|
832
|
+
*/
|
|
833
|
+
nextPageToken?: string;
|
|
834
|
+
};
|
|
835
|
+
/**
|
|
836
|
+
* Describes the message toshi.workspace.v1.ListFillerRunsResponse.
|
|
837
|
+
* Use `create(ListFillerRunsResponseSchema)` to create a new message.
|
|
838
|
+
*/
|
|
839
|
+
export declare const ListFillerRunsResponseSchema: GenMessage<ListFillerRunsResponse, {
|
|
840
|
+
jsonType: ListFillerRunsResponseJson;
|
|
841
|
+
}>;
|
|
842
|
+
/**
|
|
843
|
+
* FillerService manages the workspace's fillers: workflows of its own
|
|
844
|
+
* repositories that Toshi dispatches as low-priority filler jobs on room
|
|
845
|
+
* above the warm pool targets, and stops the moment a job needs the room.
|
|
846
|
+
* A filler of another workspace is NOT_FOUND.
|
|
847
|
+
*
|
|
848
|
+
* A workspace's API token acts on its own workspace; a dashboard session
|
|
849
|
+
* names one of its workspaces in the Toshi-Workspace header. A
|
|
850
|
+
* token limited to a project or an environment is refused with
|
|
851
|
+
* PERMISSION_DENIED. A suspended workspace reads its fillers and their
|
|
852
|
+
* runs, and every other call is refused for it with FAILED_PRECONDITION.
|
|
853
|
+
*
|
|
854
|
+
* @generated from service toshi.workspace.v1.FillerService
|
|
855
|
+
*/
|
|
856
|
+
export declare const FillerService: GenService<{
|
|
857
|
+
/**
|
|
858
|
+
* ListFillers returns the workspace's fillers, ordered by name, each with
|
|
859
|
+
* its latest run.
|
|
860
|
+
*
|
|
861
|
+
* A page holds 100 fillers when page_size is zero, and 1000 at most.
|
|
862
|
+
*
|
|
863
|
+
* @generated from rpc toshi.workspace.v1.FillerService.ListFillers
|
|
864
|
+
*/
|
|
865
|
+
listFillers: {
|
|
866
|
+
methodKind: "unary";
|
|
867
|
+
input: typeof ListFillersRequestSchema;
|
|
868
|
+
output: typeof ListFillersResponseSchema;
|
|
869
|
+
};
|
|
870
|
+
/**
|
|
871
|
+
* PutFiller adds a filler or replaces the one with the same name and
|
|
872
|
+
* returns it as stored. The repository must have run a job of the
|
|
873
|
+
* workspace. A filler from the control plane's configuration cannot be
|
|
874
|
+
* replaced (FAILED_PRECONDITION). A bad field fails with
|
|
875
|
+
* INVALID_ARGUMENT.
|
|
876
|
+
*
|
|
877
|
+
* @generated from rpc toshi.workspace.v1.FillerService.PutFiller
|
|
878
|
+
*/
|
|
879
|
+
putFiller: {
|
|
880
|
+
methodKind: "unary";
|
|
881
|
+
input: typeof PutFillerRequestSchema;
|
|
882
|
+
output: typeof PutFillerResponseSchema;
|
|
883
|
+
};
|
|
884
|
+
/**
|
|
885
|
+
* DeleteFiller removes a filler and stops its running run. A configured
|
|
886
|
+
* filler cannot be removed (FAILED_PRECONDITION); an unknown name fails
|
|
887
|
+
* with NOT_FOUND.
|
|
888
|
+
*
|
|
889
|
+
* @generated from rpc toshi.workspace.v1.FillerService.DeleteFiller
|
|
890
|
+
*/
|
|
891
|
+
deleteFiller: {
|
|
892
|
+
methodKind: "unary";
|
|
893
|
+
input: typeof DeleteFillerRequestSchema;
|
|
894
|
+
output: typeof DeleteFillerResponseSchema;
|
|
895
|
+
};
|
|
896
|
+
/**
|
|
897
|
+
* SetFillerEnabled turns a filler on or off and returns it. Turning it off
|
|
898
|
+
* stops its running run. An unknown name fails with NOT_FOUND.
|
|
899
|
+
*
|
|
900
|
+
* @generated from rpc toshi.workspace.v1.FillerService.SetFillerEnabled
|
|
901
|
+
*/
|
|
902
|
+
setFillerEnabled: {
|
|
903
|
+
methodKind: "unary";
|
|
904
|
+
input: typeof SetFillerEnabledRequestSchema;
|
|
905
|
+
output: typeof SetFillerEnabledResponseSchema;
|
|
906
|
+
};
|
|
907
|
+
/**
|
|
908
|
+
* ListFillerRuns returns the runs of the workspace's fillers, newest
|
|
909
|
+
* first.
|
|
910
|
+
*
|
|
911
|
+
* A page holds 50 runs when page_size is zero, and 500 at most.
|
|
912
|
+
*
|
|
913
|
+
* @generated from rpc toshi.workspace.v1.FillerService.ListFillerRuns
|
|
914
|
+
*/
|
|
915
|
+
listFillerRuns: {
|
|
916
|
+
methodKind: "unary";
|
|
917
|
+
input: typeof ListFillerRunsRequestSchema;
|
|
918
|
+
output: typeof ListFillerRunsResponseSchema;
|
|
919
|
+
};
|
|
920
|
+
}>;
|