@metal-stack/api 0.0.44 → 0.0.46
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/js/metalstack/admin/v2/machine_pb.d.ts +205 -1
- package/js/metalstack/admin/v2/machine_pb.js +41 -1
- package/js/metalstack/admin/v2/machine_pb.ts +233 -2
- package/js/metalstack/admin/v2/network_pb.js +1 -1
- package/js/metalstack/admin/v2/network_pb.ts +1 -1
- package/js/metalstack/admin/v2/task_pb.d.ts +396 -0
- package/js/metalstack/admin/v2/task_pb.js +121 -0
- package/js/metalstack/admin/v2/task_pb.ts +467 -0
- package/js/metalstack/api/v2/common_pb.d.ts +35 -0
- package/js/metalstack/api/v2/common_pb.js +41 -5
- package/js/metalstack/api/v2/common_pb.ts +47 -5
- package/js/metalstack/api/v2/machine_pb.d.ts +439 -16
- package/js/metalstack/api/v2/machine_pb.js +159 -30
- package/js/metalstack/api/v2/machine_pb.ts +536 -45
- package/js/metalstack/api/v2/method_pb.d.ts +9 -1
- package/js/metalstack/api/v2/method_pb.js +1 -1
- package/js/metalstack/api/v2/method_pb.ts +9 -2
- package/js/metalstack/api/v2/network_pb.js +1 -1
- package/js/metalstack/api/v2/network_pb.ts +1 -1
- package/js/metalstack/api/v2/partition_pb.js +1 -1
- package/js/metalstack/api/v2/partition_pb.ts +1 -1
- package/js/metalstack/api/v2/predefined_rules_pb.d.ts +2 -2
- package/js/metalstack/api/v2/predefined_rules_pb.js +3 -3
- package/js/metalstack/api/v2/predefined_rules_pb.ts +3 -3
- package/js/metalstack/api/v2/switch_pb.js +1 -1
- package/js/metalstack/api/v2/switch_pb.ts +1 -1
- package/js/metalstack/api/v2/token_pb.d.ts +28 -3
- package/js/metalstack/api/v2/token_pb.js +1 -1
- package/js/metalstack/api/v2/token_pb.ts +26 -4
- package/js/metalstack/infra/v2/bmc_pb.d.ts +127 -19
- package/js/metalstack/infra/v2/bmc_pb.js +20 -7
- package/js/metalstack/infra/v2/bmc_pb.ts +136 -18
- package/js/metalstack/infra/v2/boot_pb.d.ts +368 -0
- package/js/metalstack/infra/v2/boot_pb.js +80 -0
- package/js/metalstack/infra/v2/boot_pb.ts +435 -0
- package/package.json +1 -1
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file metalstack/admin/v2/task.proto (package metalstack.admin.v2, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file metalstack/admin/v2/task.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_metalstack_admin_v2_task: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("Ch5tZXRhbHN0YWNrL2FkbWluL3YyL3Rhc2sucHJvdG8SE21ldGFsc3RhY2suYWRtaW4udjIiNwoVVGFza1NlcnZpY2VHZXRSZXF1ZXN0Eg8KB3Rhc2tfaWQYASABKAkSDQoFcXVldWUYAiABKAkiRQoWVGFza1NlcnZpY2VHZXRSZXNwb25zZRIrCgR0YXNrGAEgASgLMh0ubWV0YWxzdGFjay5hZG1pbi52Mi5UYXNrSW5mbyI6ChhUYXNrU2VydmljZURlbGV0ZVJlcXVlc3QSDwoHdGFza19pZBgBIAEoCRINCgVxdWV1ZRgCIAEoCSIbChlUYXNrU2VydmljZURlbGV0ZVJlc3BvbnNlIhoKGFRhc2tT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RtaW4vdjI7YWRtaW52MqICA01BWKoCE01ldGFsc3RhY2suQWRtaW4uVjLKAhNNZXRhbHN0YWNrXEFkbWluXFYy4gIfTWV0YWxzdGFja1xBZG1pblxWMlxHUEJNZXRhZGF0YeoCFU1ldGFsc3RhY2s6OkFkbWluOjpWMmIGcHJvdG8z", [file_google_protobuf_duration, file_google_protobuf_timestamp, file_metalstack_api_v2_common]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* TaskServiceGetRequest is the message to a get task request
|
|
20
|
+
*
|
|
21
|
+
* @generated from message metalstack.admin.v2.TaskServiceGetRequest
|
|
22
|
+
*/
|
|
23
|
+
export type TaskServiceGetRequest = Message<"metalstack.admin.v2.TaskServiceGetRequest"> & {
|
|
24
|
+
/**
|
|
25
|
+
* TaskId to get
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: string task_id = 1;
|
|
28
|
+
*/
|
|
29
|
+
taskId: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Queue where this task was scheduled to
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: string queue = 2;
|
|
35
|
+
*/
|
|
36
|
+
queue: string;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message metalstack.admin.v2.TaskServiceGetRequest.
|
|
41
|
+
* Use `create(TaskServiceGetRequestSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export const TaskServiceGetRequestSchema: GenMessage<TaskServiceGetRequest> = /*@__PURE__*/
|
|
44
|
+
messageDesc(file_metalstack_admin_v2_task, 0);
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* TaskServiceGetResponse is the response to a task get request
|
|
48
|
+
*
|
|
49
|
+
* @generated from message metalstack.admin.v2.TaskServiceGetResponse
|
|
50
|
+
*/
|
|
51
|
+
export type TaskServiceGetResponse = Message<"metalstack.admin.v2.TaskServiceGetResponse"> & {
|
|
52
|
+
/**
|
|
53
|
+
* Task contains the task details
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: metalstack.admin.v2.TaskInfo task = 1;
|
|
56
|
+
*/
|
|
57
|
+
task?: TaskInfo;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Describes the message metalstack.admin.v2.TaskServiceGetResponse.
|
|
62
|
+
* Use `create(TaskServiceGetResponseSchema)` to create a new message.
|
|
63
|
+
*/
|
|
64
|
+
export const TaskServiceGetResponseSchema: GenMessage<TaskServiceGetResponse> = /*@__PURE__*/
|
|
65
|
+
messageDesc(file_metalstack_admin_v2_task, 1);
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* TaskServiceDeleteRequest is the message to a delete task request
|
|
69
|
+
*
|
|
70
|
+
* @generated from message metalstack.admin.v2.TaskServiceDeleteRequest
|
|
71
|
+
*/
|
|
72
|
+
export type TaskServiceDeleteRequest = Message<"metalstack.admin.v2.TaskServiceDeleteRequest"> & {
|
|
73
|
+
/**
|
|
74
|
+
* TaskId to cancel
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: string task_id = 1;
|
|
77
|
+
*/
|
|
78
|
+
taskId: string;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Queue where this task was scheduled to
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: string queue = 2;
|
|
84
|
+
*/
|
|
85
|
+
queue: string;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Describes the message metalstack.admin.v2.TaskServiceDeleteRequest.
|
|
90
|
+
* Use `create(TaskServiceDeleteRequestSchema)` to create a new message.
|
|
91
|
+
*/
|
|
92
|
+
export const TaskServiceDeleteRequestSchema: GenMessage<TaskServiceDeleteRequest> = /*@__PURE__*/
|
|
93
|
+
messageDesc(file_metalstack_admin_v2_task, 2);
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* TaskServiceDeleteResponse is the response to a task delete request
|
|
97
|
+
*
|
|
98
|
+
* @generated from message metalstack.admin.v2.TaskServiceDeleteResponse
|
|
99
|
+
*/
|
|
100
|
+
export type TaskServiceDeleteResponse = Message<"metalstack.admin.v2.TaskServiceDeleteResponse"> & {
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message metalstack.admin.v2.TaskServiceDeleteResponse.
|
|
105
|
+
* Use `create(TaskServiceDeleteResponseSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export const TaskServiceDeleteResponseSchema: GenMessage<TaskServiceDeleteResponse> = /*@__PURE__*/
|
|
108
|
+
messageDesc(file_metalstack_admin_v2_task, 3);
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* TaskServiceQueuesRequest is the message to get all queues
|
|
112
|
+
*
|
|
113
|
+
* @generated from message metalstack.admin.v2.TaskServiceQueuesRequest
|
|
114
|
+
*/
|
|
115
|
+
export type TaskServiceQueuesRequest = Message<"metalstack.admin.v2.TaskServiceQueuesRequest"> & {
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Describes the message metalstack.admin.v2.TaskServiceQueuesRequest.
|
|
120
|
+
* Use `create(TaskServiceQueuesRequestSchema)` to create a new message.
|
|
121
|
+
*/
|
|
122
|
+
export const TaskServiceQueuesRequestSchema: GenMessage<TaskServiceQueuesRequest> = /*@__PURE__*/
|
|
123
|
+
messageDesc(file_metalstack_admin_v2_task, 4);
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* TaskServiceQueuesResponse is the response to a queues request
|
|
127
|
+
*
|
|
128
|
+
* @generated from message metalstack.admin.v2.TaskServiceQueuesResponse
|
|
129
|
+
*/
|
|
130
|
+
export type TaskServiceQueuesResponse = Message<"metalstack.admin.v2.TaskServiceQueuesResponse"> & {
|
|
131
|
+
/**
|
|
132
|
+
* Queues configured for the async system
|
|
133
|
+
*
|
|
134
|
+
* @generated from field: repeated string queues = 1;
|
|
135
|
+
*/
|
|
136
|
+
queues: string[];
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Describes the message metalstack.admin.v2.TaskServiceQueuesResponse.
|
|
141
|
+
* Use `create(TaskServiceQueuesResponseSchema)` to create a new message.
|
|
142
|
+
*/
|
|
143
|
+
export const TaskServiceQueuesResponseSchema: GenMessage<TaskServiceQueuesResponse> = /*@__PURE__*/
|
|
144
|
+
messageDesc(file_metalstack_admin_v2_task, 5);
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* TaskServiceListRequest is the message to a task list request
|
|
148
|
+
*
|
|
149
|
+
* @generated from message metalstack.admin.v2.TaskServiceListRequest
|
|
150
|
+
*/
|
|
151
|
+
export type TaskServiceListRequest = Message<"metalstack.admin.v2.TaskServiceListRequest"> & {
|
|
152
|
+
/**
|
|
153
|
+
* Queue where this tasks should be listed
|
|
154
|
+
* will return tasks from all queues if not specified
|
|
155
|
+
*
|
|
156
|
+
* @generated from field: optional string queue = 1;
|
|
157
|
+
*/
|
|
158
|
+
queue?: string;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Count of tasks to return
|
|
162
|
+
*
|
|
163
|
+
* @generated from field: optional uint32 count = 2;
|
|
164
|
+
*/
|
|
165
|
+
count?: number;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Page of tasks to return
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: optional uint32 page = 3;
|
|
171
|
+
*/
|
|
172
|
+
page?: number;
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Describes the message metalstack.admin.v2.TaskServiceListRequest.
|
|
177
|
+
* Use `create(TaskServiceListRequestSchema)` to create a new message.
|
|
178
|
+
*/
|
|
179
|
+
export const TaskServiceListRequestSchema: GenMessage<TaskServiceListRequest> = /*@__PURE__*/
|
|
180
|
+
messageDesc(file_metalstack_admin_v2_task, 6);
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* TaskServiceListResponse is the response to a task list request
|
|
184
|
+
*
|
|
185
|
+
* @generated from message metalstack.admin.v2.TaskServiceListResponse
|
|
186
|
+
*/
|
|
187
|
+
export type TaskServiceListResponse = Message<"metalstack.admin.v2.TaskServiceListResponse"> & {
|
|
188
|
+
/**
|
|
189
|
+
* Tasks contains the requested list of tasks
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: repeated metalstack.admin.v2.TaskInfo tasks = 1;
|
|
192
|
+
*/
|
|
193
|
+
tasks: TaskInfo[];
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Describes the message metalstack.admin.v2.TaskServiceListResponse.
|
|
198
|
+
* Use `create(TaskServiceListResponseSchema)` to create a new message.
|
|
199
|
+
*/
|
|
200
|
+
export const TaskServiceListResponseSchema: GenMessage<TaskServiceListResponse> = /*@__PURE__*/
|
|
201
|
+
messageDesc(file_metalstack_admin_v2_task, 7);
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* TaskInfo contains details of an async task
|
|
205
|
+
*
|
|
206
|
+
* @generated from message metalstack.admin.v2.TaskInfo
|
|
207
|
+
*/
|
|
208
|
+
export type TaskInfo = Message<"metalstack.admin.v2.TaskInfo"> & {
|
|
209
|
+
/**
|
|
210
|
+
* ID is the identifier of the task.
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: string id = 1;
|
|
213
|
+
*/
|
|
214
|
+
id: string;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Queue is the name of the queue in which the task belongs.
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: string queue = 2;
|
|
220
|
+
*/
|
|
221
|
+
queue: string;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Type is the type name of the task.
|
|
225
|
+
*
|
|
226
|
+
* @generated from field: string type = 3;
|
|
227
|
+
*/
|
|
228
|
+
type: string;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Payload is the payload data of the task.
|
|
232
|
+
*
|
|
233
|
+
* @generated from field: bytes payload = 4;
|
|
234
|
+
*/
|
|
235
|
+
payload: Uint8Array;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* State indicates the task state.
|
|
239
|
+
*
|
|
240
|
+
* @generated from field: metalstack.admin.v2.TaskState state = 5;
|
|
241
|
+
*/
|
|
242
|
+
state: TaskState;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* MaxRetry is the maximum number of times the task can be retried.
|
|
246
|
+
*
|
|
247
|
+
* @generated from field: int32 max_retry = 6;
|
|
248
|
+
*/
|
|
249
|
+
maxRetry: number;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Retried is the number of times the task has retried so far.
|
|
253
|
+
*
|
|
254
|
+
* @generated from field: int32 retried = 7;
|
|
255
|
+
*/
|
|
256
|
+
retried: number;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* LastError is the error message from the last failure.
|
|
260
|
+
*
|
|
261
|
+
* @generated from field: string last_error = 8;
|
|
262
|
+
*/
|
|
263
|
+
lastError: string;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* LastFailedAt is the time time of the last failure if any.
|
|
267
|
+
* If the task has no failures, LastFailedAt is zero time (i.e. time.Time{}).
|
|
268
|
+
*
|
|
269
|
+
* @generated from field: google.protobuf.Timestamp last_failed_at = 9;
|
|
270
|
+
*/
|
|
271
|
+
lastFailedAt?: Timestamp;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Timeout is the duration the task can be processed by Handler before being retried,
|
|
275
|
+
*
|
|
276
|
+
* @generated from field: google.protobuf.Duration timeout = 10;
|
|
277
|
+
*/
|
|
278
|
+
timeout?: Duration;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Deadline is the deadline for the task.
|
|
282
|
+
*
|
|
283
|
+
* @generated from field: google.protobuf.Timestamp deadline = 11;
|
|
284
|
+
*/
|
|
285
|
+
deadline?: Timestamp;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Group is the name of the group in which the task belongs.
|
|
289
|
+
*
|
|
290
|
+
* Tasks in the same queue can be grouped together by Group name and will be aggregated into one task
|
|
291
|
+
* by a Server processing the queue.
|
|
292
|
+
*
|
|
293
|
+
* Empty string (default) indicates task does not belong to any groups, and no aggregation will be applied to the task.
|
|
294
|
+
*
|
|
295
|
+
* @generated from field: string group = 12;
|
|
296
|
+
*/
|
|
297
|
+
group: string;
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* NextProcessAt is the time the task is scheduled to be processed,
|
|
301
|
+
* zero if not applicable.
|
|
302
|
+
*
|
|
303
|
+
* @generated from field: google.protobuf.Timestamp next_process_at = 13;
|
|
304
|
+
*/
|
|
305
|
+
nextProcessAt?: Timestamp;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* IsOrphaned describes whether the task is left in active state with no worker processing it.
|
|
309
|
+
* An orphaned task indicates that the worker has crashed or experienced network failures and was not able to
|
|
310
|
+
* extend its lease on the task.
|
|
311
|
+
*
|
|
312
|
+
* This task will be recovered by running a server against the queue the task is in.
|
|
313
|
+
* This field is only applicable to tasks with TaskStateActive.
|
|
314
|
+
*
|
|
315
|
+
* @generated from field: bool is_orphaned = 14;
|
|
316
|
+
*/
|
|
317
|
+
isOrphaned: boolean;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Retention is duration of the retention period after the task is successfully processed.
|
|
321
|
+
*
|
|
322
|
+
* @generated from field: google.protobuf.Duration retention = 15;
|
|
323
|
+
*/
|
|
324
|
+
retention?: Duration;
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* CompletedAt is the time when the task is processed successfully.
|
|
328
|
+
* Zero value (i.e. time.Time{}) indicates no value.
|
|
329
|
+
*
|
|
330
|
+
* @generated from field: google.protobuf.Timestamp completed_at = 16;
|
|
331
|
+
*/
|
|
332
|
+
completedAt?: Timestamp;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Result holds the result data associated with the task.
|
|
336
|
+
* Use ResultWriter to write result data from the Handler.
|
|
337
|
+
*
|
|
338
|
+
* @generated from field: bytes result = 17;
|
|
339
|
+
*/
|
|
340
|
+
result: Uint8Array;
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Describes the message metalstack.admin.v2.TaskInfo.
|
|
345
|
+
* Use `create(TaskInfoSchema)` to create a new message.
|
|
346
|
+
*/
|
|
347
|
+
export const TaskInfoSchema: GenMessage<TaskInfo> = /*@__PURE__*/
|
|
348
|
+
messageDesc(file_metalstack_admin_v2_task, 8);
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* TaskState defines the state of the task
|
|
352
|
+
*
|
|
353
|
+
* @generated from enum metalstack.admin.v2.TaskState
|
|
354
|
+
*/
|
|
355
|
+
export enum TaskState {
|
|
356
|
+
/**
|
|
357
|
+
* TASK_STATE_UNSPECIFIED indicates a undefined state
|
|
358
|
+
*
|
|
359
|
+
* @generated from enum value: TASK_STATE_UNSPECIFIED = 0;
|
|
360
|
+
*/
|
|
361
|
+
UNSPECIFIED = 0,
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler.
|
|
365
|
+
*
|
|
366
|
+
* @generated from enum value: TASK_STATE_ACTIVE = 1;
|
|
367
|
+
*/
|
|
368
|
+
ACTIVE = 1,
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* TASK_STATE_PENDING indicates that the task is ready to be processed by Handler.
|
|
372
|
+
*
|
|
373
|
+
* @generated from enum value: TASK_STATE_PENDING = 2;
|
|
374
|
+
*/
|
|
375
|
+
PENDING = 2,
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future.
|
|
379
|
+
*
|
|
380
|
+
* @generated from enum value: TASK_STATE_SCHEDULED = 3;
|
|
381
|
+
*/
|
|
382
|
+
SCHEDULED = 3,
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* TASK_STATE_RETRY indicates that the task has previously failed and scheduled to be processed some time in the future.
|
|
386
|
+
*
|
|
387
|
+
* @generated from enum value: TASK_STATE_RETRY = 4;
|
|
388
|
+
*/
|
|
389
|
+
RETRY = 4,
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes.
|
|
393
|
+
*
|
|
394
|
+
* @generated from enum value: TASK_STATE_ARCHIVED = 5;
|
|
395
|
+
*/
|
|
396
|
+
ARCHIVED = 5,
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires.
|
|
400
|
+
*
|
|
401
|
+
* @generated from enum value: TASK_STATE_COMPLETED = 6;
|
|
402
|
+
*/
|
|
403
|
+
COMPLETED = 6,
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task.
|
|
407
|
+
*
|
|
408
|
+
* @generated from enum value: TASK_STATE_AGGREGATING = 7;
|
|
409
|
+
*/
|
|
410
|
+
AGGREGATING = 7,
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Describes the enum metalstack.admin.v2.TaskState.
|
|
415
|
+
*/
|
|
416
|
+
export const TaskStateSchema: GenEnum<TaskState> = /*@__PURE__*/
|
|
417
|
+
enumDesc(file_metalstack_admin_v2_task, 0);
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* TaskService provides services to async tasks
|
|
421
|
+
*
|
|
422
|
+
* @generated from service metalstack.admin.v2.TaskService
|
|
423
|
+
*/
|
|
424
|
+
export const TaskService: GenService<{
|
|
425
|
+
/**
|
|
426
|
+
* Get a specific task
|
|
427
|
+
*
|
|
428
|
+
* @generated from rpc metalstack.admin.v2.TaskService.Get
|
|
429
|
+
*/
|
|
430
|
+
get: {
|
|
431
|
+
methodKind: "unary";
|
|
432
|
+
input: typeof TaskServiceGetRequestSchema;
|
|
433
|
+
output: typeof TaskServiceGetResponseSchema;
|
|
434
|
+
},
|
|
435
|
+
/**
|
|
436
|
+
* Delete a specific task
|
|
437
|
+
*
|
|
438
|
+
* @generated from rpc metalstack.admin.v2.TaskService.Delete
|
|
439
|
+
*/
|
|
440
|
+
delete: {
|
|
441
|
+
methodKind: "unary";
|
|
442
|
+
input: typeof TaskServiceDeleteRequestSchema;
|
|
443
|
+
output: typeof TaskServiceDeleteResponseSchema;
|
|
444
|
+
},
|
|
445
|
+
/**
|
|
446
|
+
* Queues returns all configures queues
|
|
447
|
+
*
|
|
448
|
+
* @generated from rpc metalstack.admin.v2.TaskService.Queues
|
|
449
|
+
*/
|
|
450
|
+
queues: {
|
|
451
|
+
methodKind: "unary";
|
|
452
|
+
input: typeof TaskServiceQueuesRequestSchema;
|
|
453
|
+
output: typeof TaskServiceQueuesResponseSchema;
|
|
454
|
+
},
|
|
455
|
+
/**
|
|
456
|
+
* List list all tasks
|
|
457
|
+
*
|
|
458
|
+
* @generated from rpc metalstack.admin.v2.TaskService.List
|
|
459
|
+
*/
|
|
460
|
+
list: {
|
|
461
|
+
methodKind: "unary";
|
|
462
|
+
input: typeof TaskServiceListRequestSchema;
|
|
463
|
+
output: typeof TaskServiceListResponseSchema;
|
|
464
|
+
},
|
|
465
|
+
}> = /*@__PURE__*/
|
|
466
|
+
serviceDesc(file_metalstack_admin_v2_task, 0);
|
|
467
|
+
|
|
@@ -272,6 +272,35 @@ export declare enum InfraRole {
|
|
|
272
272
|
* Describes the enum metalstack.api.v2.InfraRole.
|
|
273
273
|
*/
|
|
274
274
|
export declare const InfraRoleSchema: GenEnum<InfraRole>;
|
|
275
|
+
/**
|
|
276
|
+
* MachineRole specifies what role a microservice needs to call this machine service
|
|
277
|
+
*
|
|
278
|
+
* @generated from enum metalstack.api.v2.MachineRole
|
|
279
|
+
*/
|
|
280
|
+
export declare enum MachineRole {
|
|
281
|
+
/**
|
|
282
|
+
* MACHINE_ROLE_UNSPECIFIED is not specified
|
|
283
|
+
*
|
|
284
|
+
* @generated from enum value: MACHINE_ROLE_UNSPECIFIED = 0;
|
|
285
|
+
*/
|
|
286
|
+
UNSPECIFIED = 0,
|
|
287
|
+
/**
|
|
288
|
+
* MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method
|
|
289
|
+
*
|
|
290
|
+
* @generated from enum value: MACHINE_ROLE_EDITOR = 1;
|
|
291
|
+
*/
|
|
292
|
+
EDITOR = 1,
|
|
293
|
+
/**
|
|
294
|
+
* MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method
|
|
295
|
+
*
|
|
296
|
+
* @generated from enum value: MACHINE_ROLE_VIEWER = 2;
|
|
297
|
+
*/
|
|
298
|
+
VIEWER = 2
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Describes the enum metalstack.api.v2.MachineRole.
|
|
302
|
+
*/
|
|
303
|
+
export declare const MachineRoleSchema: GenEnum<MachineRole>;
|
|
275
304
|
/**
|
|
276
305
|
* Visibility of a method
|
|
277
306
|
*
|
|
@@ -399,6 +428,12 @@ export declare const auditing: GenExtension<MethodOptions, Auditing>;
|
|
|
399
428
|
* @generated from extension: repeated metalstack.api.v2.InfraRole infra_roles = 51005;
|
|
400
429
|
*/
|
|
401
430
|
export declare const infra_roles: GenExtension<MethodOptions, InfraRole[]>;
|
|
431
|
+
/**
|
|
432
|
+
* MachineRole are used to define which infra role a microservice must provide to call this method
|
|
433
|
+
*
|
|
434
|
+
* @generated from extension: repeated metalstack.api.v2.MachineRole machine_roles = 51006;
|
|
435
|
+
*/
|
|
436
|
+
export declare const machine_roles: GenExtension<MethodOptions, MachineRole[]>;
|
|
402
437
|
/**
|
|
403
438
|
* StringValue which can be set to a enum
|
|
404
439
|
*
|
|
@@ -7,7 +7,7 @@ import { file_google_protobuf_descriptor, file_google_protobuf_timestamp } from
|
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file metalstack/api/v2/common.proto.
|
|
9
9
|
*/
|
|
10
|
-
export const file_metalstack_api_v2_common = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_metalstack_api_v2_common = /*@__PURE__*/ fileDesc("Ch5tZXRhbHN0YWNrL2FwaS92Mi9jb21tb24ucHJvdG8SEW1ldGFsc3RhY2suYXBpLnYyIkIKBlBhZ2luZxIRCgRwYWdlGAEgASgESACIAQESEgoFY291bnQYAiABKARIAYgBAUIHCgVfcGFnZUIICgZfY291bnQiiAEKBkxhYmVscxJPCgZsYWJlbHMYASADKAsyJS5tZXRhbHN0YWNrLmFwaS52Mi5MYWJlbHMuTGFiZWxzRW50cnlCGLpIFZoBEiIHcgUQARiAAioHcgUQABiAAhotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIrUBCgRNZXRhEi4KBmxhYmVscxgBIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLkxhYmVsc0gAiAEBEi4KCmNyZWF0ZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhIKCmdlbmVyYXRpb24YBCABKARCCQoHX2xhYmVscyJJCgxVcGRhdGVMYWJlbHMSKQoGdXBkYXRlGAEgASgLMhkubWV0YWxzdGFjay5hcGkudjIuTGFiZWxzEg4KBnJlbW92ZRgCIAMoCSKOAQoKVXBkYXRlTWV0YRIuCgp1cGRhdGVkX2F0GAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBJQChBsb2NraW5nX3N0cmF0ZWd5GAIgASgOMiwubWV0YWxzdGFjay5hcGkudjIuT3B0aW1pc3RpY0xvY2tpbmdTdHJhdGVneUIIukgFggECEAEqhwEKClRlbmFudFJvbGUSGwoXVEVOQU5UX1JPTEVfVU5TUEVDSUZJRUQQABIVChFURU5BTlRfUk9MRV9PV05FUhABEhYKElRFTkFOVF9ST0xFX0VESVRPUhACEhYKElRFTkFOVF9ST0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XBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_descriptor, file_google_protobuf_timestamp]);
|
|
11
11
|
/**
|
|
12
12
|
* Describes the message metalstack.api.v2.Paging.
|
|
13
13
|
* Use `create(PagingSchema)` to create a new message.
|
|
@@ -173,6 +173,36 @@ export var InfraRole;
|
|
|
173
173
|
* Describes the enum metalstack.api.v2.InfraRole.
|
|
174
174
|
*/
|
|
175
175
|
export const InfraRoleSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 3);
|
|
176
|
+
/**
|
|
177
|
+
* MachineRole specifies what role a microservice needs to call this machine service
|
|
178
|
+
*
|
|
179
|
+
* @generated from enum metalstack.api.v2.MachineRole
|
|
180
|
+
*/
|
|
181
|
+
export var MachineRole;
|
|
182
|
+
(function (MachineRole) {
|
|
183
|
+
/**
|
|
184
|
+
* MACHINE_ROLE_UNSPECIFIED is not specified
|
|
185
|
+
*
|
|
186
|
+
* @generated from enum value: MACHINE_ROLE_UNSPECIFIED = 0;
|
|
187
|
+
*/
|
|
188
|
+
MachineRole[MachineRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
189
|
+
/**
|
|
190
|
+
* MACHINE_ROLE_EDITOR a microservice needs at least editor role to call this method
|
|
191
|
+
*
|
|
192
|
+
* @generated from enum value: MACHINE_ROLE_EDITOR = 1;
|
|
193
|
+
*/
|
|
194
|
+
MachineRole[MachineRole["EDITOR"] = 1] = "EDITOR";
|
|
195
|
+
/**
|
|
196
|
+
* MACHINE_ROLE_VIEWER a microservice needs at least viewer role to call this method
|
|
197
|
+
*
|
|
198
|
+
* @generated from enum value: MACHINE_ROLE_VIEWER = 2;
|
|
199
|
+
*/
|
|
200
|
+
MachineRole[MachineRole["VIEWER"] = 2] = "VIEWER";
|
|
201
|
+
})(MachineRole || (MachineRole = {}));
|
|
202
|
+
/**
|
|
203
|
+
* Describes the enum metalstack.api.v2.MachineRole.
|
|
204
|
+
*/
|
|
205
|
+
export const MachineRoleSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 4);
|
|
176
206
|
/**
|
|
177
207
|
* Visibility of a method
|
|
178
208
|
*
|
|
@@ -202,7 +232,7 @@ export var Visibility;
|
|
|
202
232
|
/**
|
|
203
233
|
* Describes the enum metalstack.api.v2.Visibility.
|
|
204
234
|
*/
|
|
205
|
-
export const VisibilitySchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common,
|
|
235
|
+
export const VisibilitySchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 5);
|
|
206
236
|
/**
|
|
207
237
|
* Auditing option specified per service method
|
|
208
238
|
* by default all service methods are included
|
|
@@ -234,7 +264,7 @@ export var Auditing;
|
|
|
234
264
|
/**
|
|
235
265
|
* Describes the enum metalstack.api.v2.Auditing.
|
|
236
266
|
*/
|
|
237
|
-
export const AuditingSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common,
|
|
267
|
+
export const AuditingSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 6);
|
|
238
268
|
/**
|
|
239
269
|
* OptimisticLockingStrategy defines how optimistic locking should be handled.
|
|
240
270
|
* It defaults to client side, which requires the UpdatedAt timestamp to be provided
|
|
@@ -266,7 +296,7 @@ export var OptimisticLockingStrategy;
|
|
|
266
296
|
/**
|
|
267
297
|
* Describes the enum metalstack.api.v2.OptimisticLockingStrategy.
|
|
268
298
|
*/
|
|
269
|
-
export const OptimisticLockingStrategySchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common,
|
|
299
|
+
export const OptimisticLockingStrategySchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_common, 7);
|
|
270
300
|
/**
|
|
271
301
|
* TenantRoles are used to define which tenant role a logged in user must provide to call this method
|
|
272
302
|
*
|
|
@@ -303,9 +333,15 @@ export const auditing = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 4);
|
|
|
303
333
|
* @generated from extension: repeated metalstack.api.v2.InfraRole infra_roles = 51005;
|
|
304
334
|
*/
|
|
305
335
|
export const infra_roles = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 5);
|
|
336
|
+
/**
|
|
337
|
+
* MachineRole are used to define which infra role a microservice must provide to call this method
|
|
338
|
+
*
|
|
339
|
+
* @generated from extension: repeated metalstack.api.v2.MachineRole machine_roles = 51006;
|
|
340
|
+
*/
|
|
341
|
+
export const machine_roles = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 6);
|
|
306
342
|
/**
|
|
307
343
|
* StringValue which can be set to a enum
|
|
308
344
|
*
|
|
309
345
|
* @generated from extension: string enum_string_value = 52000;
|
|
310
346
|
*/
|
|
311
|
-
export const enum_string_value = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common,
|
|
347
|
+
export const enum_string_value = /*@__PURE__*/ extDesc(file_metalstack_api_v2_common, 7);
|