@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,895 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Timestamp, Value } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file xeonr/pipelines/v1/registry.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_xeonr_pipelines_v1_registry: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* InputSlot declares one input of a step.
|
|
10
|
+
*
|
|
11
|
+
* @generated from message xeonr.pipelines.v1.InputSlot
|
|
12
|
+
*/
|
|
13
|
+
export type InputSlot = Message<"xeonr.pipelines.v1.InputSlot"> & {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: string name = 1;
|
|
16
|
+
*/
|
|
17
|
+
name: string;
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: xeonr.pipelines.v1.SlotType type = 2;
|
|
20
|
+
*/
|
|
21
|
+
type: SlotType;
|
|
22
|
+
/**
|
|
23
|
+
* Schema is a JSON Schema the value of a KV input must satisfy. Unset
|
|
24
|
+
* accepts any value. Ignored for other types.
|
|
25
|
+
*
|
|
26
|
+
* @generated from field: google.protobuf.Struct schema = 3;
|
|
27
|
+
*/
|
|
28
|
+
schema?: JsonObject | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Required says the node must give the input.
|
|
31
|
+
*
|
|
32
|
+
* validate:skip a bool has no bounds
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: bool required = 4;
|
|
35
|
+
*/
|
|
36
|
+
required: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Multiple, on a BLOB input, accepts a list of blobs, all staged under the
|
|
39
|
+
* one input path (several upstream outputs fanned into one directory).
|
|
40
|
+
*
|
|
41
|
+
* validate:skip a bool has no bounds
|
|
42
|
+
*
|
|
43
|
+
* @generated from field: bool multiple = 5;
|
|
44
|
+
*/
|
|
45
|
+
multiple: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Default is used when the node does not give a KV input.
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: google.protobuf.Value default = 6;
|
|
50
|
+
*/
|
|
51
|
+
default?: Value | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* AllowedRegistries, on an IMAGE input, lists the registry hosts (with an
|
|
54
|
+
* optional path prefix) an image may come from. Empty allows none, so an
|
|
55
|
+
* IMAGE input always names its registries; `*` allows any.
|
|
56
|
+
*
|
|
57
|
+
* @generated from field: repeated string allowed_registries = 7;
|
|
58
|
+
*/
|
|
59
|
+
allowedRegistries: string[];
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: string description = 8;
|
|
62
|
+
*/
|
|
63
|
+
description: string;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message xeonr.pipelines.v1.InputSlot.
|
|
67
|
+
* Use `create(InputSlotSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export declare const InputSlotSchema: GenMessage<InputSlot>;
|
|
70
|
+
/**
|
|
71
|
+
* OutputSlot declares one output of a step.
|
|
72
|
+
*
|
|
73
|
+
* @generated from message xeonr.pipelines.v1.OutputSlot
|
|
74
|
+
*/
|
|
75
|
+
export type OutputSlot = Message<"xeonr.pipelines.v1.OutputSlot"> & {
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: string name = 1;
|
|
78
|
+
*/
|
|
79
|
+
name: string;
|
|
80
|
+
/**
|
|
81
|
+
* Type is KV or BLOB.
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: xeonr.pipelines.v1.SlotType type = 2;
|
|
84
|
+
*/
|
|
85
|
+
type: SlotType;
|
|
86
|
+
/**
|
|
87
|
+
* Schema is a JSON Schema a KV output must satisfy. Unset accepts any
|
|
88
|
+
* value.
|
|
89
|
+
*
|
|
90
|
+
* @generated from field: google.protobuf.Struct schema = 3;
|
|
91
|
+
*/
|
|
92
|
+
schema?: JsonObject | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* Required fails an attempt that exits zero without writing the output
|
|
95
|
+
* (FAILURE_CLASS_MISSING_OUTPUT).
|
|
96
|
+
*
|
|
97
|
+
* validate:skip a bool has no bounds
|
|
98
|
+
*
|
|
99
|
+
* @generated from field: bool required = 4;
|
|
100
|
+
*/
|
|
101
|
+
required: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* MediaType hints a BLOB output's content type.
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: string media_type = 5;
|
|
106
|
+
*/
|
|
107
|
+
mediaType: string;
|
|
108
|
+
/**
|
|
109
|
+
* MaxSizeBytes caps a BLOB output; zero leaves the platform's cap.
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: uint64 max_size_bytes = 6;
|
|
112
|
+
*/
|
|
113
|
+
maxSizeBytes: bigint;
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: string description = 7;
|
|
116
|
+
*/
|
|
117
|
+
description: string;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message xeonr.pipelines.v1.OutputSlot.
|
|
121
|
+
* Use `create(OutputSlotSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export declare const OutputSlotSchema: GenMessage<OutputSlot>;
|
|
124
|
+
/**
|
|
125
|
+
* ExecBinding is how an `exec` package starts. The argv is frozen at publish:
|
|
126
|
+
* a definition gives inputs, never arguments.
|
|
127
|
+
*
|
|
128
|
+
* @generated from message xeonr.pipelines.v1.ExecBinding
|
|
129
|
+
*/
|
|
130
|
+
export type ExecBinding = Message<"xeonr.pipelines.v1.ExecBinding"> & {
|
|
131
|
+
/**
|
|
132
|
+
* Command and Args are the argv run in the step container. Both empty
|
|
133
|
+
* runs the injected step shim, which is how `platform/script` works.
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: repeated string command = 1;
|
|
136
|
+
*/
|
|
137
|
+
command: string[];
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: repeated string args = 2;
|
|
140
|
+
*/
|
|
141
|
+
args: string[];
|
|
142
|
+
/**
|
|
143
|
+
* ImageInput names an IMAGE input that supplies the image the step runs
|
|
144
|
+
* in, for a package that publishes no image of its own (`platform/script`:
|
|
145
|
+
* the image is chosen per node). Empty runs the package's image artifact.
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: string image_input = 3;
|
|
148
|
+
*/
|
|
149
|
+
imageInput: string;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Describes the message xeonr.pipelines.v1.ExecBinding.
|
|
153
|
+
* Use `create(ExecBindingSchema)` to create a new message.
|
|
154
|
+
*/
|
|
155
|
+
export declare const ExecBindingSchema: GenMessage<ExecBinding>;
|
|
156
|
+
/**
|
|
157
|
+
* Manifest is a step's contract: what it takes, what it produces, what it is
|
|
158
|
+
* allowed to ask of the platform, and how it starts. The platform checks a
|
|
159
|
+
* definition against it when a run starts and checks values against it when
|
|
160
|
+
* a node is dispatched and when an output is written.
|
|
161
|
+
*
|
|
162
|
+
* @generated from message xeonr.pipelines.v1.Manifest
|
|
163
|
+
*/
|
|
164
|
+
export type Manifest = Message<"xeonr.pipelines.v1.Manifest"> & {
|
|
165
|
+
/**
|
|
166
|
+
* @generated from field: xeonr.pipelines.v1.PackageKind kind = 1;
|
|
167
|
+
*/
|
|
168
|
+
kind: PackageKind;
|
|
169
|
+
/**
|
|
170
|
+
* @generated from field: string description = 2;
|
|
171
|
+
*/
|
|
172
|
+
description: string;
|
|
173
|
+
/**
|
|
174
|
+
* ResourceKinds are the resource kinds the step accepts; `*` or empty
|
|
175
|
+
* accepts any.
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: repeated string resource_kinds = 3;
|
|
178
|
+
*/
|
|
179
|
+
resourceKinds: string[];
|
|
180
|
+
/**
|
|
181
|
+
* @generated from field: repeated xeonr.pipelines.v1.InputSlot inputs = 4;
|
|
182
|
+
*/
|
|
183
|
+
inputs: InputSlot[];
|
|
184
|
+
/**
|
|
185
|
+
* @generated from field: repeated xeonr.pipelines.v1.OutputSlot outputs = 5;
|
|
186
|
+
*/
|
|
187
|
+
outputs: OutputSlot[];
|
|
188
|
+
/**
|
|
189
|
+
* RequiredSecrets are the names of the secrets the step reads. A node may
|
|
190
|
+
* grant no other; a grant outside this list refuses the definition.
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: repeated string required_secrets = 6;
|
|
193
|
+
*/
|
|
194
|
+
requiredSecrets: string[];
|
|
195
|
+
/**
|
|
196
|
+
* AcceptsAnySecret says the step takes whatever secrets a node grants it,
|
|
197
|
+
* so each secret's own policy is the whole gate (and that policy denies
|
|
198
|
+
* by default: it must list this package or set `any_package`, and allow
|
|
199
|
+
* the attempt's facts and tier the same way). It is for free-form steps
|
|
200
|
+
* (`platform/script`), and only the platform's and first-party products'
|
|
201
|
+
* namespaces may publish it.
|
|
202
|
+
*
|
|
203
|
+
* validate:skip a bool has no bounds
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: bool accepts_any_secret = 7;
|
|
206
|
+
*/
|
|
207
|
+
acceptsAnySecret: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* Capabilities are what the step needs of the pool that runs it. The set
|
|
210
|
+
* is open; the platform knows these:
|
|
211
|
+
*
|
|
212
|
+
* network egress beyond the platform's own endpoints
|
|
213
|
+
* no_network a guarantee of no network at all
|
|
214
|
+
* privileged a privileged container; only on a per-run pool
|
|
215
|
+
* services service containers beside the step
|
|
216
|
+
* host_runtime runs on the host, not in a container (the Mac)
|
|
217
|
+
*
|
|
218
|
+
* The default is none. A run is refused at CreateRun when no pool available
|
|
219
|
+
* to its tenant provides them all.
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: repeated string capabilities = 8;
|
|
222
|
+
*/
|
|
223
|
+
capabilities: string[];
|
|
224
|
+
/**
|
|
225
|
+
* Exec is how an EXEC package starts. Unset for a WORKER package.
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: xeonr.pipelines.v1.ExecBinding exec = 9;
|
|
228
|
+
*/
|
|
229
|
+
exec?: ExecBinding | undefined;
|
|
230
|
+
/**
|
|
231
|
+
* ReadmeMd documents the step for the people who use it, in Markdown.
|
|
232
|
+
*
|
|
233
|
+
* @generated from field: string readme_md = 10;
|
|
234
|
+
*/
|
|
235
|
+
readmeMd: string;
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* Describes the message xeonr.pipelines.v1.Manifest.
|
|
239
|
+
* Use `create(ManifestSchema)` to create a new message.
|
|
240
|
+
*/
|
|
241
|
+
export declare const ManifestSchema: GenMessage<Manifest>;
|
|
242
|
+
/**
|
|
243
|
+
* ImageArtifact is an OCI image, by digest.
|
|
244
|
+
*
|
|
245
|
+
* @generated from message xeonr.pipelines.v1.ImageArtifact
|
|
246
|
+
*/
|
|
247
|
+
export type ImageArtifact = Message<"xeonr.pipelines.v1.ImageArtifact"> & {
|
|
248
|
+
/**
|
|
249
|
+
* Ref is the image's repository, without tag or digest.
|
|
250
|
+
*
|
|
251
|
+
* @generated from field: string ref = 1;
|
|
252
|
+
*/
|
|
253
|
+
ref: string;
|
|
254
|
+
/**
|
|
255
|
+
* Digest is the manifest digest the version is pinned to. The publisher
|
|
256
|
+
* resolves it; the registry checks it exists.
|
|
257
|
+
*
|
|
258
|
+
* @generated from field: string digest = 2;
|
|
259
|
+
*/
|
|
260
|
+
digest: string;
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* Describes the message xeonr.pipelines.v1.ImageArtifact.
|
|
264
|
+
* Use `create(ImageArtifactSchema)` to create a new message.
|
|
265
|
+
*/
|
|
266
|
+
export declare const ImageArtifactSchema: GenMessage<ImageArtifact>;
|
|
267
|
+
/**
|
|
268
|
+
* BundleArtifact is a code bundle staged into a runtime image, by content
|
|
269
|
+
* digest. Kept for upl.im's published steps.
|
|
270
|
+
*
|
|
271
|
+
* @generated from message xeonr.pipelines.v1.BundleArtifact
|
|
272
|
+
*/
|
|
273
|
+
export type BundleArtifact = Message<"xeonr.pipelines.v1.BundleArtifact"> & {
|
|
274
|
+
/**
|
|
275
|
+
* Sha256 is the bundle's digest, in hex. The sidecar verifies the bytes
|
|
276
|
+
* against it before unpacking.
|
|
277
|
+
*
|
|
278
|
+
* @generated from field: string sha256 = 1;
|
|
279
|
+
*/
|
|
280
|
+
sha256: string;
|
|
281
|
+
/**
|
|
282
|
+
* @generated from field: uint64 size_bytes = 2;
|
|
283
|
+
*/
|
|
284
|
+
sizeBytes: bigint;
|
|
285
|
+
/**
|
|
286
|
+
* ObjectKey is where the publisher put the bundle, in the store the
|
|
287
|
+
* registry is configured with.
|
|
288
|
+
*
|
|
289
|
+
* @generated from field: string object_key = 3;
|
|
290
|
+
*/
|
|
291
|
+
objectKey: string;
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* Describes the message xeonr.pipelines.v1.BundleArtifact.
|
|
295
|
+
* Use `create(BundleArtifactSchema)` to create a new message.
|
|
296
|
+
*/
|
|
297
|
+
export declare const BundleArtifactSchema: GenMessage<BundleArtifact>;
|
|
298
|
+
/**
|
|
299
|
+
* PackageArtifact is what a version runs. Unset entirely for a WORKER
|
|
300
|
+
* package, and for an EXEC package whose image is an input.
|
|
301
|
+
*
|
|
302
|
+
* @generated from message xeonr.pipelines.v1.PackageArtifact
|
|
303
|
+
*/
|
|
304
|
+
export type PackageArtifact = Message<"xeonr.pipelines.v1.PackageArtifact"> & {
|
|
305
|
+
/**
|
|
306
|
+
* @generated from oneof xeonr.pipelines.v1.PackageArtifact.artifact
|
|
307
|
+
*/
|
|
308
|
+
artifact: {
|
|
309
|
+
/**
|
|
310
|
+
* @generated from field: xeonr.pipelines.v1.ImageArtifact image = 1;
|
|
311
|
+
*/
|
|
312
|
+
value: ImageArtifact;
|
|
313
|
+
case: "image";
|
|
314
|
+
} | {
|
|
315
|
+
/**
|
|
316
|
+
* @generated from field: xeonr.pipelines.v1.BundleArtifact bundle = 2;
|
|
317
|
+
*/
|
|
318
|
+
value: BundleArtifact;
|
|
319
|
+
case: "bundle";
|
|
320
|
+
} | {
|
|
321
|
+
case: undefined;
|
|
322
|
+
value?: undefined;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
/**
|
|
326
|
+
* Describes the message xeonr.pipelines.v1.PackageArtifact.
|
|
327
|
+
* Use `create(PackageArtifactSchema)` to create a new message.
|
|
328
|
+
*/
|
|
329
|
+
export declare const PackageArtifactSchema: GenMessage<PackageArtifact>;
|
|
330
|
+
/**
|
|
331
|
+
* Package is a named step in the registry.
|
|
332
|
+
*
|
|
333
|
+
* @generated from message xeonr.pipelines.v1.Package
|
|
334
|
+
*/
|
|
335
|
+
export type Package = Message<"xeonr.pipelines.v1.Package"> & {
|
|
336
|
+
/**
|
|
337
|
+
* Name is `<namespace>/<name>`.
|
|
338
|
+
*
|
|
339
|
+
* @generated from field: string name = 1;
|
|
340
|
+
*/
|
|
341
|
+
name: string;
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: string namespace = 2;
|
|
344
|
+
*/
|
|
345
|
+
namespace: string;
|
|
346
|
+
/**
|
|
347
|
+
* Tenant is the owning team's URN. Empty for the platform's and
|
|
348
|
+
* first-party products' namespaces.
|
|
349
|
+
*
|
|
350
|
+
* @generated from field: string tenant = 3;
|
|
351
|
+
*/
|
|
352
|
+
tenant: string;
|
|
353
|
+
/**
|
|
354
|
+
* @generated from field: xeonr.pipelines.v1.Visibility visibility = 4;
|
|
355
|
+
*/
|
|
356
|
+
visibility: Visibility;
|
|
357
|
+
/**
|
|
358
|
+
* @generated from field: xeonr.pipelines.v1.PackageKind kind = 5;
|
|
359
|
+
*/
|
|
360
|
+
kind: PackageKind;
|
|
361
|
+
/**
|
|
362
|
+
* LatestVersion is the newest READY version; empty when none is.
|
|
363
|
+
*
|
|
364
|
+
* @generated from field: string latest_version = 6;
|
|
365
|
+
*/
|
|
366
|
+
latestVersion: string;
|
|
367
|
+
/**
|
|
368
|
+
* @generated from field: string description = 7;
|
|
369
|
+
*/
|
|
370
|
+
description: string;
|
|
371
|
+
/**
|
|
372
|
+
* @generated from field: google.protobuf.Timestamp created_at = 8;
|
|
373
|
+
*/
|
|
374
|
+
createdAt?: Timestamp | undefined;
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 9;
|
|
377
|
+
*/
|
|
378
|
+
updatedAt?: Timestamp | undefined;
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* Describes the message xeonr.pipelines.v1.Package.
|
|
382
|
+
* Use `create(PackageSchema)` to create a new message.
|
|
383
|
+
*/
|
|
384
|
+
export declare const PackageSchema: GenMessage<Package>;
|
|
385
|
+
/**
|
|
386
|
+
* PackageVersion is one immutable version of a package.
|
|
387
|
+
*
|
|
388
|
+
* @generated from message xeonr.pipelines.v1.PackageVersion
|
|
389
|
+
*/
|
|
390
|
+
export type PackageVersion = Message<"xeonr.pipelines.v1.PackageVersion"> & {
|
|
391
|
+
/**
|
|
392
|
+
* @generated from field: string name = 1;
|
|
393
|
+
*/
|
|
394
|
+
name: string;
|
|
395
|
+
/**
|
|
396
|
+
* @generated from field: string version = 2;
|
|
397
|
+
*/
|
|
398
|
+
version: string;
|
|
399
|
+
/**
|
|
400
|
+
* @generated from field: xeonr.pipelines.v1.VersionState state = 3;
|
|
401
|
+
*/
|
|
402
|
+
state: VersionState;
|
|
403
|
+
/**
|
|
404
|
+
* StateReason says why a version was REJECTED or YANKED.
|
|
405
|
+
*
|
|
406
|
+
* @generated from field: string state_reason = 4;
|
|
407
|
+
*/
|
|
408
|
+
stateReason: string;
|
|
409
|
+
/**
|
|
410
|
+
* @generated from field: xeonr.pipelines.v1.Manifest manifest = 5;
|
|
411
|
+
*/
|
|
412
|
+
manifest?: Manifest | undefined;
|
|
413
|
+
/**
|
|
414
|
+
* @generated from field: xeonr.pipelines.v1.PackageArtifact artifact = 6;
|
|
415
|
+
*/
|
|
416
|
+
artifact?: PackageArtifact | undefined;
|
|
417
|
+
/**
|
|
418
|
+
* PublishedBy is the subject URN that published it.
|
|
419
|
+
*
|
|
420
|
+
* @generated from field: string published_by = 7;
|
|
421
|
+
*/
|
|
422
|
+
publishedBy: string;
|
|
423
|
+
/**
|
|
424
|
+
* @generated from field: google.protobuf.Timestamp published_at = 8;
|
|
425
|
+
*/
|
|
426
|
+
publishedAt?: Timestamp | undefined;
|
|
427
|
+
/**
|
|
428
|
+
* @generated from field: google.protobuf.Timestamp yanked_at = 9;
|
|
429
|
+
*/
|
|
430
|
+
yankedAt?: Timestamp | undefined;
|
|
431
|
+
};
|
|
432
|
+
/**
|
|
433
|
+
* Describes the message xeonr.pipelines.v1.PackageVersion.
|
|
434
|
+
* Use `create(PackageVersionSchema)` to create a new message.
|
|
435
|
+
*/
|
|
436
|
+
export declare const PackageVersionSchema: GenMessage<PackageVersion>;
|
|
437
|
+
/**
|
|
438
|
+
* @generated from message xeonr.pipelines.v1.PublishVersionRequest
|
|
439
|
+
*/
|
|
440
|
+
export type PublishVersionRequest = Message<"xeonr.pipelines.v1.PublishVersionRequest"> & {
|
|
441
|
+
/**
|
|
442
|
+
* Name is `<namespace>/<name>`.
|
|
443
|
+
*
|
|
444
|
+
* @generated from field: string name = 1;
|
|
445
|
+
*/
|
|
446
|
+
name: string;
|
|
447
|
+
/**
|
|
448
|
+
* Version is a semantic version, immutable once published.
|
|
449
|
+
*
|
|
450
|
+
* @generated from field: string version = 2;
|
|
451
|
+
*/
|
|
452
|
+
version: string;
|
|
453
|
+
/**
|
|
454
|
+
* @generated from field: xeonr.pipelines.v1.Manifest manifest = 3;
|
|
455
|
+
*/
|
|
456
|
+
manifest?: Manifest | undefined;
|
|
457
|
+
/**
|
|
458
|
+
* Artifact is the image or bundle the version runs; unset for a worker
|
|
459
|
+
* handler or a step whose image is an input.
|
|
460
|
+
*
|
|
461
|
+
* @generated from field: xeonr.pipelines.v1.PackageArtifact artifact = 4;
|
|
462
|
+
*/
|
|
463
|
+
artifact?: PackageArtifact | undefined;
|
|
464
|
+
/**
|
|
465
|
+
* Tenant is the team that owns the namespace. Required for a tenant
|
|
466
|
+
* namespace; empty for the platform's and first-party products'.
|
|
467
|
+
*
|
|
468
|
+
* @generated from field: string tenant = 5;
|
|
469
|
+
*/
|
|
470
|
+
tenant: string;
|
|
471
|
+
/**
|
|
472
|
+
* Visibility applies to the package and is set by its first publish; a
|
|
473
|
+
* later publish must give the same value or leave it unspecified.
|
|
474
|
+
*
|
|
475
|
+
* @generated from field: xeonr.pipelines.v1.Visibility visibility = 6;
|
|
476
|
+
*/
|
|
477
|
+
visibility: Visibility;
|
|
478
|
+
};
|
|
479
|
+
/**
|
|
480
|
+
* Describes the message xeonr.pipelines.v1.PublishVersionRequest.
|
|
481
|
+
* Use `create(PublishVersionRequestSchema)` to create a new message.
|
|
482
|
+
*/
|
|
483
|
+
export declare const PublishVersionRequestSchema: GenMessage<PublishVersionRequest>;
|
|
484
|
+
/**
|
|
485
|
+
* @generated from message xeonr.pipelines.v1.PublishVersionResponse
|
|
486
|
+
*/
|
|
487
|
+
export type PublishVersionResponse = Message<"xeonr.pipelines.v1.PublishVersionResponse"> & {
|
|
488
|
+
/**
|
|
489
|
+
* @generated from field: xeonr.pipelines.v1.Package package = 1;
|
|
490
|
+
*/
|
|
491
|
+
package?: Package | undefined;
|
|
492
|
+
/**
|
|
493
|
+
* @generated from field: xeonr.pipelines.v1.PackageVersion version = 2;
|
|
494
|
+
*/
|
|
495
|
+
version?: PackageVersion | undefined;
|
|
496
|
+
};
|
|
497
|
+
/**
|
|
498
|
+
* Describes the message xeonr.pipelines.v1.PublishVersionResponse.
|
|
499
|
+
* Use `create(PublishVersionResponseSchema)` to create a new message.
|
|
500
|
+
*/
|
|
501
|
+
export declare const PublishVersionResponseSchema: GenMessage<PublishVersionResponse>;
|
|
502
|
+
/**
|
|
503
|
+
* @generated from message xeonr.pipelines.v1.GetPackageRequest
|
|
504
|
+
*/
|
|
505
|
+
export type GetPackageRequest = Message<"xeonr.pipelines.v1.GetPackageRequest"> & {
|
|
506
|
+
/**
|
|
507
|
+
* @generated from field: string name = 1;
|
|
508
|
+
*/
|
|
509
|
+
name: string;
|
|
510
|
+
};
|
|
511
|
+
/**
|
|
512
|
+
* Describes the message xeonr.pipelines.v1.GetPackageRequest.
|
|
513
|
+
* Use `create(GetPackageRequestSchema)` to create a new message.
|
|
514
|
+
*/
|
|
515
|
+
export declare const GetPackageRequestSchema: GenMessage<GetPackageRequest>;
|
|
516
|
+
/**
|
|
517
|
+
* @generated from message xeonr.pipelines.v1.GetPackageResponse
|
|
518
|
+
*/
|
|
519
|
+
export type GetPackageResponse = Message<"xeonr.pipelines.v1.GetPackageResponse"> & {
|
|
520
|
+
/**
|
|
521
|
+
* @generated from field: xeonr.pipelines.v1.Package package = 1;
|
|
522
|
+
*/
|
|
523
|
+
package?: Package | undefined;
|
|
524
|
+
/**
|
|
525
|
+
* LatestVersion is the newest READY version, with its manifest. Unset
|
|
526
|
+
* when the package has none.
|
|
527
|
+
*
|
|
528
|
+
* @generated from field: xeonr.pipelines.v1.PackageVersion latest_version = 2;
|
|
529
|
+
*/
|
|
530
|
+
latestVersion?: PackageVersion | undefined;
|
|
531
|
+
};
|
|
532
|
+
/**
|
|
533
|
+
* Describes the message xeonr.pipelines.v1.GetPackageResponse.
|
|
534
|
+
* Use `create(GetPackageResponseSchema)` to create a new message.
|
|
535
|
+
*/
|
|
536
|
+
export declare const GetPackageResponseSchema: GenMessage<GetPackageResponse>;
|
|
537
|
+
/**
|
|
538
|
+
* @generated from message xeonr.pipelines.v1.ListPackagesRequest
|
|
539
|
+
*/
|
|
540
|
+
export type ListPackagesRequest = Message<"xeonr.pipelines.v1.ListPackagesRequest"> & {
|
|
541
|
+
/**
|
|
542
|
+
* Tenant is the team whose view of the registry is listed: its private
|
|
543
|
+
* packages plus everything public or product-visible. Empty lists only
|
|
544
|
+
* what every tenant can see.
|
|
545
|
+
*
|
|
546
|
+
* @generated from field: string tenant = 1;
|
|
547
|
+
*/
|
|
548
|
+
tenant: string;
|
|
549
|
+
/**
|
|
550
|
+
* Namespace narrows to one namespace.
|
|
551
|
+
*
|
|
552
|
+
* @generated from field: string namespace = 2;
|
|
553
|
+
*/
|
|
554
|
+
namespace: string;
|
|
555
|
+
/**
|
|
556
|
+
* Kind narrows to exec or worker packages.
|
|
557
|
+
*
|
|
558
|
+
* @generated from field: xeonr.pipelines.v1.PackageKind kind = 3;
|
|
559
|
+
*/
|
|
560
|
+
kind: PackageKind;
|
|
561
|
+
/**
|
|
562
|
+
* Cursor is opaque, empty for the first page.
|
|
563
|
+
*
|
|
564
|
+
* @generated from field: string cursor = 4;
|
|
565
|
+
*/
|
|
566
|
+
cursor: string;
|
|
567
|
+
/**
|
|
568
|
+
* Limit is capped at 500; zero means the default of 50.
|
|
569
|
+
*
|
|
570
|
+
* @generated from field: uint32 limit = 5;
|
|
571
|
+
*/
|
|
572
|
+
limit: number;
|
|
573
|
+
};
|
|
574
|
+
/**
|
|
575
|
+
* Describes the message xeonr.pipelines.v1.ListPackagesRequest.
|
|
576
|
+
* Use `create(ListPackagesRequestSchema)` to create a new message.
|
|
577
|
+
*/
|
|
578
|
+
export declare const ListPackagesRequestSchema: GenMessage<ListPackagesRequest>;
|
|
579
|
+
/**
|
|
580
|
+
* @generated from message xeonr.pipelines.v1.ListPackagesResponse
|
|
581
|
+
*/
|
|
582
|
+
export type ListPackagesResponse = Message<"xeonr.pipelines.v1.ListPackagesResponse"> & {
|
|
583
|
+
/**
|
|
584
|
+
* @generated from field: repeated xeonr.pipelines.v1.Package packages = 1;
|
|
585
|
+
*/
|
|
586
|
+
packages: Package[];
|
|
587
|
+
/**
|
|
588
|
+
* NextCursor is empty when there is no further page.
|
|
589
|
+
*
|
|
590
|
+
* @generated from field: string next_cursor = 2;
|
|
591
|
+
*/
|
|
592
|
+
nextCursor: string;
|
|
593
|
+
};
|
|
594
|
+
/**
|
|
595
|
+
* Describes the message xeonr.pipelines.v1.ListPackagesResponse.
|
|
596
|
+
* Use `create(ListPackagesResponseSchema)` to create a new message.
|
|
597
|
+
*/
|
|
598
|
+
export declare const ListPackagesResponseSchema: GenMessage<ListPackagesResponse>;
|
|
599
|
+
/**
|
|
600
|
+
* @generated from message xeonr.pipelines.v1.ListVersionsRequest
|
|
601
|
+
*/
|
|
602
|
+
export type ListVersionsRequest = Message<"xeonr.pipelines.v1.ListVersionsRequest"> & {
|
|
603
|
+
/**
|
|
604
|
+
* @generated from field: string name = 1;
|
|
605
|
+
*/
|
|
606
|
+
name: string;
|
|
607
|
+
/**
|
|
608
|
+
* States narrows to versions in any of these states; empty lists all.
|
|
609
|
+
*
|
|
610
|
+
* @generated from field: repeated xeonr.pipelines.v1.VersionState states = 2;
|
|
611
|
+
*/
|
|
612
|
+
states: VersionState[];
|
|
613
|
+
/**
|
|
614
|
+
* Cursor is opaque, empty for the first page.
|
|
615
|
+
*
|
|
616
|
+
* @generated from field: string cursor = 3;
|
|
617
|
+
*/
|
|
618
|
+
cursor: string;
|
|
619
|
+
/**
|
|
620
|
+
* Limit is capped at 500; zero means the default of 50.
|
|
621
|
+
*
|
|
622
|
+
* @generated from field: uint32 limit = 4;
|
|
623
|
+
*/
|
|
624
|
+
limit: number;
|
|
625
|
+
};
|
|
626
|
+
/**
|
|
627
|
+
* Describes the message xeonr.pipelines.v1.ListVersionsRequest.
|
|
628
|
+
* Use `create(ListVersionsRequestSchema)` to create a new message.
|
|
629
|
+
*/
|
|
630
|
+
export declare const ListVersionsRequestSchema: GenMessage<ListVersionsRequest>;
|
|
631
|
+
/**
|
|
632
|
+
* @generated from message xeonr.pipelines.v1.ListVersionsResponse
|
|
633
|
+
*/
|
|
634
|
+
export type ListVersionsResponse = Message<"xeonr.pipelines.v1.ListVersionsResponse"> & {
|
|
635
|
+
/**
|
|
636
|
+
* @generated from field: repeated xeonr.pipelines.v1.PackageVersion versions = 1;
|
|
637
|
+
*/
|
|
638
|
+
versions: PackageVersion[];
|
|
639
|
+
/**
|
|
640
|
+
* NextCursor is empty when there is no further page.
|
|
641
|
+
*
|
|
642
|
+
* @generated from field: string next_cursor = 2;
|
|
643
|
+
*/
|
|
644
|
+
nextCursor: string;
|
|
645
|
+
};
|
|
646
|
+
/**
|
|
647
|
+
* Describes the message xeonr.pipelines.v1.ListVersionsResponse.
|
|
648
|
+
* Use `create(ListVersionsResponseSchema)` to create a new message.
|
|
649
|
+
*/
|
|
650
|
+
export declare const ListVersionsResponseSchema: GenMessage<ListVersionsResponse>;
|
|
651
|
+
/**
|
|
652
|
+
* @generated from message xeonr.pipelines.v1.MarkVersionYankedRequest
|
|
653
|
+
*/
|
|
654
|
+
export type MarkVersionYankedRequest = Message<"xeonr.pipelines.v1.MarkVersionYankedRequest"> & {
|
|
655
|
+
/**
|
|
656
|
+
* @generated from field: string name = 1;
|
|
657
|
+
*/
|
|
658
|
+
name: string;
|
|
659
|
+
/**
|
|
660
|
+
* @generated from field: string version = 2;
|
|
661
|
+
*/
|
|
662
|
+
version: string;
|
|
663
|
+
/**
|
|
664
|
+
* Reason is shown with the version.
|
|
665
|
+
*
|
|
666
|
+
* @generated from field: string reason = 3;
|
|
667
|
+
*/
|
|
668
|
+
reason: string;
|
|
669
|
+
};
|
|
670
|
+
/**
|
|
671
|
+
* Describes the message xeonr.pipelines.v1.MarkVersionYankedRequest.
|
|
672
|
+
* Use `create(MarkVersionYankedRequestSchema)` to create a new message.
|
|
673
|
+
*/
|
|
674
|
+
export declare const MarkVersionYankedRequestSchema: GenMessage<MarkVersionYankedRequest>;
|
|
675
|
+
/**
|
|
676
|
+
* @generated from message xeonr.pipelines.v1.MarkVersionYankedResponse
|
|
677
|
+
*/
|
|
678
|
+
export type MarkVersionYankedResponse = Message<"xeonr.pipelines.v1.MarkVersionYankedResponse"> & {
|
|
679
|
+
/**
|
|
680
|
+
* @generated from field: xeonr.pipelines.v1.PackageVersion version = 1;
|
|
681
|
+
*/
|
|
682
|
+
version?: PackageVersion | undefined;
|
|
683
|
+
};
|
|
684
|
+
/**
|
|
685
|
+
* Describes the message xeonr.pipelines.v1.MarkVersionYankedResponse.
|
|
686
|
+
* Use `create(MarkVersionYankedResponseSchema)` to create a new message.
|
|
687
|
+
*/
|
|
688
|
+
export declare const MarkVersionYankedResponseSchema: GenMessage<MarkVersionYankedResponse>;
|
|
689
|
+
/**
|
|
690
|
+
* PackageKind is how a step executes.
|
|
691
|
+
*
|
|
692
|
+
* @generated from enum xeonr.pipelines.v1.PackageKind
|
|
693
|
+
*/
|
|
694
|
+
export declare enum PackageKind {
|
|
695
|
+
/**
|
|
696
|
+
* @generated from enum value: PACKAGE_KIND_UNSPECIFIED = 0;
|
|
697
|
+
*/
|
|
698
|
+
UNSPECIFIED = 0,
|
|
699
|
+
/**
|
|
700
|
+
* Runs as a container (or, on a host-runtime pool, a process) started by
|
|
701
|
+
* a runner agent, beside a sidecar that is its only door to the platform.
|
|
702
|
+
*
|
|
703
|
+
* @generated from enum value: PACKAGE_KIND_EXEC = 1;
|
|
704
|
+
*/
|
|
705
|
+
EXEC = 1,
|
|
706
|
+
/**
|
|
707
|
+
* Runs as a handler inside a product's own process, claimed by an SDK
|
|
708
|
+
* worker. Trusted product code: the platform delivers it no secrets.
|
|
709
|
+
*
|
|
710
|
+
* @generated from enum value: PACKAGE_KIND_WORKER = 2;
|
|
711
|
+
*/
|
|
712
|
+
WORKER = 2
|
|
713
|
+
}
|
|
714
|
+
/**
|
|
715
|
+
* Describes the enum xeonr.pipelines.v1.PackageKind.
|
|
716
|
+
*/
|
|
717
|
+
export declare const PackageKindSchema: GenEnum<PackageKind>;
|
|
718
|
+
/**
|
|
719
|
+
* VersionState is where a published version is.
|
|
720
|
+
*
|
|
721
|
+
* @generated from enum xeonr.pipelines.v1.VersionState
|
|
722
|
+
*/
|
|
723
|
+
export declare enum VersionState {
|
|
724
|
+
/**
|
|
725
|
+
* @generated from enum value: VERSION_STATE_UNSPECIFIED = 0;
|
|
726
|
+
*/
|
|
727
|
+
UNSPECIFIED = 0,
|
|
728
|
+
/**
|
|
729
|
+
* Published, waiting for the gate. Not usable in a run.
|
|
730
|
+
*
|
|
731
|
+
* @generated from enum value: VERSION_STATE_DRAFT = 1;
|
|
732
|
+
*/
|
|
733
|
+
DRAFT = 1,
|
|
734
|
+
/**
|
|
735
|
+
* Passed the gate (or its namespace has none). Usable.
|
|
736
|
+
*
|
|
737
|
+
* @generated from enum value: VERSION_STATE_READY = 2;
|
|
738
|
+
*/
|
|
739
|
+
READY = 2,
|
|
740
|
+
/**
|
|
741
|
+
* Refused by the gate; `state_reason` says why. Terminal.
|
|
742
|
+
*
|
|
743
|
+
* @generated from enum value: VERSION_STATE_REJECTED = 3;
|
|
744
|
+
*/
|
|
745
|
+
REJECTED = 3,
|
|
746
|
+
/**
|
|
747
|
+
* Withdrawn by its publisher. Not usable in a new snapshot.
|
|
748
|
+
*
|
|
749
|
+
* @generated from enum value: VERSION_STATE_YANKED = 4;
|
|
750
|
+
*/
|
|
751
|
+
YANKED = 4
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* Describes the enum xeonr.pipelines.v1.VersionState.
|
|
755
|
+
*/
|
|
756
|
+
export declare const VersionStateSchema: GenEnum<VersionState>;
|
|
757
|
+
/**
|
|
758
|
+
* Visibility is who may use a package in their definitions.
|
|
759
|
+
*
|
|
760
|
+
* @generated from enum xeonr.pipelines.v1.Visibility
|
|
761
|
+
*/
|
|
762
|
+
export declare enum Visibility {
|
|
763
|
+
/**
|
|
764
|
+
* @generated from enum value: VISIBILITY_UNSPECIFIED = 0;
|
|
765
|
+
*/
|
|
766
|
+
UNSPECIFIED = 0,
|
|
767
|
+
/**
|
|
768
|
+
* Only the owning tenant.
|
|
769
|
+
*
|
|
770
|
+
* @generated from enum value: VISIBILITY_PRIVATE = 1;
|
|
771
|
+
*/
|
|
772
|
+
PRIVATE = 1,
|
|
773
|
+
/**
|
|
774
|
+
* Any tenant, in runs started through the product that owns the
|
|
775
|
+
* namespace.
|
|
776
|
+
*
|
|
777
|
+
* @generated from enum value: VISIBILITY_PRODUCT = 2;
|
|
778
|
+
*/
|
|
779
|
+
PRODUCT = 2,
|
|
780
|
+
/**
|
|
781
|
+
* Any tenant, in any run.
|
|
782
|
+
*
|
|
783
|
+
* @generated from enum value: VISIBILITY_PUBLIC = 3;
|
|
784
|
+
*/
|
|
785
|
+
PUBLIC = 3
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* Describes the enum xeonr.pipelines.v1.Visibility.
|
|
789
|
+
*/
|
|
790
|
+
export declare const VisibilitySchema: GenEnum<Visibility>;
|
|
791
|
+
/**
|
|
792
|
+
* SlotType is what travels through an input or an output.
|
|
793
|
+
*
|
|
794
|
+
* @generated from enum xeonr.pipelines.v1.SlotType
|
|
795
|
+
*/
|
|
796
|
+
export declare enum SlotType {
|
|
797
|
+
/**
|
|
798
|
+
* @generated from enum value: SLOT_TYPE_UNSPECIFIED = 0;
|
|
799
|
+
*/
|
|
800
|
+
UNSPECIFIED = 0,
|
|
801
|
+
/**
|
|
802
|
+
* A structured value, checked against the slot's schema. It moves inline.
|
|
803
|
+
*
|
|
804
|
+
* @generated from enum value: SLOT_TYPE_KV = 1;
|
|
805
|
+
*/
|
|
806
|
+
KV = 1,
|
|
807
|
+
/**
|
|
808
|
+
* Bytes. They move through the platform's blob store; a step is handed a
|
|
809
|
+
* file path, never a URL or a storage credential.
|
|
810
|
+
*
|
|
811
|
+
* @generated from enum value: SLOT_TYPE_BLOB = 2;
|
|
812
|
+
*/
|
|
813
|
+
BLOB = 2,
|
|
814
|
+
/**
|
|
815
|
+
* An OCI image reference (inputs only): the image the step runs in. A
|
|
816
|
+
* literal is resolved to a digest when the snapshot is made; a reference
|
|
817
|
+
* to an upstream kv output is resolved and pinned when the node is
|
|
818
|
+
* dispatched, and the digest is recorded on the attempt.
|
|
819
|
+
*
|
|
820
|
+
* @generated from enum value: SLOT_TYPE_IMAGE = 3;
|
|
821
|
+
*/
|
|
822
|
+
IMAGE = 3
|
|
823
|
+
}
|
|
824
|
+
/**
|
|
825
|
+
* Describes the enum xeonr.pipelines.v1.SlotType.
|
|
826
|
+
*/
|
|
827
|
+
export declare const SlotTypeSchema: GenEnum<SlotType>;
|
|
828
|
+
/**
|
|
829
|
+
* RegistryService is the step registry: where step packages are published
|
|
830
|
+
* and looked up. Publishing is an API any product or tenant calls. Nothing
|
|
831
|
+
* here assumes a step comes from a git repository, and images live in
|
|
832
|
+
* whatever OCI registry the publisher uses.
|
|
833
|
+
*
|
|
834
|
+
* A package is `<namespace>/<name>`. A namespace belongs to the platform
|
|
835
|
+
* (`platform/`, whose only built-in is `platform/script`), to a first-party
|
|
836
|
+
* product (the forge's `ci/`), or to a tenant. A version is immutable once
|
|
837
|
+
* published; definitions name `name@version` and snapshots freeze the
|
|
838
|
+
* manifest, so yanking a version stops new runs from using it and breaks no
|
|
839
|
+
* run already snapshotted.
|
|
840
|
+
*
|
|
841
|
+
* Ownership: a tenant namespace is published to by members of the owning
|
|
842
|
+
* team (asked of Auth as the caller) or by a product's service account acting
|
|
843
|
+
* for that tenant. The platform's and first-party products' namespaces are
|
|
844
|
+
* published to only by their own service accounts, and only those namespaces
|
|
845
|
+
* may publish steps that ask for the `network` or `privileged` capabilities.
|
|
846
|
+
*
|
|
847
|
+
* PublishVersion is outside api.rpc-naming's verbs: publishing is the rule's
|
|
848
|
+
* own example of a verb with no fit (a version is immutable, and the publish
|
|
849
|
+
* runs the registry's gate).
|
|
850
|
+
*
|
|
851
|
+
* @generated from service xeonr.pipelines.v1.RegistryService
|
|
852
|
+
*/
|
|
853
|
+
export declare const RegistryService: GenService<{
|
|
854
|
+
/**
|
|
855
|
+
* @generated from rpc xeonr.pipelines.v1.RegistryService.PublishVersion
|
|
856
|
+
*/
|
|
857
|
+
publishVersion: {
|
|
858
|
+
methodKind: "unary";
|
|
859
|
+
input: typeof PublishVersionRequestSchema;
|
|
860
|
+
output: typeof PublishVersionResponseSchema;
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* @generated from rpc xeonr.pipelines.v1.RegistryService.GetPackage
|
|
864
|
+
*/
|
|
865
|
+
getPackage: {
|
|
866
|
+
methodKind: "unary";
|
|
867
|
+
input: typeof GetPackageRequestSchema;
|
|
868
|
+
output: typeof GetPackageResponseSchema;
|
|
869
|
+
};
|
|
870
|
+
/**
|
|
871
|
+
* @generated from rpc xeonr.pipelines.v1.RegistryService.ListPackages
|
|
872
|
+
*/
|
|
873
|
+
listPackages: {
|
|
874
|
+
methodKind: "unary";
|
|
875
|
+
input: typeof ListPackagesRequestSchema;
|
|
876
|
+
output: typeof ListPackagesResponseSchema;
|
|
877
|
+
};
|
|
878
|
+
/**
|
|
879
|
+
* @generated from rpc xeonr.pipelines.v1.RegistryService.ListVersions
|
|
880
|
+
*/
|
|
881
|
+
listVersions: {
|
|
882
|
+
methodKind: "unary";
|
|
883
|
+
input: typeof ListVersionsRequestSchema;
|
|
884
|
+
output: typeof ListVersionsResponseSchema;
|
|
885
|
+
};
|
|
886
|
+
/**
|
|
887
|
+
* @generated from rpc xeonr.pipelines.v1.RegistryService.MarkVersionYanked
|
|
888
|
+
*/
|
|
889
|
+
markVersionYanked: {
|
|
890
|
+
methodKind: "unary";
|
|
891
|
+
input: typeof MarkVersionYankedRequestSchema;
|
|
892
|
+
output: typeof MarkVersionYankedResponseSchema;
|
|
893
|
+
};
|
|
894
|
+
}>;
|
|
895
|
+
//# sourceMappingURL=registry_pb.d.ts.map
|