@xeonr/pipelines-sdk 0.0.0-stage → 0.1.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 +267 -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 +118 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +101 -0
- package/dist/client.js.map +1 -0
- package/dist/errors.d.ts +77 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +72 -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 +915 -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 +159 -0
- package/dist/gen/xeonr/pipelines/private/v1/worker_pb.js.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/common_pb.d.ts +550 -0
- package/dist/gen/xeonr/pipelines/v1/common_pb.d.ts.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/common_pb.js +453 -0
- package/dist/gen/xeonr/pipelines/v1/common_pb.js.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/definition_pb.d.ts +760 -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 +800 -0
- package/dist/gen/xeonr/pipelines/v1/pools_pb.d.ts.map +1 -0
- package/dist/gen/xeonr/pipelines/v1/pools_pb.js +247 -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 +1217 -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 +642 -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 +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +23 -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 +67 -0
- package/dist/logship.d.ts.map +1 -0
- package/dist/logship.js +176 -0
- package/dist/logship.js.map +1 -0
- package/dist/testing/index.d.ts +202 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +909 -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 +213 -0
- package/dist/worker.d.ts.map +1 -0
- package/dist/worker.js +664 -0
- package/dist/worker.js.map +1 -0
- package/package.json +70 -3
|
@@ -0,0 +1,800 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Duration, FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Resources } from "./common_pb.js";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file xeonr/pipelines/v1/pools.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_xeonr_pipelines_v1_pools: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* PoolOwner is who owns a pool.
|
|
11
|
+
*
|
|
12
|
+
* @generated from message xeonr.pipelines.v1.PoolOwner
|
|
13
|
+
*/
|
|
14
|
+
export type PoolOwner = Message<"xeonr.pipelines.v1.PoolOwner"> & {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: xeonr.pipelines.v1.PoolOwnerKind kind = 1;
|
|
17
|
+
*/
|
|
18
|
+
kind: PoolOwnerKind;
|
|
19
|
+
/**
|
|
20
|
+
* Tenant is the owning team's URN when the kind is TENANT; empty for a
|
|
21
|
+
* platform pool.
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: string tenant = 2;
|
|
24
|
+
*/
|
|
25
|
+
tenant: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message xeonr.pipelines.v1.PoolOwner.
|
|
29
|
+
* Use `create(PoolOwnerSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export declare const PoolOwnerSchema: GenMessage<PoolOwner>;
|
|
32
|
+
/**
|
|
33
|
+
* Pool is a set of workers that claim attempts.
|
|
34
|
+
*
|
|
35
|
+
* An attempt is claimable by a pool when all of these hold: the pool's owner
|
|
36
|
+
* may serve the attempt's tenant; the pool's labels and capabilities cover
|
|
37
|
+
* the node's; its resources fit; its os and arch match where the node asks;
|
|
38
|
+
* its tier is the tier computed for the attempt; and, where the pool has
|
|
39
|
+
* `allowed_packages`, the step package is on the list.
|
|
40
|
+
*
|
|
41
|
+
* @generated from message xeonr.pipelines.v1.Pool
|
|
42
|
+
*/
|
|
43
|
+
export type Pool = Message<"xeonr.pipelines.v1.Pool"> & {
|
|
44
|
+
/**
|
|
45
|
+
* ID is assigned by the platform. Empty in a request that creates.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: string id = 1;
|
|
48
|
+
*/
|
|
49
|
+
id: string;
|
|
50
|
+
/**
|
|
51
|
+
* Owner is fixed when the pool is created.
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: xeonr.pipelines.v1.PoolOwner owner = 2;
|
|
54
|
+
*/
|
|
55
|
+
owner?: PoolOwner | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Name is unique per owner, and with the owner is what SetPool matches
|
|
58
|
+
* on.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: string name = 3;
|
|
61
|
+
*/
|
|
62
|
+
name: string;
|
|
63
|
+
/**
|
|
64
|
+
* Kind is fixed when the pool is created.
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: xeonr.pipelines.v1.PoolKind kind = 4;
|
|
67
|
+
*/
|
|
68
|
+
kind: PoolKind;
|
|
69
|
+
/**
|
|
70
|
+
* Provider names the compute provider of an AUTOSCALED pool (`do`). Empty
|
|
71
|
+
* otherwise.
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: string provider = 5;
|
|
74
|
+
*/
|
|
75
|
+
provider: string;
|
|
76
|
+
/**
|
|
77
|
+
* Tier is the trust tier the pool serves. A pool serves exactly one tier:
|
|
78
|
+
* an instance never runs attempts of two. Tier names are the platform's
|
|
79
|
+
* policy (`untrusted`, `trusted`, `deploy` for the forge's CI).
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: string tier = 6;
|
|
82
|
+
*/
|
|
83
|
+
tier: string;
|
|
84
|
+
/**
|
|
85
|
+
* OS and Arch are what the pool's runners run. Empty for an SDK pool.
|
|
86
|
+
*
|
|
87
|
+
* @generated from field: string os = 7;
|
|
88
|
+
*/
|
|
89
|
+
os: string;
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: string arch = 8;
|
|
92
|
+
*/
|
|
93
|
+
arch: string;
|
|
94
|
+
/**
|
|
95
|
+
* Labels are what a node's `runs_on.labels` selects on.
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: repeated string labels = 9;
|
|
98
|
+
*/
|
|
99
|
+
labels: string[];
|
|
100
|
+
/**
|
|
101
|
+
* Capabilities are what the pool grants: `docker`, `shell`, `network`,
|
|
102
|
+
* `no_network`, `privileged`, `services`, `host_runtime`, and whatever
|
|
103
|
+
* else its runners can do. See Manifest.capabilities.
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: repeated string capabilities = 10;
|
|
106
|
+
*/
|
|
107
|
+
capabilities: string[];
|
|
108
|
+
/**
|
|
109
|
+
* Resources is what one slot of one instance offers.
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: xeonr.pipelines.v1.Resources resources = 11;
|
|
112
|
+
*/
|
|
113
|
+
resources?: Resources | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* Handlers are the worker handlers an SDK pool serves, as
|
|
116
|
+
* `<namespace>/<name>`. Empty otherwise.
|
|
117
|
+
*
|
|
118
|
+
* @generated from field: repeated string handlers = 12;
|
|
119
|
+
*/
|
|
120
|
+
handlers: string[];
|
|
121
|
+
/**
|
|
122
|
+
* Priority orders pools that can all run an attempt: priority 1 sees a
|
|
123
|
+
* matching attempt at once, and a higher number sees it only after its
|
|
124
|
+
* `spill_after`, or at once when no worker of a better priority is waiting
|
|
125
|
+
* with a free slot. Zero means 1.
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: uint32 priority = 13;
|
|
128
|
+
*/
|
|
129
|
+
priority: number;
|
|
130
|
+
/**
|
|
131
|
+
* Weight shares attempts between pools of the same priority, in
|
|
132
|
+
* proportion. Zero means 1.
|
|
133
|
+
*
|
|
134
|
+
* @generated from field: uint32 weight = 14;
|
|
135
|
+
*/
|
|
136
|
+
weight: number;
|
|
137
|
+
/**
|
|
138
|
+
* SpillAfter is how long an attempt waits for better-priority pools before
|
|
139
|
+
* this pool may see it.
|
|
140
|
+
*
|
|
141
|
+
* @generated from field: google.protobuf.Duration spill_after = 15;
|
|
142
|
+
*/
|
|
143
|
+
spillAfter?: Duration | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* CapacityPerInstance is how many attempts one instance runs at once. For
|
|
146
|
+
* an SDK pool it is one process's concurrency. Zero means 1.
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: uint32 capacity_per_instance = 16;
|
|
149
|
+
*/
|
|
150
|
+
capacityPerInstance: number;
|
|
151
|
+
/**
|
|
152
|
+
* MinInstances and MaxInstances bound an AUTOSCALED pool: they are the
|
|
153
|
+
* owner's instruction to its autoscaler, carried in the pool and applied
|
|
154
|
+
* to the size GetPoolDemand suggests. A zero maximum leaves the pool
|
|
155
|
+
* unbounded by this field (the platform's quota still applies).
|
|
156
|
+
*
|
|
157
|
+
* @generated from field: uint32 min_instances = 17;
|
|
158
|
+
*/
|
|
159
|
+
minInstances: number;
|
|
160
|
+
/**
|
|
161
|
+
* @generated from field: uint32 max_instances = 18;
|
|
162
|
+
*/
|
|
163
|
+
maxInstances: number;
|
|
164
|
+
/**
|
|
165
|
+
* IdleTime is how long an autoscaled instance stays with nothing to do
|
|
166
|
+
* before its owner's autoscaler removes it.
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: google.protobuf.Duration idle_time = 19;
|
|
169
|
+
*/
|
|
170
|
+
idleTime?: Duration | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* MaxUseCount retires an instance after it has run this many attempts.
|
|
173
|
+
* Zero never retires on count.
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: uint32 max_use_count = 20;
|
|
176
|
+
*/
|
|
177
|
+
maxUseCount: number;
|
|
178
|
+
/**
|
|
179
|
+
* Isolation defaults to SHARED.
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: xeonr.pipelines.v1.PoolIsolation isolation = 21;
|
|
182
|
+
*/
|
|
183
|
+
isolation: PoolIsolation;
|
|
184
|
+
/**
|
|
185
|
+
* AllowedPackages, when not empty, are the only step packages
|
|
186
|
+
* (`<namespace>/<name>`) the pool runs. It is enforced when an attempt is
|
|
187
|
+
* claimed: a deploy pool's runner cannot claim anything else.
|
|
188
|
+
*
|
|
189
|
+
* @generated from field: repeated string allowed_packages = 22;
|
|
190
|
+
*/
|
|
191
|
+
allowedPackages: string[];
|
|
192
|
+
/**
|
|
193
|
+
* CreatedAt and UpdatedAt are set by the platform.
|
|
194
|
+
*
|
|
195
|
+
* @generated from field: google.protobuf.Timestamp created_at = 23;
|
|
196
|
+
*/
|
|
197
|
+
createdAt?: Timestamp | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 24;
|
|
200
|
+
*/
|
|
201
|
+
updatedAt?: Timestamp | undefined;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* Describes the message xeonr.pipelines.v1.Pool.
|
|
205
|
+
* Use `create(PoolSchema)` to create a new message.
|
|
206
|
+
*/
|
|
207
|
+
export declare const PoolSchema: GenMessage<Pool>;
|
|
208
|
+
/**
|
|
209
|
+
* Runner is one registered worker instance of a pool.
|
|
210
|
+
*
|
|
211
|
+
* @generated from message xeonr.pipelines.v1.Runner
|
|
212
|
+
*/
|
|
213
|
+
export type Runner = Message<"xeonr.pipelines.v1.Runner"> & {
|
|
214
|
+
/**
|
|
215
|
+
* @generated from field: string id = 1;
|
|
216
|
+
*/
|
|
217
|
+
id: string;
|
|
218
|
+
/**
|
|
219
|
+
* @generated from field: string pool_id = 2;
|
|
220
|
+
*/
|
|
221
|
+
poolId: string;
|
|
222
|
+
/**
|
|
223
|
+
* Name is what the runner called itself when it registered.
|
|
224
|
+
*
|
|
225
|
+
* @generated from field: string name = 3;
|
|
226
|
+
*/
|
|
227
|
+
name: string;
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: xeonr.pipelines.v1.RunnerState state = 4;
|
|
230
|
+
*/
|
|
231
|
+
state: RunnerState;
|
|
232
|
+
/**
|
|
233
|
+
* @generated from field: string os = 5;
|
|
234
|
+
*/
|
|
235
|
+
os: string;
|
|
236
|
+
/**
|
|
237
|
+
* @generated from field: string arch = 6;
|
|
238
|
+
*/
|
|
239
|
+
arch: string;
|
|
240
|
+
/**
|
|
241
|
+
* AgentVersion is the runner agent's version.
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: string agent_version = 7;
|
|
244
|
+
*/
|
|
245
|
+
agentVersion: string;
|
|
246
|
+
/**
|
|
247
|
+
* Capacity is how many attempts it runs at once; Busy is how many it has
|
|
248
|
+
* now.
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: uint32 capacity = 8;
|
|
251
|
+
*/
|
|
252
|
+
capacity: number;
|
|
253
|
+
/**
|
|
254
|
+
* @generated from field: uint32 busy = 9;
|
|
255
|
+
*/
|
|
256
|
+
busy: number;
|
|
257
|
+
/**
|
|
258
|
+
* UseCount is how many attempts it has run.
|
|
259
|
+
*
|
|
260
|
+
* @generated from field: uint32 use_count = 10;
|
|
261
|
+
*/
|
|
262
|
+
useCount: number;
|
|
263
|
+
/**
|
|
264
|
+
* @generated from field: google.protobuf.Timestamp registered_at = 11;
|
|
265
|
+
*/
|
|
266
|
+
registeredAt?: Timestamp | undefined;
|
|
267
|
+
/**
|
|
268
|
+
* LastSeenAt is its last claim or heartbeat.
|
|
269
|
+
*
|
|
270
|
+
* @generated from field: google.protobuf.Timestamp last_seen_at = 12;
|
|
271
|
+
*/
|
|
272
|
+
lastSeenAt?: Timestamp | undefined;
|
|
273
|
+
/**
|
|
274
|
+
* @generated from field: google.protobuf.Timestamp drained_at = 13;
|
|
275
|
+
*/
|
|
276
|
+
drainedAt?: Timestamp | undefined;
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* Describes the message xeonr.pipelines.v1.Runner.
|
|
280
|
+
* Use `create(RunnerSchema)` to create a new message.
|
|
281
|
+
*/
|
|
282
|
+
export declare const RunnerSchema: GenMessage<Runner>;
|
|
283
|
+
/**
|
|
284
|
+
* @generated from message xeonr.pipelines.v1.ListPoolsRequest
|
|
285
|
+
*/
|
|
286
|
+
export type ListPoolsRequest = Message<"xeonr.pipelines.v1.ListPoolsRequest"> & {
|
|
287
|
+
/**
|
|
288
|
+
* Tenant lists that team's pools. Empty lists none of any tenant's.
|
|
289
|
+
*
|
|
290
|
+
* @generated from field: string tenant = 1;
|
|
291
|
+
*/
|
|
292
|
+
tenant: string;
|
|
293
|
+
/**
|
|
294
|
+
* IncludePlatform adds the platform's pools.
|
|
295
|
+
*
|
|
296
|
+
* validate:skip a bool has no bounds
|
|
297
|
+
*
|
|
298
|
+
* @generated from field: bool include_platform = 2;
|
|
299
|
+
*/
|
|
300
|
+
includePlatform: boolean;
|
|
301
|
+
/**
|
|
302
|
+
* Cursor is opaque, empty for the first page.
|
|
303
|
+
*
|
|
304
|
+
* @generated from field: string cursor = 3;
|
|
305
|
+
*/
|
|
306
|
+
cursor: string;
|
|
307
|
+
/**
|
|
308
|
+
* Limit is capped at 500; zero means the default of 50.
|
|
309
|
+
*
|
|
310
|
+
* @generated from field: uint32 limit = 4;
|
|
311
|
+
*/
|
|
312
|
+
limit: number;
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* Describes the message xeonr.pipelines.v1.ListPoolsRequest.
|
|
316
|
+
* Use `create(ListPoolsRequestSchema)` to create a new message.
|
|
317
|
+
*/
|
|
318
|
+
export declare const ListPoolsRequestSchema: GenMessage<ListPoolsRequest>;
|
|
319
|
+
/**
|
|
320
|
+
* @generated from message xeonr.pipelines.v1.ListPoolsResponse
|
|
321
|
+
*/
|
|
322
|
+
export type ListPoolsResponse = Message<"xeonr.pipelines.v1.ListPoolsResponse"> & {
|
|
323
|
+
/**
|
|
324
|
+
* @generated from field: repeated xeonr.pipelines.v1.Pool pools = 1;
|
|
325
|
+
*/
|
|
326
|
+
pools: Pool[];
|
|
327
|
+
/**
|
|
328
|
+
* NextCursor is empty when there is no further page.
|
|
329
|
+
*
|
|
330
|
+
* @generated from field: string next_cursor = 2;
|
|
331
|
+
*/
|
|
332
|
+
nextCursor: string;
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* Describes the message xeonr.pipelines.v1.ListPoolsResponse.
|
|
336
|
+
* Use `create(ListPoolsResponseSchema)` to create a new message.
|
|
337
|
+
*/
|
|
338
|
+
export declare const ListPoolsResponseSchema: GenMessage<ListPoolsResponse>;
|
|
339
|
+
/**
|
|
340
|
+
* @generated from message xeonr.pipelines.v1.SetPoolRequest
|
|
341
|
+
*/
|
|
342
|
+
export type SetPoolRequest = Message<"xeonr.pipelines.v1.SetPoolRequest"> & {
|
|
343
|
+
/**
|
|
344
|
+
* Pool is matched on (owner, name). Its `id`, when given, must be the
|
|
345
|
+
* matched pool's.
|
|
346
|
+
*
|
|
347
|
+
* @generated from field: xeonr.pipelines.v1.Pool pool = 1;
|
|
348
|
+
*/
|
|
349
|
+
pool?: Pool | undefined;
|
|
350
|
+
/**
|
|
351
|
+
* UpdateMask narrows a write to an existing pool to the fields it names.
|
|
352
|
+
* Omitted, the whole pool is replaced by `pool`: every writable field is
|
|
353
|
+
* written, and one left unset takes its default. Ignored when the pool is
|
|
354
|
+
* created.
|
|
355
|
+
*
|
|
356
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 2;
|
|
357
|
+
*/
|
|
358
|
+
updateMask?: FieldMask | undefined;
|
|
359
|
+
};
|
|
360
|
+
/**
|
|
361
|
+
* Describes the message xeonr.pipelines.v1.SetPoolRequest.
|
|
362
|
+
* Use `create(SetPoolRequestSchema)` to create a new message.
|
|
363
|
+
*/
|
|
364
|
+
export declare const SetPoolRequestSchema: GenMessage<SetPoolRequest>;
|
|
365
|
+
/**
|
|
366
|
+
* @generated from message xeonr.pipelines.v1.SetPoolResponse
|
|
367
|
+
*/
|
|
368
|
+
export type SetPoolResponse = Message<"xeonr.pipelines.v1.SetPoolResponse"> & {
|
|
369
|
+
/**
|
|
370
|
+
* @generated from field: xeonr.pipelines.v1.Pool pool = 1;
|
|
371
|
+
*/
|
|
372
|
+
pool?: Pool | undefined;
|
|
373
|
+
/**
|
|
374
|
+
* Created says the pool did not exist before.
|
|
375
|
+
*
|
|
376
|
+
* @generated from field: bool created = 2;
|
|
377
|
+
*/
|
|
378
|
+
created: boolean;
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* Describes the message xeonr.pipelines.v1.SetPoolResponse.
|
|
382
|
+
* Use `create(SetPoolResponseSchema)` to create a new message.
|
|
383
|
+
*/
|
|
384
|
+
export declare const SetPoolResponseSchema: GenMessage<SetPoolResponse>;
|
|
385
|
+
/**
|
|
386
|
+
* @generated from message xeonr.pipelines.v1.ListRunnersRequest
|
|
387
|
+
*/
|
|
388
|
+
export type ListRunnersRequest = Message<"xeonr.pipelines.v1.ListRunnersRequest"> & {
|
|
389
|
+
/**
|
|
390
|
+
* @generated from field: string pool_id = 1;
|
|
391
|
+
*/
|
|
392
|
+
poolId: string;
|
|
393
|
+
/**
|
|
394
|
+
* States narrows to runners in any of these states; empty lists all.
|
|
395
|
+
*
|
|
396
|
+
* @generated from field: repeated xeonr.pipelines.v1.RunnerState states = 2;
|
|
397
|
+
*/
|
|
398
|
+
states: RunnerState[];
|
|
399
|
+
/**
|
|
400
|
+
* Cursor is opaque, empty for the first page.
|
|
401
|
+
*
|
|
402
|
+
* @generated from field: string cursor = 3;
|
|
403
|
+
*/
|
|
404
|
+
cursor: string;
|
|
405
|
+
/**
|
|
406
|
+
* Limit is capped at 500; zero means the default of 50.
|
|
407
|
+
*
|
|
408
|
+
* @generated from field: uint32 limit = 4;
|
|
409
|
+
*/
|
|
410
|
+
limit: number;
|
|
411
|
+
};
|
|
412
|
+
/**
|
|
413
|
+
* Describes the message xeonr.pipelines.v1.ListRunnersRequest.
|
|
414
|
+
* Use `create(ListRunnersRequestSchema)` to create a new message.
|
|
415
|
+
*/
|
|
416
|
+
export declare const ListRunnersRequestSchema: GenMessage<ListRunnersRequest>;
|
|
417
|
+
/**
|
|
418
|
+
* @generated from message xeonr.pipelines.v1.ListRunnersResponse
|
|
419
|
+
*/
|
|
420
|
+
export type ListRunnersResponse = Message<"xeonr.pipelines.v1.ListRunnersResponse"> & {
|
|
421
|
+
/**
|
|
422
|
+
* @generated from field: repeated xeonr.pipelines.v1.Runner runners = 1;
|
|
423
|
+
*/
|
|
424
|
+
runners: Runner[];
|
|
425
|
+
/**
|
|
426
|
+
* NextCursor is empty when there is no further page.
|
|
427
|
+
*
|
|
428
|
+
* @generated from field: string next_cursor = 2;
|
|
429
|
+
*/
|
|
430
|
+
nextCursor: string;
|
|
431
|
+
};
|
|
432
|
+
/**
|
|
433
|
+
* Describes the message xeonr.pipelines.v1.ListRunnersResponse.
|
|
434
|
+
* Use `create(ListRunnersResponseSchema)` to create a new message.
|
|
435
|
+
*/
|
|
436
|
+
export declare const ListRunnersResponseSchema: GenMessage<ListRunnersResponse>;
|
|
437
|
+
/**
|
|
438
|
+
* @generated from message xeonr.pipelines.v1.MarkRunnerDrainingRequest
|
|
439
|
+
*/
|
|
440
|
+
export type MarkRunnerDrainingRequest = Message<"xeonr.pipelines.v1.MarkRunnerDrainingRequest"> & {
|
|
441
|
+
/**
|
|
442
|
+
* @generated from field: string runner_id = 1;
|
|
443
|
+
*/
|
|
444
|
+
runnerId: string;
|
|
445
|
+
};
|
|
446
|
+
/**
|
|
447
|
+
* Describes the message xeonr.pipelines.v1.MarkRunnerDrainingRequest.
|
|
448
|
+
* Use `create(MarkRunnerDrainingRequestSchema)` to create a new message.
|
|
449
|
+
*/
|
|
450
|
+
export declare const MarkRunnerDrainingRequestSchema: GenMessage<MarkRunnerDrainingRequest>;
|
|
451
|
+
/**
|
|
452
|
+
* @generated from message xeonr.pipelines.v1.MarkRunnerDrainingResponse
|
|
453
|
+
*/
|
|
454
|
+
export type MarkRunnerDrainingResponse = Message<"xeonr.pipelines.v1.MarkRunnerDrainingResponse"> & {
|
|
455
|
+
/**
|
|
456
|
+
* @generated from field: xeonr.pipelines.v1.Runner runner = 1;
|
|
457
|
+
*/
|
|
458
|
+
runner?: Runner | undefined;
|
|
459
|
+
};
|
|
460
|
+
/**
|
|
461
|
+
* Describes the message xeonr.pipelines.v1.MarkRunnerDrainingResponse.
|
|
462
|
+
* Use `create(MarkRunnerDrainingResponseSchema)` to create a new message.
|
|
463
|
+
*/
|
|
464
|
+
export declare const MarkRunnerDrainingResponseSchema: GenMessage<MarkRunnerDrainingResponse>;
|
|
465
|
+
/**
|
|
466
|
+
* @generated from message xeonr.pipelines.v1.GetPoolDemandRequest
|
|
467
|
+
*/
|
|
468
|
+
export type GetPoolDemandRequest = Message<"xeonr.pipelines.v1.GetPoolDemandRequest"> & {
|
|
469
|
+
/**
|
|
470
|
+
* @generated from field: string pool_id = 1;
|
|
471
|
+
*/
|
|
472
|
+
poolId: string;
|
|
473
|
+
};
|
|
474
|
+
/**
|
|
475
|
+
* Describes the message xeonr.pipelines.v1.GetPoolDemandRequest.
|
|
476
|
+
* Use `create(GetPoolDemandRequestSchema)` to create a new message.
|
|
477
|
+
*/
|
|
478
|
+
export declare const GetPoolDemandRequestSchema: GenMessage<GetPoolDemandRequest>;
|
|
479
|
+
/**
|
|
480
|
+
* @generated from message xeonr.pipelines.v1.GetPoolDemandResponse
|
|
481
|
+
*/
|
|
482
|
+
export type GetPoolDemandResponse = Message<"xeonr.pipelines.v1.GetPoolDemandResponse"> & {
|
|
483
|
+
/**
|
|
484
|
+
* VisibleOffered counts OFFERED attempts the pool matches and may see now.
|
|
485
|
+
*
|
|
486
|
+
* @generated from field: uint32 visible_offered = 1;
|
|
487
|
+
*/
|
|
488
|
+
visibleOffered: number;
|
|
489
|
+
/**
|
|
490
|
+
* Claimed and Running count attempts the pool's runners hold.
|
|
491
|
+
*
|
|
492
|
+
* @generated from field: uint32 claimed = 2;
|
|
493
|
+
*/
|
|
494
|
+
claimed: number;
|
|
495
|
+
/**
|
|
496
|
+
* @generated from field: uint32 running = 3;
|
|
497
|
+
*/
|
|
498
|
+
running: number;
|
|
499
|
+
/**
|
|
500
|
+
* CapacityPerInstance, MinInstances and MaxInstances are the pool's.
|
|
501
|
+
*
|
|
502
|
+
* @generated from field: uint32 capacity_per_instance = 4;
|
|
503
|
+
*/
|
|
504
|
+
capacityPerInstance: number;
|
|
505
|
+
/**
|
|
506
|
+
* @generated from field: uint32 min_instances = 5;
|
|
507
|
+
*/
|
|
508
|
+
minInstances: number;
|
|
509
|
+
/**
|
|
510
|
+
* @generated from field: uint32 max_instances = 6;
|
|
511
|
+
*/
|
|
512
|
+
maxInstances: number;
|
|
513
|
+
/**
|
|
514
|
+
* DesiredInstances is the formula's result.
|
|
515
|
+
*
|
|
516
|
+
* @generated from field: uint32 desired_instances = 7;
|
|
517
|
+
*/
|
|
518
|
+
desiredInstances: number;
|
|
519
|
+
/**
|
|
520
|
+
* OnlineRunners and DrainingRunners count the pool's runners by state.
|
|
521
|
+
*
|
|
522
|
+
* @generated from field: uint32 online_runners = 8;
|
|
523
|
+
*/
|
|
524
|
+
onlineRunners: number;
|
|
525
|
+
/**
|
|
526
|
+
* @generated from field: uint32 draining_runners = 9;
|
|
527
|
+
*/
|
|
528
|
+
drainingRunners: number;
|
|
529
|
+
/**
|
|
530
|
+
* OldestOfferedAt is when the oldest visible OFFERED attempt was offered;
|
|
531
|
+
* unset when there is none.
|
|
532
|
+
*
|
|
533
|
+
* @generated from field: google.protobuf.Timestamp oldest_offered_at = 10;
|
|
534
|
+
*/
|
|
535
|
+
oldestOfferedAt?: Timestamp | undefined;
|
|
536
|
+
/**
|
|
537
|
+
* At is when the figures were read.
|
|
538
|
+
*
|
|
539
|
+
* @generated from field: google.protobuf.Timestamp at = 11;
|
|
540
|
+
*/
|
|
541
|
+
at?: Timestamp | undefined;
|
|
542
|
+
};
|
|
543
|
+
/**
|
|
544
|
+
* Describes the message xeonr.pipelines.v1.GetPoolDemandResponse.
|
|
545
|
+
* Use `create(GetPoolDemandResponseSchema)` to create a new message.
|
|
546
|
+
*/
|
|
547
|
+
export declare const GetPoolDemandResponseSchema: GenMessage<GetPoolDemandResponse>;
|
|
548
|
+
/**
|
|
549
|
+
* @generated from message xeonr.pipelines.v1.CreateJoinTokenRequest
|
|
550
|
+
*/
|
|
551
|
+
export type CreateJoinTokenRequest = Message<"xeonr.pipelines.v1.CreateJoinTokenRequest"> & {
|
|
552
|
+
/**
|
|
553
|
+
* @generated from field: string pool_id = 1;
|
|
554
|
+
*/
|
|
555
|
+
poolId: string;
|
|
556
|
+
/**
|
|
557
|
+
* TTL is how long the token can be used. Unset means the default of ten
|
|
558
|
+
* minutes; the most is one hour.
|
|
559
|
+
*
|
|
560
|
+
* @generated from field: google.protobuf.Duration ttl = 2;
|
|
561
|
+
*/
|
|
562
|
+
ttl?: Duration | undefined;
|
|
563
|
+
};
|
|
564
|
+
/**
|
|
565
|
+
* Describes the message xeonr.pipelines.v1.CreateJoinTokenRequest.
|
|
566
|
+
* Use `create(CreateJoinTokenRequestSchema)` to create a new message.
|
|
567
|
+
*/
|
|
568
|
+
export declare const CreateJoinTokenRequestSchema: GenMessage<CreateJoinTokenRequest>;
|
|
569
|
+
/**
|
|
570
|
+
* @generated from message xeonr.pipelines.v1.CreateJoinTokenResponse
|
|
571
|
+
*/
|
|
572
|
+
export type CreateJoinTokenResponse = Message<"xeonr.pipelines.v1.CreateJoinTokenResponse"> & {
|
|
573
|
+
/**
|
|
574
|
+
* JoinTokenID identifies the token in the audit trail. It is not the
|
|
575
|
+
* token.
|
|
576
|
+
*
|
|
577
|
+
* @generated from field: string join_token_id = 1;
|
|
578
|
+
*/
|
|
579
|
+
joinTokenId: string;
|
|
580
|
+
/**
|
|
581
|
+
* JoinTokenSecret is the token. It is shown once, here, and cannot be read
|
|
582
|
+
* again.
|
|
583
|
+
*
|
|
584
|
+
* @generated from field: string join_token_secret = 2;
|
|
585
|
+
*/
|
|
586
|
+
joinTokenSecret: string;
|
|
587
|
+
/**
|
|
588
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 3;
|
|
589
|
+
*/
|
|
590
|
+
expiresAt?: Timestamp | undefined;
|
|
591
|
+
};
|
|
592
|
+
/**
|
|
593
|
+
* Describes the message xeonr.pipelines.v1.CreateJoinTokenResponse.
|
|
594
|
+
* Use `create(CreateJoinTokenResponseSchema)` to create a new message.
|
|
595
|
+
*/
|
|
596
|
+
export declare const CreateJoinTokenResponseSchema: GenMessage<CreateJoinTokenResponse>;
|
|
597
|
+
/**
|
|
598
|
+
* PoolOwnerKind is who runs a pool.
|
|
599
|
+
*
|
|
600
|
+
* @generated from enum xeonr.pipelines.v1.PoolOwnerKind
|
|
601
|
+
*/
|
|
602
|
+
export declare enum PoolOwnerKind {
|
|
603
|
+
/**
|
|
604
|
+
* @generated from enum value: POOL_OWNER_KIND_UNSPECIFIED = 0;
|
|
605
|
+
*/
|
|
606
|
+
UNSPECIFIED = 0,
|
|
607
|
+
/**
|
|
608
|
+
* The platform's operators. Serves tenants by policy.
|
|
609
|
+
*
|
|
610
|
+
* @generated from enum value: POOL_OWNER_KIND_PLATFORM = 1;
|
|
611
|
+
*/
|
|
612
|
+
PLATFORM = 1,
|
|
613
|
+
/**
|
|
614
|
+
* One team. Serves only that team's runs.
|
|
615
|
+
*
|
|
616
|
+
* @generated from enum value: POOL_OWNER_KIND_TENANT = 2;
|
|
617
|
+
*/
|
|
618
|
+
TENANT = 2
|
|
619
|
+
}
|
|
620
|
+
/**
|
|
621
|
+
* Describes the enum xeonr.pipelines.v1.PoolOwnerKind.
|
|
622
|
+
*/
|
|
623
|
+
export declare const PoolOwnerKindSchema: GenEnum<PoolOwnerKind>;
|
|
624
|
+
/**
|
|
625
|
+
* PoolKind is how a pool gets its workers.
|
|
626
|
+
*
|
|
627
|
+
* @generated from enum xeonr.pipelines.v1.PoolKind
|
|
628
|
+
*/
|
|
629
|
+
export declare enum PoolKind {
|
|
630
|
+
/**
|
|
631
|
+
* @generated from enum value: POOL_KIND_UNSPECIFIED = 0;
|
|
632
|
+
*/
|
|
633
|
+
UNSPECIFIED = 0,
|
|
634
|
+
/**
|
|
635
|
+
* The owner's autoscaler starts and removes instances to follow the pool's
|
|
636
|
+
* demand. Each registers with a one-time join token.
|
|
637
|
+
*
|
|
638
|
+
* @generated from enum value: POOL_KIND_AUTOSCALED = 1;
|
|
639
|
+
*/
|
|
640
|
+
AUTOSCALED = 1,
|
|
641
|
+
/**
|
|
642
|
+
* Instances someone set up by hand register with a join token.
|
|
643
|
+
*
|
|
644
|
+
* @generated from enum value: POOL_KIND_STATIC = 2;
|
|
645
|
+
*/
|
|
646
|
+
STATIC = 2,
|
|
647
|
+
/**
|
|
648
|
+
* SDK workers inside a product's own process, claiming handlers.
|
|
649
|
+
*
|
|
650
|
+
* @generated from enum value: POOL_KIND_SDK = 3;
|
|
651
|
+
*/
|
|
652
|
+
SDK = 3
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* Describes the enum xeonr.pipelines.v1.PoolKind.
|
|
656
|
+
*/
|
|
657
|
+
export declare const PoolKindSchema: GenEnum<PoolKind>;
|
|
658
|
+
/**
|
|
659
|
+
* PoolIsolation is what an instance of the pool shares between runs.
|
|
660
|
+
*
|
|
661
|
+
* @generated from enum xeonr.pipelines.v1.PoolIsolation
|
|
662
|
+
*/
|
|
663
|
+
export declare enum PoolIsolation {
|
|
664
|
+
/**
|
|
665
|
+
* @generated from enum value: POOL_ISOLATION_UNSPECIFIED = 0;
|
|
666
|
+
*/
|
|
667
|
+
UNSPECIFIED = 0,
|
|
668
|
+
/**
|
|
669
|
+
* An instance runs attempts of many runs, at once and one after another.
|
|
670
|
+
*
|
|
671
|
+
* @generated from enum value: POOL_ISOLATION_SHARED = 1;
|
|
672
|
+
*/
|
|
673
|
+
SHARED = 1,
|
|
674
|
+
/**
|
|
675
|
+
* An instance serves one run and is then discarded. Required, with a
|
|
676
|
+
* capacity of 1, for a pool that offers `privileged`.
|
|
677
|
+
*
|
|
678
|
+
* @generated from enum value: POOL_ISOLATION_PER_RUN = 2;
|
|
679
|
+
*/
|
|
680
|
+
PER_RUN = 2
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* Describes the enum xeonr.pipelines.v1.PoolIsolation.
|
|
684
|
+
*/
|
|
685
|
+
export declare const PoolIsolationSchema: GenEnum<PoolIsolation>;
|
|
686
|
+
/**
|
|
687
|
+
* RunnerState is where a runner is.
|
|
688
|
+
*
|
|
689
|
+
* @generated from enum xeonr.pipelines.v1.RunnerState
|
|
690
|
+
*/
|
|
691
|
+
export declare enum RunnerState {
|
|
692
|
+
/**
|
|
693
|
+
* @generated from enum value: RUNNER_STATE_UNSPECIFIED = 0;
|
|
694
|
+
*/
|
|
695
|
+
UNSPECIFIED = 0,
|
|
696
|
+
/**
|
|
697
|
+
* Seen recently and claiming.
|
|
698
|
+
*
|
|
699
|
+
* @generated from enum value: RUNNER_STATE_ONLINE = 1;
|
|
700
|
+
*/
|
|
701
|
+
ONLINE = 1,
|
|
702
|
+
/**
|
|
703
|
+
* Finishing what it has; claims nothing new.
|
|
704
|
+
*
|
|
705
|
+
* @generated from enum value: RUNNER_STATE_DRAINING = 2;
|
|
706
|
+
*/
|
|
707
|
+
DRAINING = 2,
|
|
708
|
+
/**
|
|
709
|
+
* Not seen for longer than a lease.
|
|
710
|
+
*
|
|
711
|
+
* @generated from enum value: RUNNER_STATE_OFFLINE = 3;
|
|
712
|
+
*/
|
|
713
|
+
OFFLINE = 3
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* Describes the enum xeonr.pipelines.v1.RunnerState.
|
|
717
|
+
*/
|
|
718
|
+
export declare const RunnerStateSchema: GenEnum<RunnerState>;
|
|
719
|
+
/**
|
|
720
|
+
* PoolsService manages pools and the runners in them.
|
|
721
|
+
*
|
|
722
|
+
* Anything a pipeline can target is a pool: fixed instances, autoscaled
|
|
723
|
+
* compute, GPU machines, a Mac, a team's own hardware, or the handlers inside
|
|
724
|
+
* a team's application. There is no fixed taxonomy. A pool advertises what it
|
|
725
|
+
* offers (labels, capabilities, resources, os and arch, or handler names),
|
|
726
|
+
* carries a trust tier and its capacity, and three routing knobs: priority,
|
|
727
|
+
* weight and spill-after. Each node of a run is matched to pools on its own,
|
|
728
|
+
* so one run can span many.
|
|
729
|
+
*
|
|
730
|
+
* Ownership. A pool is owned by the platform or by a tenant.
|
|
731
|
+
*
|
|
732
|
+
* - A tenant's pool serves only that tenant's runs, and is managed by
|
|
733
|
+
* members of that team (asked of Auth as the caller) or by a service
|
|
734
|
+
* account acting for it: an SDK worker declares its own `sdk` pool this
|
|
735
|
+
* way when it boots.
|
|
736
|
+
* - A platform pool serves tenants by the platform's policy, and is
|
|
737
|
+
* managed only by the platform's operators: members of the operators'
|
|
738
|
+
* team the service is configured with.
|
|
739
|
+
*
|
|
740
|
+
* Whoever owns a pool owns its machines: provisioning, autoscaling, recycling
|
|
741
|
+
* and cost. Pipelines creates no machines and has no pool manager. What it
|
|
742
|
+
* gives an owner's autoscaler is the pool's demand, as data (GetPoolDemand),
|
|
743
|
+
* and one-time join tokens for the machines it starts (CreateJoinToken).
|
|
744
|
+
*
|
|
745
|
+
* This is still the public API: operators are gated by scope and ownership
|
|
746
|
+
* here, not by a separate admin surface.
|
|
747
|
+
*
|
|
748
|
+
* @generated from service xeonr.pipelines.v1.PoolsService
|
|
749
|
+
*/
|
|
750
|
+
export declare const PoolsService: GenService<{
|
|
751
|
+
/**
|
|
752
|
+
* @generated from rpc xeonr.pipelines.v1.PoolsService.ListPools
|
|
753
|
+
*/
|
|
754
|
+
listPools: {
|
|
755
|
+
methodKind: "unary";
|
|
756
|
+
input: typeof ListPoolsRequestSchema;
|
|
757
|
+
output: typeof ListPoolsResponseSchema;
|
|
758
|
+
};
|
|
759
|
+
/**
|
|
760
|
+
* @generated from rpc xeonr.pipelines.v1.PoolsService.SetPool
|
|
761
|
+
*/
|
|
762
|
+
setPool: {
|
|
763
|
+
methodKind: "unary";
|
|
764
|
+
input: typeof SetPoolRequestSchema;
|
|
765
|
+
output: typeof SetPoolResponseSchema;
|
|
766
|
+
};
|
|
767
|
+
/**
|
|
768
|
+
* @generated from rpc xeonr.pipelines.v1.PoolsService.ListRunners
|
|
769
|
+
*/
|
|
770
|
+
listRunners: {
|
|
771
|
+
methodKind: "unary";
|
|
772
|
+
input: typeof ListRunnersRequestSchema;
|
|
773
|
+
output: typeof ListRunnersResponseSchema;
|
|
774
|
+
};
|
|
775
|
+
/**
|
|
776
|
+
* @generated from rpc xeonr.pipelines.v1.PoolsService.MarkRunnerDraining
|
|
777
|
+
*/
|
|
778
|
+
markRunnerDraining: {
|
|
779
|
+
methodKind: "unary";
|
|
780
|
+
input: typeof MarkRunnerDrainingRequestSchema;
|
|
781
|
+
output: typeof MarkRunnerDrainingResponseSchema;
|
|
782
|
+
};
|
|
783
|
+
/**
|
|
784
|
+
* @generated from rpc xeonr.pipelines.v1.PoolsService.GetPoolDemand
|
|
785
|
+
*/
|
|
786
|
+
getPoolDemand: {
|
|
787
|
+
methodKind: "unary";
|
|
788
|
+
input: typeof GetPoolDemandRequestSchema;
|
|
789
|
+
output: typeof GetPoolDemandResponseSchema;
|
|
790
|
+
};
|
|
791
|
+
/**
|
|
792
|
+
* @generated from rpc xeonr.pipelines.v1.PoolsService.CreateJoinToken
|
|
793
|
+
*/
|
|
794
|
+
createJoinToken: {
|
|
795
|
+
methodKind: "unary";
|
|
796
|
+
input: typeof CreateJoinTokenRequestSchema;
|
|
797
|
+
output: typeof CreateJoinTokenResponseSchema;
|
|
798
|
+
};
|
|
799
|
+
}>;
|
|
800
|
+
//# sourceMappingURL=pools_pb.d.ts.map
|