@xeonr/pipelines-sdk 0.0.0-stage → 0.2.0
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 +334 -2
- package/dist/auth.d.ts +72 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +139 -0
- package/dist/auth.js.map +1 -0
- package/dist/client.d.ts +129 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +106 -0
- package/dist/client.js.map +1 -0
- package/dist/errors.d.ts +113 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +115 -0
- package/dist/errors.js.map +1 -0
- package/dist/gen/buf/validate/validate_pb.d.ts +4828 -0
- package/dist/gen/buf/validate/validate_pb.d.ts.map +1 -0
- package/dist/gen/buf/validate/validate_pb.js +357 -0
- package/dist/gen/buf/validate/validate_pb.js.map +1 -0
- package/dist/gen/gnostic/openapi/v3/annotations_pb.d.ts +24 -0
- package/dist/gen/gnostic/openapi/v3/annotations_pb.d.ts.map +1 -0
- package/dist/gen/gnostic/openapi/v3/annotations_pb.js +37 -0
- package/dist/gen/gnostic/openapi/v3/annotations_pb.js.map +1 -0
- package/dist/gen/gnostic/openapi/v3/openapiv3_pb.d.ts +2245 -0
- package/dist/gen/gnostic/openapi/v3/openapiv3_pb.d.ts.map +1 -0
- package/dist/gen/gnostic/openapi/v3/openapiv3_pb.js +410 -0
- package/dist/gen/gnostic/openapi/v3/openapiv3_pb.js.map +1 -0
- package/dist/gen/xeonr/pipelines/private/v1/attempt_pb.d.ts +1031 -0
- package/dist/gen/xeonr/pipelines/private/v1/attempt_pb.d.ts.map +1 -0
- package/dist/gen/xeonr/pipelines/private/v1/attempt_pb.js +219 -0
- package/dist/gen/xeonr/pipelines/private/v1/attempt_pb.js.map +1 -0
- package/dist/gen/xeonr/pipelines/private/v1/runners_pb.d.ts +190 -0
- package/dist/gen/xeonr/pipelines/private/v1/runners_pb.d.ts.map +1 -0
- package/dist/gen/xeonr/pipelines/private/v1/runners_pb.js +53 -0
- package/dist/gen/xeonr/pipelines/private/v1/runners_pb.js.map +1 -0
- package/dist/gen/xeonr/pipelines/private/v1/step_local_pb.d.ts +1161 -0
- package/dist/gen/xeonr/pipelines/private/v1/step_local_pb.d.ts.map +1 -0
- package/dist/gen/xeonr/pipelines/private/v1/step_local_pb.js +269 -0
- package/dist/gen/xeonr/pipelines/private/v1/step_local_pb.js.map +1 -0
- package/dist/gen/xeonr/pipelines/private/v1/worker_pb.d.ts +1061 -0
- package/dist/gen/xeonr/pipelines/private/v1/worker_pb.d.ts.map +1 -0
- package/dist/gen/xeonr/pipelines/private/v1/worker_pb.js +221 -0
- package/dist/gen/xeonr/pipelines/private/v1/worker_pb.js.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/common_pb.d.ts +580 -0
- package/dist/gen/xeonr/pipelines/v1/common_pb.d.ts.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/common_pb.js +483 -0
- package/dist/gen/xeonr/pipelines/v1/common_pb.js.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/definition_pb.d.ts +762 -0
- package/dist/gen/xeonr/pipelines/v1/definition_pb.d.ts.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/definition_pb.js +190 -0
- package/dist/gen/xeonr/pipelines/v1/definition_pb.js.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/pools_pb.d.ts +919 -0
- package/dist/gen/xeonr/pipelines/v1/pools_pb.d.ts.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/pools_pb.js +272 -0
- package/dist/gen/xeonr/pipelines/v1/pools_pb.js.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/registry_pb.d.ts +895 -0
- package/dist/gen/xeonr/pipelines/v1/registry_pb.d.ts.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/registry_pb.js +277 -0
- package/dist/gen/xeonr/pipelines/v1/registry_pb.js.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/runs_pb.d.ts +1237 -0
- package/dist/gen/xeonr/pipelines/v1/runs_pb.d.ts.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/runs_pb.js +204 -0
- package/dist/gen/xeonr/pipelines/v1/runs_pb.js.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/secrets_pb.d.ts +647 -0
- package/dist/gen/xeonr/pipelines/v1/secrets_pb.d.ts.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/secrets_pb.js +181 -0
- package/dist/gen/xeonr/pipelines/v1/secrets_pb.js.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/sinks_pb.d.ts +381 -0
- package/dist/gen/xeonr/pipelines/v1/sinks_pb.d.ts.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/sinks_pb.js +145 -0
- package/dist/gen/xeonr/pipelines/v1/sinks_pb.js.map +1 -0
- package/dist/gen/xeonr/platform/v1/options_pb.d.ts +313 -0
- package/dist/gen/xeonr/platform/v1/options_pb.d.ts.map +1 -0
- package/dist/gen/xeonr/platform/v1/options_pb.js +235 -0
- package/dist/gen/xeonr/platform/v1/options_pb.js.map +1 -0
- package/dist/handler.d.ts +94 -0
- package/dist/handler.d.ts.map +1 -0
- package/dist/handler.js +18 -0
- package/dist/handler.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/time.d.ts +8 -0
- package/dist/internal/time.d.ts.map +1 -0
- package/dist/internal/time.js +25 -0
- package/dist/internal/time.js.map +1 -0
- package/dist/logship.d.ts +117 -0
- package/dist/logship.d.ts.map +1 -0
- package/dist/logship.js +319 -0
- package/dist/logship.js.map +1 -0
- package/dist/testing/index.d.ts +215 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +1015 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/transport.d.ts +43 -0
- package/dist/transport.d.ts.map +1 -0
- package/dist/transport.js +44 -0
- package/dist/transport.js.map +1 -0
- package/dist/worker.d.ts +236 -0
- package/dist/worker.d.ts.map +1 -0
- package/dist/worker.js +733 -0
- package/dist/worker.js.map +1 -0
- package/package.json +70 -3
|
@@ -0,0 +1,1237 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Duration, Timestamp, Value } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { AttemptState, FailureClass, NodeState, PackageRef, Resource, ResourceRef, RunState, Termination } from "./common_pb.js";
|
|
4
|
+
import type { Definition, Retry } from "./definition_pb.js";
|
|
5
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file xeonr/pipelines/v1/runs.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_xeonr_pipelines_v1_runs: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* Exclusion makes runs sharing a key, within one tenant, mutually exclusive.
|
|
12
|
+
* The product chooses it per run (the forge: per ref), so it is given to
|
|
13
|
+
* CreateRun and is not part of the definition. Milestone 2 (`cancel_older`)
|
|
14
|
+
* and milestone 4 (`queue`).
|
|
15
|
+
*
|
|
16
|
+
* @generated from message xeonr.pipelines.v1.Exclusion
|
|
17
|
+
*/
|
|
18
|
+
export type Exclusion = Message<"xeonr.pipelines.v1.Exclusion"> & {
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: string key = 1;
|
|
21
|
+
*/
|
|
22
|
+
key: string;
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: xeonr.pipelines.v1.ConflictPolicy on_conflict = 2;
|
|
25
|
+
*/
|
|
26
|
+
onConflict: ConflictPolicy;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message xeonr.pipelines.v1.Exclusion.
|
|
30
|
+
* Use `create(ExclusionSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export declare const ExclusionSchema: GenMessage<Exclusion>;
|
|
33
|
+
/**
|
|
34
|
+
* Run is one execution of one snapshot for one resource.
|
|
35
|
+
*
|
|
36
|
+
* @generated from message xeonr.pipelines.v1.Run
|
|
37
|
+
*/
|
|
38
|
+
export type Run = Message<"xeonr.pipelines.v1.Run"> & {
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: string id = 1;
|
|
41
|
+
*/
|
|
42
|
+
id: string;
|
|
43
|
+
/**
|
|
44
|
+
* Tenant is the owning team's URN.
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: string tenant = 2;
|
|
47
|
+
*/
|
|
48
|
+
tenant: string;
|
|
49
|
+
/**
|
|
50
|
+
* Product is the Auth application whose caller started the run. It scopes
|
|
51
|
+
* the idempotency key and selects the sink that receives the run's events.
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string product = 3;
|
|
54
|
+
*/
|
|
55
|
+
product: string;
|
|
56
|
+
/**
|
|
57
|
+
* IdempotencyKey is the key CreateRun was given.
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: string idempotency_key = 4;
|
|
60
|
+
*/
|
|
61
|
+
idempotencyKey: string;
|
|
62
|
+
/**
|
|
63
|
+
* Resource is what the run is about.
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: xeonr.pipelines.v1.Resource resource = 5;
|
|
66
|
+
*/
|
|
67
|
+
resource?: Resource | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* AttestedFacts are the facts the product vouched for when it started the
|
|
70
|
+
* run. Tiers and secret policies are decided from these.
|
|
71
|
+
*
|
|
72
|
+
* @generated from field: google.protobuf.Struct attested_facts = 6;
|
|
73
|
+
*/
|
|
74
|
+
attestedFacts?: JsonObject | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* Variables are the values the run was started with.
|
|
77
|
+
*
|
|
78
|
+
* @generated from field: google.protobuf.Struct variables = 7;
|
|
79
|
+
*/
|
|
80
|
+
variables?: JsonObject | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* SnapshotID is the frozen definition the run executes.
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: string snapshot_id = 8;
|
|
85
|
+
*/
|
|
86
|
+
snapshotId: string;
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: xeonr.pipelines.v1.RunState state = 9;
|
|
89
|
+
*/
|
|
90
|
+
state: RunState;
|
|
91
|
+
/**
|
|
92
|
+
* FailureClass is the first hard failure's class when FAILED.
|
|
93
|
+
*
|
|
94
|
+
* @generated from field: xeonr.pipelines.v1.FailureClass failure_class = 10;
|
|
95
|
+
*/
|
|
96
|
+
failureClass: FailureClass;
|
|
97
|
+
/**
|
|
98
|
+
* FailedNodeID is the node that first failed hard, when FAILED.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: string failed_node_id = 11;
|
|
101
|
+
*/
|
|
102
|
+
failedNodeId: string;
|
|
103
|
+
/**
|
|
104
|
+
* HasAllowedFailures says at least one node ended FAILED_ALLOWED: a run
|
|
105
|
+
* that SUCCEEDED with this set passed with warnings.
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: bool has_allowed_failures = 12;
|
|
108
|
+
*/
|
|
109
|
+
hasAllowedFailures: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* CreatedBy is the subject URN that created the run: a person, or a
|
|
112
|
+
* product's service account.
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: string created_by = 13;
|
|
115
|
+
*/
|
|
116
|
+
createdBy: string;
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: google.protobuf.Timestamp created_at = 14;
|
|
119
|
+
*/
|
|
120
|
+
createdAt?: Timestamp | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* NotBefore is set for a delayed job: nothing is dispatched earlier.
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: google.protobuf.Timestamp not_before = 15;
|
|
125
|
+
*/
|
|
126
|
+
notBefore?: Timestamp | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* StartedAt is when the first node was made ready.
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: google.protobuf.Timestamp started_at = 16;
|
|
131
|
+
*/
|
|
132
|
+
startedAt?: Timestamp | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: google.protobuf.Timestamp finished_at = 17;
|
|
135
|
+
*/
|
|
136
|
+
finishedAt?: Timestamp | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* CancelRequestedAt is set once a cancel committed.
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: google.protobuf.Timestamp cancel_requested_at = 18;
|
|
141
|
+
*/
|
|
142
|
+
cancelRequestedAt?: Timestamp | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* CancelReason is the reason CancelRun was given.
|
|
145
|
+
*
|
|
146
|
+
* @generated from field: string cancel_reason = 19;
|
|
147
|
+
*/
|
|
148
|
+
cancelReason: string;
|
|
149
|
+
/**
|
|
150
|
+
* SupersededByRunID is the newer run that cancelled this one.
|
|
151
|
+
*
|
|
152
|
+
* @generated from field: string superseded_by_run_id = 20;
|
|
153
|
+
*/
|
|
154
|
+
supersededByRunId: string;
|
|
155
|
+
/**
|
|
156
|
+
* ParentRunID and ParentNodeID name the trigger node that started this run.
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: string parent_run_id = 21;
|
|
159
|
+
*/
|
|
160
|
+
parentRunId: string;
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: string parent_node_id = 22;
|
|
163
|
+
*/
|
|
164
|
+
parentNodeId: string;
|
|
165
|
+
/**
|
|
166
|
+
* Exclusion is the exclusion the run was started with.
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: xeonr.pipelines.v1.Exclusion exclusion = 23;
|
|
169
|
+
*/
|
|
170
|
+
exclusion?: Exclusion | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* ConsoleURL is the run's page in the pipelines console.
|
|
173
|
+
*
|
|
174
|
+
* @generated from field: string console_url = 24;
|
|
175
|
+
*/
|
|
176
|
+
consoleUrl: string;
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 25;
|
|
179
|
+
*/
|
|
180
|
+
updatedAt?: Timestamp | undefined;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* Describes the message xeonr.pipelines.v1.Run.
|
|
184
|
+
* Use `create(RunSchema)` to create a new message.
|
|
185
|
+
*/
|
|
186
|
+
export declare const RunSchema: GenMessage<Run>;
|
|
187
|
+
/**
|
|
188
|
+
* Attempt is one try at running a node. Attempts are numbered from 1 and
|
|
189
|
+
* never reused; a node's result is exactly one attempt's, its settled one.
|
|
190
|
+
*
|
|
191
|
+
* @generated from message xeonr.pipelines.v1.Attempt
|
|
192
|
+
*/
|
|
193
|
+
export type Attempt = Message<"xeonr.pipelines.v1.Attempt"> & {
|
|
194
|
+
/**
|
|
195
|
+
* @generated from field: string id = 1;
|
|
196
|
+
*/
|
|
197
|
+
id: string;
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: string run_id = 2;
|
|
200
|
+
*/
|
|
201
|
+
runId: string;
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: string node_id = 3;
|
|
204
|
+
*/
|
|
205
|
+
nodeId: string;
|
|
206
|
+
/**
|
|
207
|
+
* Number counts the node's attempts from 1.
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: uint32 number = 4;
|
|
210
|
+
*/
|
|
211
|
+
number: number;
|
|
212
|
+
/**
|
|
213
|
+
* @generated from field: xeonr.pipelines.v1.AttemptState state = 5;
|
|
214
|
+
*/
|
|
215
|
+
state: AttemptState;
|
|
216
|
+
/**
|
|
217
|
+
* Tier is the trust tier the platform computed for the attempt from the
|
|
218
|
+
* run's attested facts and the step package. The definition never chooses
|
|
219
|
+
* it. Only a pool of this tier may claim the attempt.
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: string tier = 6;
|
|
222
|
+
*/
|
|
223
|
+
tier: string;
|
|
224
|
+
/**
|
|
225
|
+
* PoolID and RunnerID are who claimed it; empty while OFFERED. For an SDK
|
|
226
|
+
* worker the runner id is the worker instance's.
|
|
227
|
+
*
|
|
228
|
+
* @generated from field: string pool_id = 7;
|
|
229
|
+
*/
|
|
230
|
+
poolId: string;
|
|
231
|
+
/**
|
|
232
|
+
* @generated from field: string runner_id = 8;
|
|
233
|
+
*/
|
|
234
|
+
runnerId: string;
|
|
235
|
+
/**
|
|
236
|
+
* FailureClass is set unless the attempt succeeded or is still live.
|
|
237
|
+
*
|
|
238
|
+
* @generated from field: xeonr.pipelines.v1.FailureClass failure_class = 9;
|
|
239
|
+
*/
|
|
240
|
+
failureClass: FailureClass;
|
|
241
|
+
/**
|
|
242
|
+
* Termination is how the worker saw it end.
|
|
243
|
+
*
|
|
244
|
+
* @generated from field: xeonr.pipelines.v1.Termination termination = 10;
|
|
245
|
+
*/
|
|
246
|
+
termination: Termination;
|
|
247
|
+
/**
|
|
248
|
+
* ExitCode is the step's exit code, set when a process exited.
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: optional int32 exit_code = 11;
|
|
251
|
+
*/
|
|
252
|
+
exitCode?: number | undefined;
|
|
253
|
+
/**
|
|
254
|
+
* Message is a short human-readable cause for a failure.
|
|
255
|
+
*
|
|
256
|
+
* @generated from field: string message = 12;
|
|
257
|
+
*/
|
|
258
|
+
message: string;
|
|
259
|
+
/**
|
|
260
|
+
* ImageDigest is the digest the step actually ran, pinned at dispatch.
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: string image_digest = 13;
|
|
263
|
+
*/
|
|
264
|
+
imageDigest: string;
|
|
265
|
+
/**
|
|
266
|
+
* CreatedAt is when the attempt was offered.
|
|
267
|
+
*
|
|
268
|
+
* @generated from field: google.protobuf.Timestamp created_at = 14;
|
|
269
|
+
*/
|
|
270
|
+
createdAt?: Timestamp | undefined;
|
|
271
|
+
/**
|
|
272
|
+
* @generated from field: google.protobuf.Timestamp claimed_at = 15;
|
|
273
|
+
*/
|
|
274
|
+
claimedAt?: Timestamp | undefined;
|
|
275
|
+
/**
|
|
276
|
+
* StartedAt is when the worker was allowed to start user code.
|
|
277
|
+
*
|
|
278
|
+
* @generated from field: google.protobuf.Timestamp started_at = 16;
|
|
279
|
+
*/
|
|
280
|
+
startedAt?: Timestamp | undefined;
|
|
281
|
+
/**
|
|
282
|
+
* @generated from field: google.protobuf.Timestamp finished_at = 17;
|
|
283
|
+
*/
|
|
284
|
+
finishedAt?: Timestamp | undefined;
|
|
285
|
+
/**
|
|
286
|
+
* @generated from field: google.protobuf.Timestamp cancel_requested_at = 18;
|
|
287
|
+
*/
|
|
288
|
+
cancelRequestedAt?: Timestamp | undefined;
|
|
289
|
+
/**
|
|
290
|
+
* LogBytes is the length of the attempt's log so far.
|
|
291
|
+
*
|
|
292
|
+
* @generated from field: uint64 log_bytes = 19;
|
|
293
|
+
*/
|
|
294
|
+
logBytes: bigint;
|
|
295
|
+
/**
|
|
296
|
+
* LogTruncated says the log hit its size cap; a marker ends it.
|
|
297
|
+
*
|
|
298
|
+
* @generated from field: bool log_truncated = 20;
|
|
299
|
+
*/
|
|
300
|
+
logTruncated: boolean;
|
|
301
|
+
};
|
|
302
|
+
/**
|
|
303
|
+
* Describes the message xeonr.pipelines.v1.Attempt.
|
|
304
|
+
* Use `create(AttemptSchema)` to create a new message.
|
|
305
|
+
*/
|
|
306
|
+
export declare const AttemptSchema: GenMessage<Attempt>;
|
|
307
|
+
/**
|
|
308
|
+
* BlobOutput describes one blob a node produced. It carries no URL:
|
|
309
|
+
* GetBlobOutput returns one, for one blob, when it is asked.
|
|
310
|
+
*
|
|
311
|
+
* @generated from message xeonr.pipelines.v1.BlobOutput
|
|
312
|
+
*/
|
|
313
|
+
export type BlobOutput = Message<"xeonr.pipelines.v1.BlobOutput"> & {
|
|
314
|
+
/**
|
|
315
|
+
* Slot is the output's name: a manifest blob slot or an artifact name.
|
|
316
|
+
*
|
|
317
|
+
* @generated from field: string slot = 1;
|
|
318
|
+
*/
|
|
319
|
+
slot: string;
|
|
320
|
+
/**
|
|
321
|
+
* Filename distinguishes the files of a slot that holds several.
|
|
322
|
+
*
|
|
323
|
+
* @generated from field: string filename = 2;
|
|
324
|
+
*/
|
|
325
|
+
filename: string;
|
|
326
|
+
/**
|
|
327
|
+
* @generated from field: uint64 size_bytes = 3;
|
|
328
|
+
*/
|
|
329
|
+
sizeBytes: bigint;
|
|
330
|
+
/**
|
|
331
|
+
* Sha256 is the content's digest, in hex.
|
|
332
|
+
*
|
|
333
|
+
* @generated from field: string sha256 = 4;
|
|
334
|
+
*/
|
|
335
|
+
sha256: string;
|
|
336
|
+
/**
|
|
337
|
+
* @generated from field: string media_type = 5;
|
|
338
|
+
*/
|
|
339
|
+
mediaType: string;
|
|
340
|
+
/**
|
|
341
|
+
* ExpiresAt is when the platform deletes the blob; unset keeps it for the
|
|
342
|
+
* platform's retention.
|
|
343
|
+
*
|
|
344
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 6;
|
|
345
|
+
*/
|
|
346
|
+
expiresAt?: Timestamp | undefined;
|
|
347
|
+
};
|
|
348
|
+
/**
|
|
349
|
+
* Describes the message xeonr.pipelines.v1.BlobOutput.
|
|
350
|
+
* Use `create(BlobOutputSchema)` to create a new message.
|
|
351
|
+
*/
|
|
352
|
+
export declare const BlobOutputSchema: GenMessage<BlobOutput>;
|
|
353
|
+
/**
|
|
354
|
+
* NodeRun is one node of a run: its state, its attempts and, once it has
|
|
355
|
+
* settled, its outputs.
|
|
356
|
+
*
|
|
357
|
+
* @generated from message xeonr.pipelines.v1.NodeRun
|
|
358
|
+
*/
|
|
359
|
+
export type NodeRun = Message<"xeonr.pipelines.v1.NodeRun"> & {
|
|
360
|
+
/**
|
|
361
|
+
* @generated from field: string node_id = 1;
|
|
362
|
+
*/
|
|
363
|
+
nodeId: string;
|
|
364
|
+
/**
|
|
365
|
+
* @generated from field: xeonr.pipelines.v1.NodeState state = 2;
|
|
366
|
+
*/
|
|
367
|
+
state: NodeState;
|
|
368
|
+
/**
|
|
369
|
+
* Package is the step package version the node runs, as frozen in the
|
|
370
|
+
* snapshot. Unset for a trigger node.
|
|
371
|
+
*
|
|
372
|
+
* @generated from field: xeonr.pipelines.v1.PackageRef package = 3;
|
|
373
|
+
*/
|
|
374
|
+
package?: PackageRef | undefined;
|
|
375
|
+
/**
|
|
376
|
+
* Attempts are every attempt made, oldest first.
|
|
377
|
+
*
|
|
378
|
+
* @generated from field: repeated xeonr.pipelines.v1.Attempt attempts = 4;
|
|
379
|
+
*/
|
|
380
|
+
attempts: Attempt[];
|
|
381
|
+
/**
|
|
382
|
+
* SettledAttemptID is the attempt whose result and outputs are the node's.
|
|
383
|
+
*
|
|
384
|
+
* @generated from field: string settled_attempt_id = 5;
|
|
385
|
+
*/
|
|
386
|
+
settledAttemptId: string;
|
|
387
|
+
/**
|
|
388
|
+
* FailureClass and ExitCode are the settled attempt's.
|
|
389
|
+
*
|
|
390
|
+
* @generated from field: xeonr.pipelines.v1.FailureClass failure_class = 6;
|
|
391
|
+
*/
|
|
392
|
+
failureClass: FailureClass;
|
|
393
|
+
/**
|
|
394
|
+
* @generated from field: optional int32 exit_code = 7;
|
|
395
|
+
*/
|
|
396
|
+
exitCode?: number | undefined;
|
|
397
|
+
/**
|
|
398
|
+
* KV are the node's kv outputs, by slot.
|
|
399
|
+
*
|
|
400
|
+
* @generated from field: map<string, google.protobuf.Value> kv = 8;
|
|
401
|
+
*/
|
|
402
|
+
kv: {
|
|
403
|
+
[key: string]: Value;
|
|
404
|
+
};
|
|
405
|
+
/**
|
|
406
|
+
* Blobs are the node's blob outputs.
|
|
407
|
+
*
|
|
408
|
+
* @generated from field: repeated xeonr.pipelines.v1.BlobOutput blobs = 9;
|
|
409
|
+
*/
|
|
410
|
+
blobs: BlobOutput[];
|
|
411
|
+
/**
|
|
412
|
+
* BlockedByRunID and BlockedByNodeID name the holder of the step lock a
|
|
413
|
+
* BLOCKED node waits for.
|
|
414
|
+
*
|
|
415
|
+
* @generated from field: string blocked_by_run_id = 10;
|
|
416
|
+
*/
|
|
417
|
+
blockedByRunId: string;
|
|
418
|
+
/**
|
|
419
|
+
* @generated from field: string blocked_by_node_id = 11;
|
|
420
|
+
*/
|
|
421
|
+
blockedByNodeId: string;
|
|
422
|
+
/**
|
|
423
|
+
* ManualExpiresAt is when a WAITING_MANUAL node stops waiting.
|
|
424
|
+
*
|
|
425
|
+
* @generated from field: google.protobuf.Timestamp manual_expires_at = 12;
|
|
426
|
+
*/
|
|
427
|
+
manualExpiresAt?: Timestamp | undefined;
|
|
428
|
+
/**
|
|
429
|
+
* ReleasedBy is the subject URN that released a manual node.
|
|
430
|
+
*
|
|
431
|
+
* @generated from field: string released_by = 13;
|
|
432
|
+
*/
|
|
433
|
+
releasedBy: string;
|
|
434
|
+
/**
|
|
435
|
+
* DownstreamRunID is the run a trigger node started.
|
|
436
|
+
*
|
|
437
|
+
* @generated from field: string downstream_run_id = 14;
|
|
438
|
+
*/
|
|
439
|
+
downstreamRunId: string;
|
|
440
|
+
/**
|
|
441
|
+
* @generated from field: google.protobuf.Timestamp started_at = 15;
|
|
442
|
+
*/
|
|
443
|
+
startedAt?: Timestamp | undefined;
|
|
444
|
+
/**
|
|
445
|
+
* @generated from field: google.protobuf.Timestamp finished_at = 16;
|
|
446
|
+
*/
|
|
447
|
+
finishedAt?: Timestamp | undefined;
|
|
448
|
+
};
|
|
449
|
+
/**
|
|
450
|
+
* Describes the message xeonr.pipelines.v1.NodeRun.
|
|
451
|
+
* Use `create(NodeRunSchema)` to create a new message.
|
|
452
|
+
*/
|
|
453
|
+
export declare const NodeRunSchema: GenMessage<NodeRun>;
|
|
454
|
+
/**
|
|
455
|
+
* @generated from message xeonr.pipelines.v1.CreateRunRequest
|
|
456
|
+
*/
|
|
457
|
+
export type CreateRunRequest = Message<"xeonr.pipelines.v1.CreateRunRequest"> & {
|
|
458
|
+
/**
|
|
459
|
+
* IdempotencyKey makes the create safe to repeat. It is unique per calling
|
|
460
|
+
* product: a webhook redelivery or a client retry with the same key
|
|
461
|
+
* returns the first run.
|
|
462
|
+
*
|
|
463
|
+
* @generated from field: string idempotency_key = 1;
|
|
464
|
+
*/
|
|
465
|
+
idempotencyKey: string;
|
|
466
|
+
/**
|
|
467
|
+
* Tenant is the team the run belongs to.
|
|
468
|
+
*
|
|
469
|
+
* @generated from field: string tenant = 2;
|
|
470
|
+
*/
|
|
471
|
+
tenant: string;
|
|
472
|
+
/**
|
|
473
|
+
* Resource is what the run is about.
|
|
474
|
+
*
|
|
475
|
+
* @generated from field: xeonr.pipelines.v1.Resource resource = 3;
|
|
476
|
+
*/
|
|
477
|
+
resource?: Resource | undefined;
|
|
478
|
+
/**
|
|
479
|
+
* AttestedFacts are facts about this run that the calling product vouches
|
|
480
|
+
* for: for the forge, the repository, ref, commit, whether the ref is
|
|
481
|
+
* protected, the source, the actor, the run number. The schema is the
|
|
482
|
+
* product's; the platform has no column for any of them. Tier policy and
|
|
483
|
+
* secret policies match on them, job identity tokens copy from them, and
|
|
484
|
+
* steps read them as environment. They are never taken from the
|
|
485
|
+
* definition. At most 64 KiB encoded.
|
|
486
|
+
*
|
|
487
|
+
* @generated from field: google.protobuf.Struct attested_facts = 4;
|
|
488
|
+
*/
|
|
489
|
+
attestedFacts?: JsonObject | undefined;
|
|
490
|
+
/**
|
|
491
|
+
* Source is the definition to run.
|
|
492
|
+
*
|
|
493
|
+
* @generated from oneof xeonr.pipelines.v1.CreateRunRequest.source
|
|
494
|
+
*/
|
|
495
|
+
source: {
|
|
496
|
+
/**
|
|
497
|
+
* InlineDefinition is validated and frozen as a snapshot; an identical
|
|
498
|
+
* definition reuses the snapshot it already has.
|
|
499
|
+
*
|
|
500
|
+
* @generated from field: xeonr.pipelines.v1.Definition inline_definition = 5;
|
|
501
|
+
*/
|
|
502
|
+
value: Definition;
|
|
503
|
+
case: "inlineDefinition";
|
|
504
|
+
} | {
|
|
505
|
+
/**
|
|
506
|
+
* SnapshotID runs a snapshot made earlier, of the same tenant.
|
|
507
|
+
* Milestone 4 (published pipelines).
|
|
508
|
+
*
|
|
509
|
+
* @generated from field: string snapshot_id = 6;
|
|
510
|
+
*/
|
|
511
|
+
value: string;
|
|
512
|
+
case: "snapshotId";
|
|
513
|
+
} | {
|
|
514
|
+
case: undefined;
|
|
515
|
+
value?: undefined;
|
|
516
|
+
};
|
|
517
|
+
/**
|
|
518
|
+
* Variables are per-run values, read as `${{ variables.<name> }}`. At most
|
|
519
|
+
* 64 KiB encoded. Never put a secret here: variables are stored and shown.
|
|
520
|
+
*
|
|
521
|
+
* @generated from field: google.protobuf.Struct variables = 7;
|
|
522
|
+
*/
|
|
523
|
+
variables?: JsonObject | undefined;
|
|
524
|
+
/**
|
|
525
|
+
* Exclusion, when set, makes the run exclusive with others of its key.
|
|
526
|
+
* Milestone 2.
|
|
527
|
+
*
|
|
528
|
+
* @generated from field: xeonr.pipelines.v1.Exclusion exclusion = 8;
|
|
529
|
+
*/
|
|
530
|
+
exclusion?: Exclusion | undefined;
|
|
531
|
+
};
|
|
532
|
+
/**
|
|
533
|
+
* Describes the message xeonr.pipelines.v1.CreateRunRequest.
|
|
534
|
+
* Use `create(CreateRunRequestSchema)` to create a new message.
|
|
535
|
+
*/
|
|
536
|
+
export declare const CreateRunRequestSchema: GenMessage<CreateRunRequest>;
|
|
537
|
+
/**
|
|
538
|
+
* @generated from message xeonr.pipelines.v1.CreateRunResponse
|
|
539
|
+
*/
|
|
540
|
+
export type CreateRunResponse = Message<"xeonr.pipelines.v1.CreateRunResponse"> & {
|
|
541
|
+
/**
|
|
542
|
+
* @generated from field: xeonr.pipelines.v1.Run run = 1;
|
|
543
|
+
*/
|
|
544
|
+
run?: Run | undefined;
|
|
545
|
+
/**
|
|
546
|
+
* Deduplicated says the idempotency key was seen before and `run` is the
|
|
547
|
+
* run the first call made.
|
|
548
|
+
*
|
|
549
|
+
* @generated from field: bool deduplicated = 2;
|
|
550
|
+
*/
|
|
551
|
+
deduplicated: boolean;
|
|
552
|
+
};
|
|
553
|
+
/**
|
|
554
|
+
* Describes the message xeonr.pipelines.v1.CreateRunResponse.
|
|
555
|
+
* Use `create(CreateRunResponseSchema)` to create a new message.
|
|
556
|
+
*/
|
|
557
|
+
export declare const CreateRunResponseSchema: GenMessage<CreateRunResponse>;
|
|
558
|
+
/**
|
|
559
|
+
* @generated from message xeonr.pipelines.v1.GetRunRequest
|
|
560
|
+
*/
|
|
561
|
+
export type GetRunRequest = Message<"xeonr.pipelines.v1.GetRunRequest"> & {
|
|
562
|
+
/**
|
|
563
|
+
* @generated from field: string run_id = 1;
|
|
564
|
+
*/
|
|
565
|
+
runId: string;
|
|
566
|
+
};
|
|
567
|
+
/**
|
|
568
|
+
* Describes the message xeonr.pipelines.v1.GetRunRequest.
|
|
569
|
+
* Use `create(GetRunRequestSchema)` to create a new message.
|
|
570
|
+
*/
|
|
571
|
+
export declare const GetRunRequestSchema: GenMessage<GetRunRequest>;
|
|
572
|
+
/**
|
|
573
|
+
* @generated from message xeonr.pipelines.v1.GetRunResponse
|
|
574
|
+
*/
|
|
575
|
+
export type GetRunResponse = Message<"xeonr.pipelines.v1.GetRunResponse"> & {
|
|
576
|
+
/**
|
|
577
|
+
* @generated from field: xeonr.pipelines.v1.Run run = 1;
|
|
578
|
+
*/
|
|
579
|
+
run?: Run | undefined;
|
|
580
|
+
};
|
|
581
|
+
/**
|
|
582
|
+
* Describes the message xeonr.pipelines.v1.GetRunResponse.
|
|
583
|
+
* Use `create(GetRunResponseSchema)` to create a new message.
|
|
584
|
+
*/
|
|
585
|
+
export declare const GetRunResponseSchema: GenMessage<GetRunResponse>;
|
|
586
|
+
/**
|
|
587
|
+
* @generated from message xeonr.pipelines.v1.ListRunsRequest
|
|
588
|
+
*/
|
|
589
|
+
export type ListRunsRequest = Message<"xeonr.pipelines.v1.ListRunsRequest"> & {
|
|
590
|
+
/**
|
|
591
|
+
* Tenant is the team whose runs are listed.
|
|
592
|
+
*
|
|
593
|
+
* @generated from field: string tenant = 1;
|
|
594
|
+
*/
|
|
595
|
+
tenant: string;
|
|
596
|
+
/**
|
|
597
|
+
* Resource narrows to the runs of one resource.
|
|
598
|
+
*
|
|
599
|
+
* @generated from field: xeonr.pipelines.v1.ResourceRef resource = 2;
|
|
600
|
+
*/
|
|
601
|
+
resource?: ResourceRef | undefined;
|
|
602
|
+
/**
|
|
603
|
+
* States narrows to runs in any of these states; empty lists all.
|
|
604
|
+
*
|
|
605
|
+
* @generated from field: repeated xeonr.pipelines.v1.RunState states = 3;
|
|
606
|
+
*/
|
|
607
|
+
states: RunState[];
|
|
608
|
+
/**
|
|
609
|
+
* Cursor is opaque, empty for the first page.
|
|
610
|
+
*
|
|
611
|
+
* @generated from field: string cursor = 4;
|
|
612
|
+
*/
|
|
613
|
+
cursor: string;
|
|
614
|
+
/**
|
|
615
|
+
* Limit is capped at 500; zero means the default of 50.
|
|
616
|
+
*
|
|
617
|
+
* @generated from field: uint32 limit = 5;
|
|
618
|
+
*/
|
|
619
|
+
limit: number;
|
|
620
|
+
};
|
|
621
|
+
/**
|
|
622
|
+
* Describes the message xeonr.pipelines.v1.ListRunsRequest.
|
|
623
|
+
* Use `create(ListRunsRequestSchema)` to create a new message.
|
|
624
|
+
*/
|
|
625
|
+
export declare const ListRunsRequestSchema: GenMessage<ListRunsRequest>;
|
|
626
|
+
/**
|
|
627
|
+
* @generated from message xeonr.pipelines.v1.ListRunsResponse
|
|
628
|
+
*/
|
|
629
|
+
export type ListRunsResponse = Message<"xeonr.pipelines.v1.ListRunsResponse"> & {
|
|
630
|
+
/**
|
|
631
|
+
* @generated from field: repeated xeonr.pipelines.v1.Run runs = 1;
|
|
632
|
+
*/
|
|
633
|
+
runs: Run[];
|
|
634
|
+
/**
|
|
635
|
+
* NextCursor is empty when there is no further page.
|
|
636
|
+
*
|
|
637
|
+
* @generated from field: string next_cursor = 2;
|
|
638
|
+
*/
|
|
639
|
+
nextCursor: string;
|
|
640
|
+
};
|
|
641
|
+
/**
|
|
642
|
+
* Describes the message xeonr.pipelines.v1.ListRunsResponse.
|
|
643
|
+
* Use `create(ListRunsResponseSchema)` to create a new message.
|
|
644
|
+
*/
|
|
645
|
+
export declare const ListRunsResponseSchema: GenMessage<ListRunsResponse>;
|
|
646
|
+
/**
|
|
647
|
+
* @generated from message xeonr.pipelines.v1.GetRunGraphRequest
|
|
648
|
+
*/
|
|
649
|
+
export type GetRunGraphRequest = Message<"xeonr.pipelines.v1.GetRunGraphRequest"> & {
|
|
650
|
+
/**
|
|
651
|
+
* @generated from field: string run_id = 1;
|
|
652
|
+
*/
|
|
653
|
+
runId: string;
|
|
654
|
+
};
|
|
655
|
+
/**
|
|
656
|
+
* Describes the message xeonr.pipelines.v1.GetRunGraphRequest.
|
|
657
|
+
* Use `create(GetRunGraphRequestSchema)` to create a new message.
|
|
658
|
+
*/
|
|
659
|
+
export declare const GetRunGraphRequestSchema: GenMessage<GetRunGraphRequest>;
|
|
660
|
+
/**
|
|
661
|
+
* @generated from message xeonr.pipelines.v1.GetRunGraphResponse
|
|
662
|
+
*/
|
|
663
|
+
export type GetRunGraphResponse = Message<"xeonr.pipelines.v1.GetRunGraphResponse"> & {
|
|
664
|
+
/**
|
|
665
|
+
* @generated from field: xeonr.pipelines.v1.Run run = 1;
|
|
666
|
+
*/
|
|
667
|
+
run?: Run | undefined;
|
|
668
|
+
/**
|
|
669
|
+
* Definition is the graph as frozen in the snapshot: versions exact,
|
|
670
|
+
* images pinned to digests.
|
|
671
|
+
*
|
|
672
|
+
* @generated from field: xeonr.pipelines.v1.Definition definition = 2;
|
|
673
|
+
*/
|
|
674
|
+
definition?: Definition | undefined;
|
|
675
|
+
/**
|
|
676
|
+
* Nodes holds one entry per node of the definition.
|
|
677
|
+
*
|
|
678
|
+
* @generated from field: repeated xeonr.pipelines.v1.NodeRun nodes = 3;
|
|
679
|
+
*/
|
|
680
|
+
nodes: NodeRun[];
|
|
681
|
+
};
|
|
682
|
+
/**
|
|
683
|
+
* Describes the message xeonr.pipelines.v1.GetRunGraphResponse.
|
|
684
|
+
* Use `create(GetRunGraphResponseSchema)` to create a new message.
|
|
685
|
+
*/
|
|
686
|
+
export declare const GetRunGraphResponseSchema: GenMessage<GetRunGraphResponse>;
|
|
687
|
+
/**
|
|
688
|
+
* @generated from message xeonr.pipelines.v1.CancelRunRequest
|
|
689
|
+
*/
|
|
690
|
+
export type CancelRunRequest = Message<"xeonr.pipelines.v1.CancelRunRequest"> & {
|
|
691
|
+
/**
|
|
692
|
+
* @generated from field: string run_id = 1;
|
|
693
|
+
*/
|
|
694
|
+
runId: string;
|
|
695
|
+
/**
|
|
696
|
+
* Reason is shown with the run.
|
|
697
|
+
*
|
|
698
|
+
* @generated from field: string reason = 2;
|
|
699
|
+
*/
|
|
700
|
+
reason: string;
|
|
701
|
+
};
|
|
702
|
+
/**
|
|
703
|
+
* Describes the message xeonr.pipelines.v1.CancelRunRequest.
|
|
704
|
+
* Use `create(CancelRunRequestSchema)` to create a new message.
|
|
705
|
+
*/
|
|
706
|
+
export declare const CancelRunRequestSchema: GenMessage<CancelRunRequest>;
|
|
707
|
+
/**
|
|
708
|
+
* @generated from message xeonr.pipelines.v1.CancelRunResponse
|
|
709
|
+
*/
|
|
710
|
+
export type CancelRunResponse = Message<"xeonr.pipelines.v1.CancelRunResponse"> & {
|
|
711
|
+
/**
|
|
712
|
+
* @generated from field: xeonr.pipelines.v1.Run run = 1;
|
|
713
|
+
*/
|
|
714
|
+
run?: Run | undefined;
|
|
715
|
+
};
|
|
716
|
+
/**
|
|
717
|
+
* Describes the message xeonr.pipelines.v1.CancelRunResponse.
|
|
718
|
+
* Use `create(CancelRunResponseSchema)` to create a new message.
|
|
719
|
+
*/
|
|
720
|
+
export declare const CancelRunResponseSchema: GenMessage<CancelRunResponse>;
|
|
721
|
+
/**
|
|
722
|
+
* @generated from message xeonr.pipelines.v1.GetLogsRequest
|
|
723
|
+
*/
|
|
724
|
+
export type GetLogsRequest = Message<"xeonr.pipelines.v1.GetLogsRequest"> & {
|
|
725
|
+
/**
|
|
726
|
+
* AttemptID is the attempt whose log is read. Logs are per attempt, never
|
|
727
|
+
* per node: a retry has its own.
|
|
728
|
+
*
|
|
729
|
+
* @generated from field: string attempt_id = 1;
|
|
730
|
+
*/
|
|
731
|
+
attemptId: string;
|
|
732
|
+
/**
|
|
733
|
+
* Offset is the byte to start from; zero is the beginning.
|
|
734
|
+
*
|
|
735
|
+
* @generated from field: uint64 offset = 2;
|
|
736
|
+
*/
|
|
737
|
+
offset: bigint;
|
|
738
|
+
/**
|
|
739
|
+
* LimitBytes caps the data returned. Zero means the default of 256 KiB.
|
|
740
|
+
*
|
|
741
|
+
* @generated from field: uint32 limit_bytes = 3;
|
|
742
|
+
*/
|
|
743
|
+
limitBytes: number;
|
|
744
|
+
};
|
|
745
|
+
/**
|
|
746
|
+
* Describes the message xeonr.pipelines.v1.GetLogsRequest.
|
|
747
|
+
* Use `create(GetLogsRequestSchema)` to create a new message.
|
|
748
|
+
*/
|
|
749
|
+
export declare const GetLogsRequestSchema: GenMessage<GetLogsRequest>;
|
|
750
|
+
/**
|
|
751
|
+
* @generated from message xeonr.pipelines.v1.GetLogsResponse
|
|
752
|
+
*/
|
|
753
|
+
export type GetLogsResponse = Message<"xeonr.pipelines.v1.GetLogsResponse"> & {
|
|
754
|
+
/**
|
|
755
|
+
* Data is the log from `offset`. It may be empty while nothing new has
|
|
756
|
+
* been written.
|
|
757
|
+
*
|
|
758
|
+
* @generated from field: bytes data = 1;
|
|
759
|
+
*/
|
|
760
|
+
data: Uint8Array;
|
|
761
|
+
/**
|
|
762
|
+
* NextOffset is the offset to read from next.
|
|
763
|
+
*
|
|
764
|
+
* @generated from field: uint64 next_offset = 2;
|
|
765
|
+
*/
|
|
766
|
+
nextOffset: bigint;
|
|
767
|
+
/**
|
|
768
|
+
* Complete says the attempt is terminal and `next_offset` is the end of
|
|
769
|
+
* its log: there is nothing more to read, ever.
|
|
770
|
+
*
|
|
771
|
+
* @generated from field: bool complete = 3;
|
|
772
|
+
*/
|
|
773
|
+
complete: boolean;
|
|
774
|
+
/**
|
|
775
|
+
* Truncated says the log hit its size cap and ends with a marker.
|
|
776
|
+
*
|
|
777
|
+
* @generated from field: bool truncated = 4;
|
|
778
|
+
*/
|
|
779
|
+
truncated: boolean;
|
|
780
|
+
};
|
|
781
|
+
/**
|
|
782
|
+
* Describes the message xeonr.pipelines.v1.GetLogsResponse.
|
|
783
|
+
* Use `create(GetLogsResponseSchema)` to create a new message.
|
|
784
|
+
*/
|
|
785
|
+
export declare const GetLogsResponseSchema: GenMessage<GetLogsResponse>;
|
|
786
|
+
/**
|
|
787
|
+
* @generated from message xeonr.pipelines.v1.TailLogsRequest
|
|
788
|
+
*/
|
|
789
|
+
export type TailLogsRequest = Message<"xeonr.pipelines.v1.TailLogsRequest"> & {
|
|
790
|
+
/**
|
|
791
|
+
* @generated from field: string attempt_id = 1;
|
|
792
|
+
*/
|
|
793
|
+
attemptId: string;
|
|
794
|
+
/**
|
|
795
|
+
* Offset is the byte to start from; zero is the beginning.
|
|
796
|
+
*
|
|
797
|
+
* @generated from field: uint64 offset = 2;
|
|
798
|
+
*/
|
|
799
|
+
offset: bigint;
|
|
800
|
+
};
|
|
801
|
+
/**
|
|
802
|
+
* Describes the message xeonr.pipelines.v1.TailLogsRequest.
|
|
803
|
+
* Use `create(TailLogsRequestSchema)` to create a new message.
|
|
804
|
+
*/
|
|
805
|
+
export declare const TailLogsRequestSchema: GenMessage<TailLogsRequest>;
|
|
806
|
+
/**
|
|
807
|
+
* @generated from message xeonr.pipelines.v1.TailLogsResponse
|
|
808
|
+
*/
|
|
809
|
+
export type TailLogsResponse = Message<"xeonr.pipelines.v1.TailLogsResponse"> & {
|
|
810
|
+
/**
|
|
811
|
+
* Data is the log from `offset`.
|
|
812
|
+
*
|
|
813
|
+
* @generated from field: bytes data = 1;
|
|
814
|
+
*/
|
|
815
|
+
data: Uint8Array;
|
|
816
|
+
/**
|
|
817
|
+
* Offset is where `data` starts.
|
|
818
|
+
*
|
|
819
|
+
* @generated from field: uint64 offset = 2;
|
|
820
|
+
*/
|
|
821
|
+
offset: bigint;
|
|
822
|
+
/**
|
|
823
|
+
* NextOffset is where the next message starts, and where to resume from.
|
|
824
|
+
*
|
|
825
|
+
* @generated from field: uint64 next_offset = 3;
|
|
826
|
+
*/
|
|
827
|
+
nextOffset: bigint;
|
|
828
|
+
/**
|
|
829
|
+
* Complete is set on the last message: the attempt is terminal and its
|
|
830
|
+
* whole log has been sent.
|
|
831
|
+
*
|
|
832
|
+
* @generated from field: bool complete = 4;
|
|
833
|
+
*/
|
|
834
|
+
complete: boolean;
|
|
835
|
+
/**
|
|
836
|
+
* @generated from field: bool truncated = 5;
|
|
837
|
+
*/
|
|
838
|
+
truncated: boolean;
|
|
839
|
+
};
|
|
840
|
+
/**
|
|
841
|
+
* Describes the message xeonr.pipelines.v1.TailLogsResponse.
|
|
842
|
+
* Use `create(TailLogsResponseSchema)` to create a new message.
|
|
843
|
+
*/
|
|
844
|
+
export declare const TailLogsResponseSchema: GenMessage<TailLogsResponse>;
|
|
845
|
+
/**
|
|
846
|
+
* @generated from message xeonr.pipelines.v1.GetBlobOutputRequest
|
|
847
|
+
*/
|
|
848
|
+
export type GetBlobOutputRequest = Message<"xeonr.pipelines.v1.GetBlobOutputRequest"> & {
|
|
849
|
+
/**
|
|
850
|
+
* @generated from field: string run_id = 1;
|
|
851
|
+
*/
|
|
852
|
+
runId: string;
|
|
853
|
+
/**
|
|
854
|
+
* @generated from field: string node_id = 2;
|
|
855
|
+
*/
|
|
856
|
+
nodeId: string;
|
|
857
|
+
/**
|
|
858
|
+
* Slot is the blob output's name, as GetRunGraph lists it: a manifest blob
|
|
859
|
+
* slot or an artifact name.
|
|
860
|
+
*
|
|
861
|
+
* @generated from field: string slot = 3;
|
|
862
|
+
*/
|
|
863
|
+
slot: string;
|
|
864
|
+
/**
|
|
865
|
+
* Filename names one file of a slot that holds several, as
|
|
866
|
+
* `BlobOutput.filename` gives it; empty for a slot with one blob.
|
|
867
|
+
*
|
|
868
|
+
* @generated from field: string filename = 4;
|
|
869
|
+
*/
|
|
870
|
+
filename: string;
|
|
871
|
+
/**
|
|
872
|
+
* AttemptID, when set, reads the blob of that attempt instead of the
|
|
873
|
+
* node's settled one. It must be an attempt of this node that settled it:
|
|
874
|
+
* the current one, or one a RetryNode has since replaced.
|
|
875
|
+
*
|
|
876
|
+
* @generated from field: string attempt_id = 5;
|
|
877
|
+
*/
|
|
878
|
+
attemptId: string;
|
|
879
|
+
};
|
|
880
|
+
/**
|
|
881
|
+
* Describes the message xeonr.pipelines.v1.GetBlobOutputRequest.
|
|
882
|
+
* Use `create(GetBlobOutputRequestSchema)` to create a new message.
|
|
883
|
+
*/
|
|
884
|
+
export declare const GetBlobOutputRequestSchema: GenMessage<GetBlobOutputRequest>;
|
|
885
|
+
/**
|
|
886
|
+
* @generated from message xeonr.pipelines.v1.GetBlobOutputResponse
|
|
887
|
+
*/
|
|
888
|
+
export type GetBlobOutputResponse = Message<"xeonr.pipelines.v1.GetBlobOutputResponse"> & {
|
|
889
|
+
/**
|
|
890
|
+
* URL is a presigned GET for the blob, valid until `expires_at`. It is a
|
|
891
|
+
* capability: whoever holds it can read the blob until then.
|
|
892
|
+
*
|
|
893
|
+
* @generated from field: string url = 1;
|
|
894
|
+
*/
|
|
895
|
+
url: string;
|
|
896
|
+
/**
|
|
897
|
+
* ExpiresAt is when the URL stops working, minutes from now. It is not the
|
|
898
|
+
* blob's own expiry, which `BlobOutput.expires_at` gives.
|
|
899
|
+
*
|
|
900
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 2;
|
|
901
|
+
*/
|
|
902
|
+
expiresAt?: Timestamp | undefined;
|
|
903
|
+
/**
|
|
904
|
+
* @generated from field: uint64 size_bytes = 3;
|
|
905
|
+
*/
|
|
906
|
+
sizeBytes: bigint;
|
|
907
|
+
/**
|
|
908
|
+
* Sha256 is the content's digest, in hex, to verify the download against.
|
|
909
|
+
*
|
|
910
|
+
* @generated from field: string sha256 = 4;
|
|
911
|
+
*/
|
|
912
|
+
sha256: string;
|
|
913
|
+
/**
|
|
914
|
+
* @generated from field: string media_type = 5;
|
|
915
|
+
*/
|
|
916
|
+
mediaType: string;
|
|
917
|
+
/**
|
|
918
|
+
* Filename is the blob's file name.
|
|
919
|
+
*
|
|
920
|
+
* @generated from field: string filename = 6;
|
|
921
|
+
*/
|
|
922
|
+
filename: string;
|
|
923
|
+
/**
|
|
924
|
+
* AttemptID is the attempt whose blob this is.
|
|
925
|
+
*
|
|
926
|
+
* @generated from field: string attempt_id = 7;
|
|
927
|
+
*/
|
|
928
|
+
attemptId: string;
|
|
929
|
+
};
|
|
930
|
+
/**
|
|
931
|
+
* Describes the message xeonr.pipelines.v1.GetBlobOutputResponse.
|
|
932
|
+
* Use `create(GetBlobOutputResponseSchema)` to create a new message.
|
|
933
|
+
*/
|
|
934
|
+
export declare const GetBlobOutputResponseSchema: GenMessage<GetBlobOutputResponse>;
|
|
935
|
+
/**
|
|
936
|
+
* @generated from message xeonr.pipelines.v1.RetryNodeRequest
|
|
937
|
+
*/
|
|
938
|
+
export type RetryNodeRequest = Message<"xeonr.pipelines.v1.RetryNodeRequest"> & {
|
|
939
|
+
/**
|
|
940
|
+
* @generated from field: string run_id = 1;
|
|
941
|
+
*/
|
|
942
|
+
runId: string;
|
|
943
|
+
/**
|
|
944
|
+
* @generated from field: string node_id = 2;
|
|
945
|
+
*/
|
|
946
|
+
nodeId: string;
|
|
947
|
+
};
|
|
948
|
+
/**
|
|
949
|
+
* Describes the message xeonr.pipelines.v1.RetryNodeRequest.
|
|
950
|
+
* Use `create(RetryNodeRequestSchema)` to create a new message.
|
|
951
|
+
*/
|
|
952
|
+
export declare const RetryNodeRequestSchema: GenMessage<RetryNodeRequest>;
|
|
953
|
+
/**
|
|
954
|
+
* @generated from message xeonr.pipelines.v1.RetryNodeResponse
|
|
955
|
+
*/
|
|
956
|
+
export type RetryNodeResponse = Message<"xeonr.pipelines.v1.RetryNodeResponse"> & {
|
|
957
|
+
/**
|
|
958
|
+
* @generated from field: xeonr.pipelines.v1.Run run = 1;
|
|
959
|
+
*/
|
|
960
|
+
run?: Run | undefined;
|
|
961
|
+
/**
|
|
962
|
+
* Attempt is the new attempt offered for the node.
|
|
963
|
+
*
|
|
964
|
+
* @generated from field: xeonr.pipelines.v1.Attempt attempt = 2;
|
|
965
|
+
*/
|
|
966
|
+
attempt?: Attempt | undefined;
|
|
967
|
+
};
|
|
968
|
+
/**
|
|
969
|
+
* Describes the message xeonr.pipelines.v1.RetryNodeResponse.
|
|
970
|
+
* Use `create(RetryNodeResponseSchema)` to create a new message.
|
|
971
|
+
*/
|
|
972
|
+
export declare const RetryNodeResponseSchema: GenMessage<RetryNodeResponse>;
|
|
973
|
+
/**
|
|
974
|
+
* @generated from message xeonr.pipelines.v1.ReleaseNodeRequest
|
|
975
|
+
*/
|
|
976
|
+
export type ReleaseNodeRequest = Message<"xeonr.pipelines.v1.ReleaseNodeRequest"> & {
|
|
977
|
+
/**
|
|
978
|
+
* @generated from field: string run_id = 1;
|
|
979
|
+
*/
|
|
980
|
+
runId: string;
|
|
981
|
+
/**
|
|
982
|
+
* @generated from field: string node_id = 2;
|
|
983
|
+
*/
|
|
984
|
+
nodeId: string;
|
|
985
|
+
};
|
|
986
|
+
/**
|
|
987
|
+
* Describes the message xeonr.pipelines.v1.ReleaseNodeRequest.
|
|
988
|
+
* Use `create(ReleaseNodeRequestSchema)` to create a new message.
|
|
989
|
+
*/
|
|
990
|
+
export declare const ReleaseNodeRequestSchema: GenMessage<ReleaseNodeRequest>;
|
|
991
|
+
/**
|
|
992
|
+
* @generated from message xeonr.pipelines.v1.ReleaseNodeResponse
|
|
993
|
+
*/
|
|
994
|
+
export type ReleaseNodeResponse = Message<"xeonr.pipelines.v1.ReleaseNodeResponse"> & {
|
|
995
|
+
/**
|
|
996
|
+
* @generated from field: xeonr.pipelines.v1.Run run = 1;
|
|
997
|
+
*/
|
|
998
|
+
run?: Run | undefined;
|
|
999
|
+
};
|
|
1000
|
+
/**
|
|
1001
|
+
* Describes the message xeonr.pipelines.v1.ReleaseNodeResponse.
|
|
1002
|
+
* Use `create(ReleaseNodeResponseSchema)` to create a new message.
|
|
1003
|
+
*/
|
|
1004
|
+
export declare const ReleaseNodeResponseSchema: GenMessage<ReleaseNodeResponse>;
|
|
1005
|
+
/**
|
|
1006
|
+
* @generated from message xeonr.pipelines.v1.CreateJobRequest
|
|
1007
|
+
*/
|
|
1008
|
+
export type CreateJobRequest = Message<"xeonr.pipelines.v1.CreateJobRequest"> & {
|
|
1009
|
+
/**
|
|
1010
|
+
* Tenant is the team the job belongs to.
|
|
1011
|
+
*
|
|
1012
|
+
* @generated from field: string tenant = 1;
|
|
1013
|
+
*/
|
|
1014
|
+
tenant: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* Handler is the worker handler to run: the `<namespace>/<name>` of a
|
|
1017
|
+
* `worker` package.
|
|
1018
|
+
*
|
|
1019
|
+
* @generated from field: string handler = 2;
|
|
1020
|
+
*/
|
|
1021
|
+
handler: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* Payload is the handler's inputs, by input name. At most 256 KiB encoded.
|
|
1024
|
+
*
|
|
1025
|
+
* @generated from field: google.protobuf.Struct payload = 3;
|
|
1026
|
+
*/
|
|
1027
|
+
payload?: JsonObject | undefined;
|
|
1028
|
+
/**
|
|
1029
|
+
* Delay holds the job back: it is not offered to a worker earlier.
|
|
1030
|
+
*
|
|
1031
|
+
* @generated from field: google.protobuf.Duration delay = 4;
|
|
1032
|
+
*/
|
|
1033
|
+
delay?: Duration | undefined;
|
|
1034
|
+
/**
|
|
1035
|
+
* IdempotencyKey makes the create safe to repeat, per calling product.
|
|
1036
|
+
*
|
|
1037
|
+
* @generated from field: string idempotency_key = 5;
|
|
1038
|
+
*/
|
|
1039
|
+
idempotencyKey: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* Resource is what the job is about. Optional: a job need not be about
|
|
1042
|
+
* anything.
|
|
1043
|
+
*
|
|
1044
|
+
* @generated from field: xeonr.pipelines.v1.Resource resource = 6;
|
|
1045
|
+
*/
|
|
1046
|
+
resource?: Resource | undefined;
|
|
1047
|
+
/**
|
|
1048
|
+
* Retry is the job's retry policy, the same message and meaning as a
|
|
1049
|
+
* node's `retry`, applied to the job's one node. Unset is the platform
|
|
1050
|
+
* default: the transient classes only, with backoff, which does not
|
|
1051
|
+
* retry FAILURE_CLASS_HANDLER_ERROR unless the worker marked the failure
|
|
1052
|
+
* transient. To retry every handler error, list HANDLER_ERROR in `when`.
|
|
1053
|
+
* `max` is bounded here (10) and may be lowered by the platform's policy,
|
|
1054
|
+
* never raised. Milestone 2.
|
|
1055
|
+
*
|
|
1056
|
+
* @generated from field: xeonr.pipelines.v1.Retry retry = 7;
|
|
1057
|
+
*/
|
|
1058
|
+
retry?: Retry | undefined;
|
|
1059
|
+
/**
|
|
1060
|
+
* Timeout bounds one attempt of the job from its start, as a node's
|
|
1061
|
+
* `timeout` does. Unset is the platform default; the upper bound is the
|
|
1062
|
+
* platform's policy, not this schema's. Milestone 2.
|
|
1063
|
+
*
|
|
1064
|
+
* @generated from field: google.protobuf.Duration timeout = 8;
|
|
1065
|
+
*/
|
|
1066
|
+
timeout?: Duration | undefined;
|
|
1067
|
+
};
|
|
1068
|
+
/**
|
|
1069
|
+
* Describes the message xeonr.pipelines.v1.CreateJobRequest.
|
|
1070
|
+
* Use `create(CreateJobRequestSchema)` to create a new message.
|
|
1071
|
+
*/
|
|
1072
|
+
export declare const CreateJobRequestSchema: GenMessage<CreateJobRequest>;
|
|
1073
|
+
/**
|
|
1074
|
+
* @generated from message xeonr.pipelines.v1.CreateJobResponse
|
|
1075
|
+
*/
|
|
1076
|
+
export type CreateJobResponse = Message<"xeonr.pipelines.v1.CreateJobResponse"> & {
|
|
1077
|
+
/**
|
|
1078
|
+
* Run is the one-node run made for the job.
|
|
1079
|
+
*
|
|
1080
|
+
* @generated from field: xeonr.pipelines.v1.Run run = 1;
|
|
1081
|
+
*/
|
|
1082
|
+
run?: Run | undefined;
|
|
1083
|
+
/**
|
|
1084
|
+
* Deduplicated says the idempotency key was seen before.
|
|
1085
|
+
*
|
|
1086
|
+
* @generated from field: bool deduplicated = 2;
|
|
1087
|
+
*/
|
|
1088
|
+
deduplicated: boolean;
|
|
1089
|
+
};
|
|
1090
|
+
/**
|
|
1091
|
+
* Describes the message xeonr.pipelines.v1.CreateJobResponse.
|
|
1092
|
+
* Use `create(CreateJobResponseSchema)` to create a new message.
|
|
1093
|
+
*/
|
|
1094
|
+
export declare const CreateJobResponseSchema: GenMessage<CreateJobResponse>;
|
|
1095
|
+
/**
|
|
1096
|
+
* ConflictPolicy is what happens when a run starts while another holds its
|
|
1097
|
+
* exclusion key.
|
|
1098
|
+
*
|
|
1099
|
+
* @generated from enum xeonr.pipelines.v1.ConflictPolicy
|
|
1100
|
+
*/
|
|
1101
|
+
export declare enum ConflictPolicy {
|
|
1102
|
+
/**
|
|
1103
|
+
* @generated from enum value: CONFLICT_POLICY_UNSPECIFIED = 0;
|
|
1104
|
+
*/
|
|
1105
|
+
UNSPECIFIED = 0,
|
|
1106
|
+
/**
|
|
1107
|
+
* The new run waits, visibly, until the holder is terminal.
|
|
1108
|
+
*
|
|
1109
|
+
* @generated from enum value: CONFLICT_POLICY_QUEUE = 1;
|
|
1110
|
+
*/
|
|
1111
|
+
QUEUE = 1,
|
|
1112
|
+
/**
|
|
1113
|
+
* The older run is superseded and cancelled, but only while none of its
|
|
1114
|
+
* non-interruptible nodes has started. Otherwise the new run queues.
|
|
1115
|
+
*
|
|
1116
|
+
* @generated from enum value: CONFLICT_POLICY_CANCEL_OLDER = 2;
|
|
1117
|
+
*/
|
|
1118
|
+
CANCEL_OLDER = 2
|
|
1119
|
+
}
|
|
1120
|
+
/**
|
|
1121
|
+
* Describes the enum xeonr.pipelines.v1.ConflictPolicy.
|
|
1122
|
+
*/
|
|
1123
|
+
export declare const ConflictPolicySchema: GenEnum<ConflictPolicy>;
|
|
1124
|
+
/**
|
|
1125
|
+
* RunsService creates runs and reads what became of them. It is the surface a
|
|
1126
|
+
* consuming product drives (the forge starts a run per push) and the one the
|
|
1127
|
+
* console and CLI show: there is no separate read model for people.
|
|
1128
|
+
*
|
|
1129
|
+
* Ownership. Every run belongs to a tenant, a Xeonr Auth team. A person may
|
|
1130
|
+
* read and act on a run only as a member of that team, which the service asks
|
|
1131
|
+
* of Auth as the caller. A product calls with its Auth service-account token
|
|
1132
|
+
* (every RPC here admits service accounts) and names the tenant itself: the
|
|
1133
|
+
* platform holds it to its scope and to the tenants it may act for. A run of
|
|
1134
|
+
* a tenant the caller cannot see answers `not_found`, never
|
|
1135
|
+
* `permission_denied`.
|
|
1136
|
+
*
|
|
1137
|
+
* Verbs outside api.rpc-naming's, each for a reason:
|
|
1138
|
+
*
|
|
1139
|
+
* - CancelRun, RetryNode and ReleaseNode ask the scheduler to act, and the
|
|
1140
|
+
* scheduler decides the state that results (a cancel goes through
|
|
1141
|
+
* CANCELLING and may lose to a completion), so `Mark` would misdescribe
|
|
1142
|
+
* them.
|
|
1143
|
+
* - TailLogs is a server stream, which no standard verb names.
|
|
1144
|
+
*
|
|
1145
|
+
* @generated from service xeonr.pipelines.v1.RunsService
|
|
1146
|
+
*/
|
|
1147
|
+
export declare const RunsService: GenService<{
|
|
1148
|
+
/**
|
|
1149
|
+
* @generated from rpc xeonr.pipelines.v1.RunsService.CreateRun
|
|
1150
|
+
*/
|
|
1151
|
+
createRun: {
|
|
1152
|
+
methodKind: "unary";
|
|
1153
|
+
input: typeof CreateRunRequestSchema;
|
|
1154
|
+
output: typeof CreateRunResponseSchema;
|
|
1155
|
+
};
|
|
1156
|
+
/**
|
|
1157
|
+
* @generated from rpc xeonr.pipelines.v1.RunsService.GetRun
|
|
1158
|
+
*/
|
|
1159
|
+
getRun: {
|
|
1160
|
+
methodKind: "unary";
|
|
1161
|
+
input: typeof GetRunRequestSchema;
|
|
1162
|
+
output: typeof GetRunResponseSchema;
|
|
1163
|
+
};
|
|
1164
|
+
/**
|
|
1165
|
+
* @generated from rpc xeonr.pipelines.v1.RunsService.ListRuns
|
|
1166
|
+
*/
|
|
1167
|
+
listRuns: {
|
|
1168
|
+
methodKind: "unary";
|
|
1169
|
+
input: typeof ListRunsRequestSchema;
|
|
1170
|
+
output: typeof ListRunsResponseSchema;
|
|
1171
|
+
};
|
|
1172
|
+
/**
|
|
1173
|
+
* @generated from rpc xeonr.pipelines.v1.RunsService.GetRunGraph
|
|
1174
|
+
*/
|
|
1175
|
+
getRunGraph: {
|
|
1176
|
+
methodKind: "unary";
|
|
1177
|
+
input: typeof GetRunGraphRequestSchema;
|
|
1178
|
+
output: typeof GetRunGraphResponseSchema;
|
|
1179
|
+
};
|
|
1180
|
+
/**
|
|
1181
|
+
* @generated from rpc xeonr.pipelines.v1.RunsService.CancelRun
|
|
1182
|
+
*/
|
|
1183
|
+
cancelRun: {
|
|
1184
|
+
methodKind: "unary";
|
|
1185
|
+
input: typeof CancelRunRequestSchema;
|
|
1186
|
+
output: typeof CancelRunResponseSchema;
|
|
1187
|
+
};
|
|
1188
|
+
/**
|
|
1189
|
+
* @generated from rpc xeonr.pipelines.v1.RunsService.GetLogs
|
|
1190
|
+
*/
|
|
1191
|
+
getLogs: {
|
|
1192
|
+
methodKind: "unary";
|
|
1193
|
+
input: typeof GetLogsRequestSchema;
|
|
1194
|
+
output: typeof GetLogsResponseSchema;
|
|
1195
|
+
};
|
|
1196
|
+
/**
|
|
1197
|
+
* @generated from rpc xeonr.pipelines.v1.RunsService.TailLogs
|
|
1198
|
+
*/
|
|
1199
|
+
tailLogs: {
|
|
1200
|
+
methodKind: "server_streaming";
|
|
1201
|
+
input: typeof TailLogsRequestSchema;
|
|
1202
|
+
output: typeof TailLogsResponseSchema;
|
|
1203
|
+
};
|
|
1204
|
+
/**
|
|
1205
|
+
* @generated from rpc xeonr.pipelines.v1.RunsService.GetBlobOutput
|
|
1206
|
+
*/
|
|
1207
|
+
getBlobOutput: {
|
|
1208
|
+
methodKind: "unary";
|
|
1209
|
+
input: typeof GetBlobOutputRequestSchema;
|
|
1210
|
+
output: typeof GetBlobOutputResponseSchema;
|
|
1211
|
+
};
|
|
1212
|
+
/**
|
|
1213
|
+
* @generated from rpc xeonr.pipelines.v1.RunsService.RetryNode
|
|
1214
|
+
*/
|
|
1215
|
+
retryNode: {
|
|
1216
|
+
methodKind: "unary";
|
|
1217
|
+
input: typeof RetryNodeRequestSchema;
|
|
1218
|
+
output: typeof RetryNodeResponseSchema;
|
|
1219
|
+
};
|
|
1220
|
+
/**
|
|
1221
|
+
* @generated from rpc xeonr.pipelines.v1.RunsService.ReleaseNode
|
|
1222
|
+
*/
|
|
1223
|
+
releaseNode: {
|
|
1224
|
+
methodKind: "unary";
|
|
1225
|
+
input: typeof ReleaseNodeRequestSchema;
|
|
1226
|
+
output: typeof ReleaseNodeResponseSchema;
|
|
1227
|
+
};
|
|
1228
|
+
/**
|
|
1229
|
+
* @generated from rpc xeonr.pipelines.v1.RunsService.CreateJob
|
|
1230
|
+
*/
|
|
1231
|
+
createJob: {
|
|
1232
|
+
methodKind: "unary";
|
|
1233
|
+
input: typeof CreateJobRequestSchema;
|
|
1234
|
+
output: typeof CreateJobResponseSchema;
|
|
1235
|
+
};
|
|
1236
|
+
}>;
|
|
1237
|
+
//# sourceMappingURL=runs_pb.d.ts.map
|