@metal-stack/api 0.0.58 → 0.0.60
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/audit_pb.d.ts +8 -8
- package/js/metalstack/admin/v2/audit_pb.js +1 -1
- package/js/metalstack/admin/v2/audit_pb.ts +8 -8
- package/js/metalstack/admin/v2/component_pb.d.ts +14 -14
- package/js/metalstack/admin/v2/component_pb.js +1 -1
- package/js/metalstack/admin/v2/component_pb.ts +14 -14
- package/js/metalstack/admin/v2/filesystem_pb.d.ts +15 -15
- package/js/metalstack/admin/v2/filesystem_pb.js +1 -1
- package/js/metalstack/admin/v2/filesystem_pb.ts +15 -15
- package/js/metalstack/admin/v2/image_pb.d.ts +20 -20
- package/js/metalstack/admin/v2/image_pb.js +1 -1
- package/js/metalstack/admin/v2/image_pb.ts +20 -20
- package/js/metalstack/admin/v2/ip_pb.d.ts +6 -6
- package/js/metalstack/admin/v2/ip_pb.js +1 -1
- package/js/metalstack/admin/v2/ip_pb.ts +6 -6
- package/js/metalstack/admin/v2/machine_pb.d.ts +10 -10
- package/js/metalstack/admin/v2/machine_pb.js +1 -1
- package/js/metalstack/admin/v2/machine_pb.ts +10 -10
- package/js/metalstack/admin/v2/network_pb.d.ts +30 -30
- package/js/metalstack/admin/v2/network_pb.js +2 -2
- package/js/metalstack/admin/v2/network_pb.ts +31 -31
- package/js/metalstack/admin/v2/partition_pb.d.ts +10 -11
- package/js/metalstack/admin/v2/partition_pb.js +2 -2
- package/js/metalstack/admin/v2/partition_pb.ts +11 -12
- package/js/metalstack/admin/v2/project_pb.d.ts +7 -7
- package/js/metalstack/admin/v2/project_pb.js +1 -1
- package/js/metalstack/admin/v2/project_pb.ts +7 -7
- package/js/metalstack/admin/v2/size_imageconstraint_pb.d.ts +21 -21
- package/js/metalstack/admin/v2/size_imageconstraint_pb.js +1 -1
- package/js/metalstack/admin/v2/size_imageconstraint_pb.ts +21 -21
- package/js/metalstack/admin/v2/size_pb.d.ts +13 -13
- package/js/metalstack/admin/v2/size_pb.js +1 -1
- package/js/metalstack/admin/v2/size_pb.ts +13 -13
- package/js/metalstack/admin/v2/size_reservation_pb.d.ts +17 -17
- package/js/metalstack/admin/v2/size_reservation_pb.js +1 -1
- package/js/metalstack/admin/v2/size_reservation_pb.ts +17 -17
- package/js/metalstack/admin/v2/switch_pb.d.ts +51 -51
- package/js/metalstack/admin/v2/switch_pb.js +1 -1
- package/js/metalstack/admin/v2/switch_pb.ts +51 -51
- package/js/metalstack/admin/v2/task_pb.d.ts +58 -58
- package/js/metalstack/admin/v2/task_pb.js +10 -10
- package/js/metalstack/admin/v2/task_pb.ts +58 -58
- package/js/metalstack/admin/v2/tenant_pb.d.ts +15 -15
- package/js/metalstack/admin/v2/tenant_pb.js +2 -2
- package/js/metalstack/admin/v2/tenant_pb.ts +16 -16
- package/js/metalstack/admin/v2/token_pb.d.ts +13 -13
- package/js/metalstack/admin/v2/token_pb.js +1 -1
- package/js/metalstack/admin/v2/token_pb.ts +13 -13
- package/js/metalstack/admin/v2/vpn_pb.d.ts +20 -20
- package/js/metalstack/admin/v2/vpn_pb.js +1 -1
- package/js/metalstack/admin/v2/vpn_pb.ts +20 -20
- package/js/metalstack/api/v2/audit_pb.d.ts +14 -14
- package/js/metalstack/api/v2/audit_pb.js +3 -3
- package/js/metalstack/api/v2/audit_pb.ts +14 -14
- package/js/metalstack/api/v2/filesystem_pb.d.ts +4 -4
- package/js/metalstack/api/v2/filesystem_pb.js +1 -1
- package/js/metalstack/api/v2/filesystem_pb.ts +4 -4
- package/js/metalstack/api/v2/health_pb.d.ts +20 -20
- package/js/metalstack/api/v2/health_pb.js +9 -9
- package/js/metalstack/api/v2/health_pb.ts +20 -20
- package/js/metalstack/api/v2/image_pb.d.ts +10 -4
- package/js/metalstack/api/v2/image_pb.js +2 -2
- package/js/metalstack/api/v2/image_pb.ts +12 -5
- package/js/metalstack/api/v2/ip_pb.d.ts +6 -6
- package/js/metalstack/api/v2/ip_pb.js +1 -1
- package/js/metalstack/api/v2/ip_pb.ts +6 -6
- package/js/metalstack/api/v2/machine_pb.d.ts +18 -18
- package/js/metalstack/api/v2/machine_pb.js +2 -2
- package/js/metalstack/api/v2/machine_pb.ts +19 -19
- package/js/metalstack/api/v2/method_pb.d.ts +16 -16
- package/js/metalstack/api/v2/method_pb.js +3 -3
- package/js/metalstack/api/v2/method_pb.ts +17 -17
- package/js/metalstack/api/v2/network_pb.d.ts +7 -7
- package/js/metalstack/api/v2/network_pb.js +1 -1
- package/js/metalstack/api/v2/network_pb.ts +7 -7
- package/js/metalstack/api/v2/partition_pb.d.ts +3 -3
- package/js/metalstack/api/v2/partition_pb.js +2 -2
- package/js/metalstack/api/v2/partition_pb.ts +4 -4
- package/js/metalstack/api/v2/predefined_rules_pb.d.ts +18 -0
- package/js/metalstack/api/v2/predefined_rules_pb.js +21 -3
- package/js/metalstack/api/v2/predefined_rules_pb.ts +27 -3
- package/js/metalstack/api/v2/project_pb.d.ts +8 -8
- package/js/metalstack/api/v2/project_pb.js +2 -2
- package/js/metalstack/api/v2/project_pb.ts +9 -9
- package/js/metalstack/api/v2/size_imageconstraint_pb.d.ts +2 -2
- package/js/metalstack/api/v2/size_imageconstraint_pb.js +1 -1
- package/js/metalstack/api/v2/size_imageconstraint_pb.ts +2 -2
- package/js/metalstack/api/v2/size_pb.d.ts +6 -6
- package/js/metalstack/api/v2/size_pb.js +2 -2
- package/js/metalstack/api/v2/size_pb.ts +7 -7
- package/js/metalstack/api/v2/size_reservation_pb.d.ts +3 -3
- package/js/metalstack/api/v2/size_reservation_pb.js +1 -1
- package/js/metalstack/api/v2/size_reservation_pb.ts +3 -3
- package/js/metalstack/api/v2/tenant_pb.d.ts +8 -8
- package/js/metalstack/api/v2/tenant_pb.js +2 -2
- package/js/metalstack/api/v2/tenant_pb.ts +9 -9
- package/js/metalstack/api/v2/token_pb.d.ts +15 -15
- package/js/metalstack/api/v2/token_pb.js +2 -2
- package/js/metalstack/api/v2/token_pb.ts +16 -16
- package/js/metalstack/api/v2/user_pb.d.ts +11 -11
- package/js/metalstack/api/v2/user_pb.js +2 -2
- package/js/metalstack/api/v2/user_pb.ts +12 -12
- package/js/metalstack/api/v2/version_pb.d.ts +6 -6
- package/js/metalstack/api/v2/version_pb.js +1 -1
- package/js/metalstack/api/v2/version_pb.ts +6 -6
- package/js/metalstack/api/v2/vpn_pb.d.ts +4 -4
- package/js/metalstack/api/v2/vpn_pb.ts +4 -4
- package/js/metalstack/infra/v2/bmc_pb.d.ts +19 -19
- package/js/metalstack/infra/v2/bmc_pb.js +1 -1
- package/js/metalstack/infra/v2/bmc_pb.ts +19 -19
- package/js/metalstack/infra/v2/boot_pb.d.ts +7 -7
- package/js/metalstack/infra/v2/boot_pb.js +1 -1
- package/js/metalstack/infra/v2/boot_pb.ts +7 -7
- package/js/metalstack/infra/v2/component_pb.d.ts +7 -10
- package/js/metalstack/infra/v2/component_pb.js +1 -1
- package/js/metalstack/infra/v2/component_pb.ts +7 -10
- package/js/metalstack/infra/v2/event_pb.d.ts +22 -22
- package/js/metalstack/infra/v2/event_pb.js +13 -13
- package/js/metalstack/infra/v2/event_pb.ts +22 -22
- package/js/metalstack/infra/v2/switch_pb.d.ts +22 -22
- package/js/metalstack/infra/v2/switch_pb.js +1 -1
- package/js/metalstack/infra/v2/switch_pb.ts +22 -22
- package/package.json +1 -1
|
@@ -6,19 +6,19 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const file_metalstack_admin_v2_task: GenFile;
|
|
8
8
|
/**
|
|
9
|
-
* TaskServiceGetRequest is the
|
|
9
|
+
* TaskServiceGetRequest is the request payload for getting a task.
|
|
10
10
|
*
|
|
11
11
|
* @generated from message metalstack.admin.v2.TaskServiceGetRequest
|
|
12
12
|
*/
|
|
13
13
|
export type TaskServiceGetRequest = Message<"metalstack.admin.v2.TaskServiceGetRequest"> & {
|
|
14
14
|
/**
|
|
15
|
-
* TaskId to get
|
|
15
|
+
* TaskId is the identifier of the task to get
|
|
16
16
|
*
|
|
17
17
|
* @generated from field: string task_id = 1;
|
|
18
18
|
*/
|
|
19
19
|
taskId: string;
|
|
20
20
|
/**
|
|
21
|
-
* Queue where this task was scheduled to
|
|
21
|
+
* Queue is the queue where this task was scheduled to
|
|
22
22
|
*
|
|
23
23
|
* @generated from field: string queue = 2;
|
|
24
24
|
*/
|
|
@@ -30,7 +30,7 @@ export type TaskServiceGetRequest = Message<"metalstack.admin.v2.TaskServiceGetR
|
|
|
30
30
|
*/
|
|
31
31
|
export declare const TaskServiceGetRequestSchema: GenMessage<TaskServiceGetRequest>;
|
|
32
32
|
/**
|
|
33
|
-
* TaskServiceGetResponse is the response
|
|
33
|
+
* TaskServiceGetResponse is the response payload for getting a task.
|
|
34
34
|
*
|
|
35
35
|
* @generated from message metalstack.admin.v2.TaskServiceGetResponse
|
|
36
36
|
*/
|
|
@@ -48,19 +48,19 @@ export type TaskServiceGetResponse = Message<"metalstack.admin.v2.TaskServiceGet
|
|
|
48
48
|
*/
|
|
49
49
|
export declare const TaskServiceGetResponseSchema: GenMessage<TaskServiceGetResponse>;
|
|
50
50
|
/**
|
|
51
|
-
* TaskServiceDeleteRequest is the
|
|
51
|
+
* TaskServiceDeleteRequest is the request payload for deleting a task.
|
|
52
52
|
*
|
|
53
53
|
* @generated from message metalstack.admin.v2.TaskServiceDeleteRequest
|
|
54
54
|
*/
|
|
55
55
|
export type TaskServiceDeleteRequest = Message<"metalstack.admin.v2.TaskServiceDeleteRequest"> & {
|
|
56
56
|
/**
|
|
57
|
-
* TaskId to cancel
|
|
57
|
+
* TaskId is the identifier of the task to cancel
|
|
58
58
|
*
|
|
59
59
|
* @generated from field: string task_id = 1;
|
|
60
60
|
*/
|
|
61
61
|
taskId: string;
|
|
62
62
|
/**
|
|
63
|
-
* Queue where this task was scheduled to
|
|
63
|
+
* Queue is the queue where this task was scheduled to
|
|
64
64
|
*
|
|
65
65
|
* @generated from field: string queue = 2;
|
|
66
66
|
*/
|
|
@@ -72,7 +72,7 @@ export type TaskServiceDeleteRequest = Message<"metalstack.admin.v2.TaskServiceD
|
|
|
72
72
|
*/
|
|
73
73
|
export declare const TaskServiceDeleteRequestSchema: GenMessage<TaskServiceDeleteRequest>;
|
|
74
74
|
/**
|
|
75
|
-
* TaskServiceDeleteResponse is the response
|
|
75
|
+
* TaskServiceDeleteResponse is the response payload for deleting a task.
|
|
76
76
|
*
|
|
77
77
|
* @generated from message metalstack.admin.v2.TaskServiceDeleteResponse
|
|
78
78
|
*/
|
|
@@ -83,7 +83,7 @@ export type TaskServiceDeleteResponse = Message<"metalstack.admin.v2.TaskService
|
|
|
83
83
|
*/
|
|
84
84
|
export declare const TaskServiceDeleteResponseSchema: GenMessage<TaskServiceDeleteResponse>;
|
|
85
85
|
/**
|
|
86
|
-
* TaskServiceQueuesRequest is the
|
|
86
|
+
* TaskServiceQueuesRequest is the request payload for getting all queues.
|
|
87
87
|
*
|
|
88
88
|
* @generated from message metalstack.admin.v2.TaskServiceQueuesRequest
|
|
89
89
|
*/
|
|
@@ -94,7 +94,7 @@ export type TaskServiceQueuesRequest = Message<"metalstack.admin.v2.TaskServiceQ
|
|
|
94
94
|
*/
|
|
95
95
|
export declare const TaskServiceQueuesRequestSchema: GenMessage<TaskServiceQueuesRequest>;
|
|
96
96
|
/**
|
|
97
|
-
* TaskServiceQueuesResponse is the response
|
|
97
|
+
* TaskServiceQueuesResponse is the response payload for getting all queues.
|
|
98
98
|
*
|
|
99
99
|
* @generated from message metalstack.admin.v2.TaskServiceQueuesResponse
|
|
100
100
|
*/
|
|
@@ -112,26 +112,26 @@ export type TaskServiceQueuesResponse = Message<"metalstack.admin.v2.TaskService
|
|
|
112
112
|
*/
|
|
113
113
|
export declare const TaskServiceQueuesResponseSchema: GenMessage<TaskServiceQueuesResponse>;
|
|
114
114
|
/**
|
|
115
|
-
* TaskServiceListRequest is the
|
|
115
|
+
* TaskServiceListRequest is the request payload for listing tasks.
|
|
116
116
|
*
|
|
117
117
|
* @generated from message metalstack.admin.v2.TaskServiceListRequest
|
|
118
118
|
*/
|
|
119
119
|
export type TaskServiceListRequest = Message<"metalstack.admin.v2.TaskServiceListRequest"> & {
|
|
120
120
|
/**
|
|
121
|
-
* Queue
|
|
122
|
-
*
|
|
121
|
+
* Queue filters tasks by this queue
|
|
122
|
+
* Will return tasks from all queues if not specified
|
|
123
123
|
*
|
|
124
124
|
* @generated from field: optional string queue = 1;
|
|
125
125
|
*/
|
|
126
126
|
queue?: string;
|
|
127
127
|
/**
|
|
128
|
-
* Count of tasks to return
|
|
128
|
+
* Count is the number of tasks to return
|
|
129
129
|
*
|
|
130
130
|
* @generated from field: optional uint32 count = 2;
|
|
131
131
|
*/
|
|
132
132
|
count?: number;
|
|
133
133
|
/**
|
|
134
|
-
* Page of tasks to return
|
|
134
|
+
* Page is the page of tasks to return
|
|
135
135
|
*
|
|
136
136
|
* @generated from field: optional uint32 page = 3;
|
|
137
137
|
*/
|
|
@@ -143,13 +143,13 @@ export type TaskServiceListRequest = Message<"metalstack.admin.v2.TaskServiceLis
|
|
|
143
143
|
*/
|
|
144
144
|
export declare const TaskServiceListRequestSchema: GenMessage<TaskServiceListRequest>;
|
|
145
145
|
/**
|
|
146
|
-
* TaskServiceListResponse is the response
|
|
146
|
+
* TaskServiceListResponse is the response payload for listing tasks.
|
|
147
147
|
*
|
|
148
148
|
* @generated from message metalstack.admin.v2.TaskServiceListResponse
|
|
149
149
|
*/
|
|
150
150
|
export type TaskServiceListResponse = Message<"metalstack.admin.v2.TaskServiceListResponse"> & {
|
|
151
151
|
/**
|
|
152
|
-
* Tasks contains the
|
|
152
|
+
* Tasks contains the list of requested tasks
|
|
153
153
|
*
|
|
154
154
|
* @generated from field: repeated metalstack.admin.v2.TaskInfo tasks = 1;
|
|
155
155
|
*/
|
|
@@ -161,123 +161,123 @@ export type TaskServiceListResponse = Message<"metalstack.admin.v2.TaskServiceLi
|
|
|
161
161
|
*/
|
|
162
162
|
export declare const TaskServiceListResponseSchema: GenMessage<TaskServiceListResponse>;
|
|
163
163
|
/**
|
|
164
|
-
* TaskInfo contains details of an
|
|
164
|
+
* TaskInfo contains details of an asynchronous task.
|
|
165
165
|
*
|
|
166
166
|
* @generated from message metalstack.admin.v2.TaskInfo
|
|
167
167
|
*/
|
|
168
168
|
export type TaskInfo = Message<"metalstack.admin.v2.TaskInfo"> & {
|
|
169
169
|
/**
|
|
170
|
-
* ID is the identifier of the task
|
|
170
|
+
* ID is the identifier of the task
|
|
171
171
|
*
|
|
172
172
|
* @generated from field: string id = 1;
|
|
173
173
|
*/
|
|
174
174
|
id: string;
|
|
175
175
|
/**
|
|
176
|
-
* Queue is the name of the queue in which the task belongs
|
|
176
|
+
* Queue is the name of the queue in which the task belongs
|
|
177
177
|
*
|
|
178
178
|
* @generated from field: string queue = 2;
|
|
179
179
|
*/
|
|
180
180
|
queue: string;
|
|
181
181
|
/**
|
|
182
|
-
* Type is the type name of the task
|
|
182
|
+
* Type is the type name of the task
|
|
183
183
|
*
|
|
184
184
|
* @generated from field: string type = 3;
|
|
185
185
|
*/
|
|
186
186
|
type: string;
|
|
187
187
|
/**
|
|
188
|
-
* Payload is the payload data of the task
|
|
188
|
+
* Payload is the payload data of the task
|
|
189
189
|
*
|
|
190
190
|
* @generated from field: bytes payload = 4;
|
|
191
191
|
*/
|
|
192
192
|
payload: Uint8Array;
|
|
193
193
|
/**
|
|
194
|
-
* State indicates the task state
|
|
194
|
+
* State indicates the task state
|
|
195
195
|
*
|
|
196
196
|
* @generated from field: metalstack.admin.v2.TaskState state = 5;
|
|
197
197
|
*/
|
|
198
198
|
state: TaskState;
|
|
199
199
|
/**
|
|
200
|
-
* MaxRetry is the maximum number of times the task can be retried
|
|
200
|
+
* MaxRetry is the maximum number of times the task can be retried
|
|
201
201
|
*
|
|
202
202
|
* @generated from field: int32 max_retry = 6;
|
|
203
203
|
*/
|
|
204
204
|
maxRetry: number;
|
|
205
205
|
/**
|
|
206
|
-
* Retried is the number of times the task has retried so far
|
|
206
|
+
* Retried is the number of times the task has retried so far
|
|
207
207
|
*
|
|
208
208
|
* @generated from field: int32 retried = 7;
|
|
209
209
|
*/
|
|
210
210
|
retried: number;
|
|
211
211
|
/**
|
|
212
|
-
* LastError is the error message from the last failure
|
|
212
|
+
* LastError is the error message from the last failure
|
|
213
213
|
*
|
|
214
214
|
* @generated from field: string last_error = 8;
|
|
215
215
|
*/
|
|
216
216
|
lastError: string;
|
|
217
217
|
/**
|
|
218
|
-
* LastFailedAt is the time
|
|
219
|
-
* If the task has no failures, LastFailedAt is zero time (i.e. time.Time{})
|
|
218
|
+
* LastFailedAt is the time of the last failure if any
|
|
219
|
+
* If the task has no failures, LastFailedAt is zero time (i.e. time.Time{})
|
|
220
220
|
*
|
|
221
221
|
* @generated from field: google.protobuf.Timestamp last_failed_at = 9;
|
|
222
222
|
*/
|
|
223
223
|
lastFailedAt?: Timestamp;
|
|
224
224
|
/**
|
|
225
|
-
* Timeout is the duration the task can be processed by Handler before being retried
|
|
225
|
+
* Timeout is the duration the task can be processed by Handler before being retried
|
|
226
226
|
*
|
|
227
227
|
* @generated from field: google.protobuf.Duration timeout = 10;
|
|
228
228
|
*/
|
|
229
229
|
timeout?: Duration;
|
|
230
230
|
/**
|
|
231
|
-
* Deadline is the deadline for the task
|
|
231
|
+
* Deadline is the deadline for the task
|
|
232
232
|
*
|
|
233
233
|
* @generated from field: google.protobuf.Timestamp deadline = 11;
|
|
234
234
|
*/
|
|
235
235
|
deadline?: Timestamp;
|
|
236
236
|
/**
|
|
237
|
-
* Group is the name of the group in which the task belongs
|
|
237
|
+
* Group is the name of the group in which the task belongs
|
|
238
238
|
*
|
|
239
239
|
* Tasks in the same queue can be grouped together by Group name and will be aggregated into one task
|
|
240
|
-
* by a Server processing the queue
|
|
240
|
+
* by a Server processing the queue
|
|
241
241
|
*
|
|
242
|
-
* Empty string (default) indicates task does not belong to any groups, and no aggregation will be applied to the task
|
|
242
|
+
* Empty string (default) indicates task does not belong to any groups, and no aggregation will be applied to the task
|
|
243
243
|
*
|
|
244
244
|
* @generated from field: string group = 12;
|
|
245
245
|
*/
|
|
246
246
|
group: string;
|
|
247
247
|
/**
|
|
248
|
-
* NextProcessAt is the time the task is scheduled to be processed
|
|
249
|
-
*
|
|
248
|
+
* NextProcessAt is the time the task is scheduled to be processed
|
|
249
|
+
* Zero if not applicable
|
|
250
250
|
*
|
|
251
251
|
* @generated from field: google.protobuf.Timestamp next_process_at = 13;
|
|
252
252
|
*/
|
|
253
253
|
nextProcessAt?: Timestamp;
|
|
254
254
|
/**
|
|
255
|
-
* IsOrphaned describes whether the task is left in active state with no worker processing it
|
|
255
|
+
* IsOrphaned describes whether the task is left in active state with no worker processing it
|
|
256
256
|
* An orphaned task indicates that the worker has crashed or experienced network failures and was not able to
|
|
257
|
-
* extend its lease on the task
|
|
257
|
+
* extend its lease on the task
|
|
258
258
|
*
|
|
259
|
-
* This task will be recovered by running a server against the queue the task is in
|
|
260
|
-
* This field is only applicable to tasks with TaskStateActive
|
|
259
|
+
* This task will be recovered by running a server against the queue the task is in
|
|
260
|
+
* This field is only applicable to tasks with TaskStateActive
|
|
261
261
|
*
|
|
262
262
|
* @generated from field: bool is_orphaned = 14;
|
|
263
263
|
*/
|
|
264
264
|
isOrphaned: boolean;
|
|
265
265
|
/**
|
|
266
|
-
* Retention is duration of the retention period after the task is successfully processed
|
|
266
|
+
* Retention is duration of the retention period after the task is successfully processed
|
|
267
267
|
*
|
|
268
268
|
* @generated from field: google.protobuf.Duration retention = 15;
|
|
269
269
|
*/
|
|
270
270
|
retention?: Duration;
|
|
271
271
|
/**
|
|
272
|
-
* CompletedAt is the time when the task is processed successfully
|
|
273
|
-
* Zero value (i.e. time.Time{}) indicates no value
|
|
272
|
+
* CompletedAt is the time when the task is processed successfully
|
|
273
|
+
* Zero value (i.e. time.Time{}) indicates no value
|
|
274
274
|
*
|
|
275
275
|
* @generated from field: google.protobuf.Timestamp completed_at = 16;
|
|
276
276
|
*/
|
|
277
277
|
completedAt?: Timestamp;
|
|
278
278
|
/**
|
|
279
|
-
* Result holds the result data associated with the task
|
|
280
|
-
* Use ResultWriter to write result data from the Handler
|
|
279
|
+
* Result holds the result data associated with the task
|
|
280
|
+
* Use ResultWriter to write result data from the Handler
|
|
281
281
|
*
|
|
282
282
|
* @generated from field: bytes result = 17;
|
|
283
283
|
*/
|
|
@@ -289,55 +289,55 @@ export type TaskInfo = Message<"metalstack.admin.v2.TaskInfo"> & {
|
|
|
289
289
|
*/
|
|
290
290
|
export declare const TaskInfoSchema: GenMessage<TaskInfo>;
|
|
291
291
|
/**
|
|
292
|
-
* TaskState defines the state of the task
|
|
292
|
+
* TaskState defines the state of the task.
|
|
293
293
|
*
|
|
294
294
|
* @generated from enum metalstack.admin.v2.TaskState
|
|
295
295
|
*/
|
|
296
296
|
export declare enum TaskState {
|
|
297
297
|
/**
|
|
298
|
-
* TASK_STATE_UNSPECIFIED
|
|
298
|
+
* TASK_STATE_UNSPECIFIED is not specified
|
|
299
299
|
*
|
|
300
300
|
* @generated from enum value: TASK_STATE_UNSPECIFIED = 0;
|
|
301
301
|
*/
|
|
302
302
|
UNSPECIFIED = 0,
|
|
303
303
|
/**
|
|
304
|
-
* TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler
|
|
304
|
+
* TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler
|
|
305
305
|
*
|
|
306
306
|
* @generated from enum value: TASK_STATE_ACTIVE = 1;
|
|
307
307
|
*/
|
|
308
308
|
ACTIVE = 1,
|
|
309
309
|
/**
|
|
310
|
-
* TASK_STATE_PENDING indicates that the task is ready to be processed by Handler
|
|
310
|
+
* TASK_STATE_PENDING indicates that the task is ready to be processed by Handler
|
|
311
311
|
*
|
|
312
312
|
* @generated from enum value: TASK_STATE_PENDING = 2;
|
|
313
313
|
*/
|
|
314
314
|
PENDING = 2,
|
|
315
315
|
/**
|
|
316
|
-
* TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future
|
|
316
|
+
* TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future
|
|
317
317
|
*
|
|
318
318
|
* @generated from enum value: TASK_STATE_SCHEDULED = 3;
|
|
319
319
|
*/
|
|
320
320
|
SCHEDULED = 3,
|
|
321
321
|
/**
|
|
322
|
-
* TASK_STATE_RETRY indicates that the task has previously failed and scheduled to be processed some time in the future
|
|
322
|
+
* TASK_STATE_RETRY indicates that the task has previously failed and is scheduled to be processed some time in the future
|
|
323
323
|
*
|
|
324
324
|
* @generated from enum value: TASK_STATE_RETRY = 4;
|
|
325
325
|
*/
|
|
326
326
|
RETRY = 4,
|
|
327
327
|
/**
|
|
328
|
-
* TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes
|
|
328
|
+
* TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes
|
|
329
329
|
*
|
|
330
330
|
* @generated from enum value: TASK_STATE_ARCHIVED = 5;
|
|
331
331
|
*/
|
|
332
332
|
ARCHIVED = 5,
|
|
333
333
|
/**
|
|
334
|
-
* TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires
|
|
334
|
+
* TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires
|
|
335
335
|
*
|
|
336
336
|
* @generated from enum value: TASK_STATE_COMPLETED = 6;
|
|
337
337
|
*/
|
|
338
338
|
COMPLETED = 6,
|
|
339
339
|
/**
|
|
340
|
-
* TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task
|
|
340
|
+
* TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task
|
|
341
341
|
*
|
|
342
342
|
* @generated from enum value: TASK_STATE_AGGREGATING = 7;
|
|
343
343
|
*/
|
|
@@ -348,13 +348,13 @@ export declare enum TaskState {
|
|
|
348
348
|
*/
|
|
349
349
|
export declare const TaskStateSchema: GenEnum<TaskState>;
|
|
350
350
|
/**
|
|
351
|
-
* TaskService provides
|
|
351
|
+
* TaskService provides asynchronous task management operations.
|
|
352
352
|
*
|
|
353
353
|
* @generated from service metalstack.admin.v2.TaskService
|
|
354
354
|
*/
|
|
355
355
|
export declare const TaskService: GenService<{
|
|
356
356
|
/**
|
|
357
|
-
*
|
|
357
|
+
* Returns the task with the specified identifier.
|
|
358
358
|
*
|
|
359
359
|
* @generated from rpc metalstack.admin.v2.TaskService.Get
|
|
360
360
|
*/
|
|
@@ -364,7 +364,7 @@ export declare const TaskService: GenService<{
|
|
|
364
364
|
output: typeof TaskServiceGetResponseSchema;
|
|
365
365
|
};
|
|
366
366
|
/**
|
|
367
|
-
*
|
|
367
|
+
* Deletes the task with the specified identifier.
|
|
368
368
|
*
|
|
369
369
|
* @generated from rpc metalstack.admin.v2.TaskService.Delete
|
|
370
370
|
*/
|
|
@@ -374,7 +374,7 @@ export declare const TaskService: GenService<{
|
|
|
374
374
|
output: typeof TaskServiceDeleteResponseSchema;
|
|
375
375
|
};
|
|
376
376
|
/**
|
|
377
|
-
*
|
|
377
|
+
* Returns the list of all configured queues.
|
|
378
378
|
*
|
|
379
379
|
* @generated from rpc metalstack.admin.v2.TaskService.Queues
|
|
380
380
|
*/
|
|
@@ -384,7 +384,7 @@ export declare const TaskService: GenService<{
|
|
|
384
384
|
output: typeof TaskServiceQueuesResponseSchema;
|
|
385
385
|
};
|
|
386
386
|
/**
|
|
387
|
-
*
|
|
387
|
+
* Returns the list of all tasks.
|
|
388
388
|
*
|
|
389
389
|
* @generated from rpc metalstack.admin.v2.TaskService.List
|
|
390
390
|
*/
|
|
@@ -54,56 +54,56 @@ export const TaskServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_meta
|
|
|
54
54
|
*/
|
|
55
55
|
export const TaskInfoSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_task, 8);
|
|
56
56
|
/**
|
|
57
|
-
* TaskState defines the state of the task
|
|
57
|
+
* TaskState defines the state of the task.
|
|
58
58
|
*
|
|
59
59
|
* @generated from enum metalstack.admin.v2.TaskState
|
|
60
60
|
*/
|
|
61
61
|
export var TaskState;
|
|
62
62
|
(function (TaskState) {
|
|
63
63
|
/**
|
|
64
|
-
* TASK_STATE_UNSPECIFIED
|
|
64
|
+
* TASK_STATE_UNSPECIFIED is not specified
|
|
65
65
|
*
|
|
66
66
|
* @generated from enum value: TASK_STATE_UNSPECIFIED = 0;
|
|
67
67
|
*/
|
|
68
68
|
TaskState[TaskState["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
69
69
|
/**
|
|
70
|
-
* TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler
|
|
70
|
+
* TASK_STATE_ACTIVE indicates that the task is currently being processed by Handler
|
|
71
71
|
*
|
|
72
72
|
* @generated from enum value: TASK_STATE_ACTIVE = 1;
|
|
73
73
|
*/
|
|
74
74
|
TaskState[TaskState["ACTIVE"] = 1] = "ACTIVE";
|
|
75
75
|
/**
|
|
76
|
-
* TASK_STATE_PENDING indicates that the task is ready to be processed by Handler
|
|
76
|
+
* TASK_STATE_PENDING indicates that the task is ready to be processed by Handler
|
|
77
77
|
*
|
|
78
78
|
* @generated from enum value: TASK_STATE_PENDING = 2;
|
|
79
79
|
*/
|
|
80
80
|
TaskState[TaskState["PENDING"] = 2] = "PENDING";
|
|
81
81
|
/**
|
|
82
|
-
* TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future
|
|
82
|
+
* TASK_STATE_SCHEDULED indicates that the task is scheduled to be processed some time in the future
|
|
83
83
|
*
|
|
84
84
|
* @generated from enum value: TASK_STATE_SCHEDULED = 3;
|
|
85
85
|
*/
|
|
86
86
|
TaskState[TaskState["SCHEDULED"] = 3] = "SCHEDULED";
|
|
87
87
|
/**
|
|
88
|
-
* TASK_STATE_RETRY indicates that the task has previously failed and scheduled to be processed some time in the future
|
|
88
|
+
* TASK_STATE_RETRY indicates that the task has previously failed and is scheduled to be processed some time in the future
|
|
89
89
|
*
|
|
90
90
|
* @generated from enum value: TASK_STATE_RETRY = 4;
|
|
91
91
|
*/
|
|
92
92
|
TaskState[TaskState["RETRY"] = 4] = "RETRY";
|
|
93
93
|
/**
|
|
94
|
-
* TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes
|
|
94
|
+
* TASK_STATE_ARCHIVED indicates that the task is archived and stored for inspection purposes
|
|
95
95
|
*
|
|
96
96
|
* @generated from enum value: TASK_STATE_ARCHIVED = 5;
|
|
97
97
|
*/
|
|
98
98
|
TaskState[TaskState["ARCHIVED"] = 5] = "ARCHIVED";
|
|
99
99
|
/**
|
|
100
|
-
* TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires
|
|
100
|
+
* TASK_STATE_COMPLETED indicates that the task is processed successfully and retained until the retention TTL expires
|
|
101
101
|
*
|
|
102
102
|
* @generated from enum value: TASK_STATE_COMPLETED = 6;
|
|
103
103
|
*/
|
|
104
104
|
TaskState[TaskState["COMPLETED"] = 6] = "COMPLETED";
|
|
105
105
|
/**
|
|
106
|
-
* TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task
|
|
106
|
+
* TASK_STATE_AGGREGATING indicates that the task is waiting in a group to be aggregated into one task
|
|
107
107
|
*
|
|
108
108
|
* @generated from enum value: TASK_STATE_AGGREGATING = 7;
|
|
109
109
|
*/
|
|
@@ -114,7 +114,7 @@ export var TaskState;
|
|
|
114
114
|
*/
|
|
115
115
|
export const TaskStateSchema = /*@__PURE__*/ enumDesc(file_metalstack_admin_v2_task, 0);
|
|
116
116
|
/**
|
|
117
|
-
* TaskService provides
|
|
117
|
+
* TaskService provides asynchronous task management operations.
|
|
118
118
|
*
|
|
119
119
|
* @generated from service metalstack.admin.v2.TaskService
|
|
120
120
|
*/
|