@kilnci/shared 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.
@@ -0,0 +1,4986 @@
1
+ import { z } from 'zod';
2
+ export declare const BuildStatusSchema: z.ZodEnum<["pending", "running", "success", "failed", "cancelled"]>;
3
+ export type BuildStatus = z.infer<typeof BuildStatusSchema>;
4
+ export declare const TriggerSourceSchema: z.ZodEnum<["webhook", "ui", "api", "cli"]>;
5
+ export type TriggerSource = z.infer<typeof TriggerSourceSchema>;
6
+ export declare const BuildSchema: z.ZodObject<{
7
+ id: z.ZodString;
8
+ repositoryId: z.ZodString;
9
+ repo: z.ZodString;
10
+ organizationId: z.ZodString;
11
+ branch: z.ZodDefault<z.ZodString>;
12
+ commands: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
13
+ status: z.ZodEnum<["pending", "running", "success", "failed", "cancelled"]>;
14
+ workerId: z.ZodNullable<z.ZodString>;
15
+ workerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ exitCode: z.ZodNullable<z.ZodNumber>;
17
+ errorMessage: z.ZodNullable<z.ZodString>;
18
+ createdAt: z.ZodDate;
19
+ startedAt: z.ZodNullable<z.ZodDate>;
20
+ finishedAt: z.ZodNullable<z.ZodDate>;
21
+ commitSha: z.ZodNullable<z.ZodString>;
22
+ gitlabEventType: z.ZodNullable<z.ZodString>;
23
+ triggerSource: z.ZodDefault<z.ZodEnum<["webhook", "ui", "api", "cli"]>>;
24
+ artifacts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
+ workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26
+ key: z.ZodString;
27
+ size: z.ZodNumber;
28
+ createdAt: z.ZodDate;
29
+ }, "strip", z.ZodTypeAny, {
30
+ key: string;
31
+ size: number;
32
+ createdAt: Date;
33
+ }, {
34
+ key: string;
35
+ size: number;
36
+ createdAt: Date;
37
+ }>>>;
38
+ logs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39
+ key: z.ZodString;
40
+ size: z.ZodNumber;
41
+ createdAt: z.ZodDate;
42
+ }, "strip", z.ZodTypeAny, {
43
+ key: string;
44
+ size: number;
45
+ createdAt: Date;
46
+ }, {
47
+ key: string;
48
+ size: number;
49
+ createdAt: Date;
50
+ }>>>;
51
+ stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
52
+ name: z.ZodString;
53
+ stageName: z.ZodString;
54
+ key: z.ZodString;
55
+ size: z.ZodNumber;
56
+ fileCount: z.ZodNumber;
57
+ createdAt: z.ZodDate;
58
+ }, "strip", z.ZodTypeAny, {
59
+ key: string;
60
+ size: number;
61
+ createdAt: Date;
62
+ name: string;
63
+ stageName: string;
64
+ fileCount: number;
65
+ }, {
66
+ key: string;
67
+ size: number;
68
+ createdAt: Date;
69
+ name: string;
70
+ stageName: string;
71
+ fileCount: number;
72
+ }>, "many">>;
73
+ }, "strip", z.ZodTypeAny, {
74
+ workspace?: {
75
+ key: string;
76
+ size: number;
77
+ createdAt: Date;
78
+ } | null | undefined;
79
+ logs?: {
80
+ key: string;
81
+ size: number;
82
+ createdAt: Date;
83
+ } | null | undefined;
84
+ stages?: {
85
+ key: string;
86
+ size: number;
87
+ createdAt: Date;
88
+ name: string;
89
+ stageName: string;
90
+ fileCount: number;
91
+ }[] | undefined;
92
+ }, {
93
+ workspace?: {
94
+ key: string;
95
+ size: number;
96
+ createdAt: Date;
97
+ } | null | undefined;
98
+ logs?: {
99
+ key: string;
100
+ size: number;
101
+ createdAt: Date;
102
+ } | null | undefined;
103
+ stages?: {
104
+ key: string;
105
+ size: number;
106
+ createdAt: Date;
107
+ name: string;
108
+ stageName: string;
109
+ fileCount: number;
110
+ }[] | undefined;
111
+ }>>>;
112
+ labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
113
+ }, "strip", z.ZodTypeAny, {
114
+ status: "pending" | "running" | "success" | "failed" | "cancelled";
115
+ createdAt: Date;
116
+ id: string;
117
+ repositoryId: string;
118
+ repo: string;
119
+ organizationId: string;
120
+ branch: string;
121
+ workerId: string | null;
122
+ exitCode: number | null;
123
+ errorMessage: string | null;
124
+ startedAt: Date | null;
125
+ finishedAt: Date | null;
126
+ commitSha: string | null;
127
+ gitlabEventType: string | null;
128
+ triggerSource: "webhook" | "ui" | "api" | "cli";
129
+ labels: Record<string, string>;
130
+ commands?: string[] | null | undefined;
131
+ workerName?: string | null | undefined;
132
+ artifacts?: {
133
+ workspace?: {
134
+ key: string;
135
+ size: number;
136
+ createdAt: Date;
137
+ } | null | undefined;
138
+ logs?: {
139
+ key: string;
140
+ size: number;
141
+ createdAt: Date;
142
+ } | null | undefined;
143
+ stages?: {
144
+ key: string;
145
+ size: number;
146
+ createdAt: Date;
147
+ name: string;
148
+ stageName: string;
149
+ fileCount: number;
150
+ }[] | undefined;
151
+ } | null | undefined;
152
+ }, {
153
+ status: "pending" | "running" | "success" | "failed" | "cancelled";
154
+ createdAt: Date;
155
+ id: string;
156
+ repositoryId: string;
157
+ repo: string;
158
+ organizationId: string;
159
+ workerId: string | null;
160
+ exitCode: number | null;
161
+ errorMessage: string | null;
162
+ startedAt: Date | null;
163
+ finishedAt: Date | null;
164
+ commitSha: string | null;
165
+ gitlabEventType: string | null;
166
+ branch?: string | undefined;
167
+ commands?: string[] | null | undefined;
168
+ workerName?: string | null | undefined;
169
+ triggerSource?: "webhook" | "ui" | "api" | "cli" | undefined;
170
+ artifacts?: {
171
+ workspace?: {
172
+ key: string;
173
+ size: number;
174
+ createdAt: Date;
175
+ } | null | undefined;
176
+ logs?: {
177
+ key: string;
178
+ size: number;
179
+ createdAt: Date;
180
+ } | null | undefined;
181
+ stages?: {
182
+ key: string;
183
+ size: number;
184
+ createdAt: Date;
185
+ name: string;
186
+ stageName: string;
187
+ fileCount: number;
188
+ }[] | undefined;
189
+ } | null | undefined;
190
+ labels?: Record<string, string> | undefined;
191
+ }>;
192
+ export type Build = z.infer<typeof BuildSchema>;
193
+ export declare const BuildRequestSchema: z.ZodObject<{
194
+ repositoryId: z.ZodString;
195
+ branch: z.ZodDefault<z.ZodOptional<z.ZodString>>;
196
+ }, "strip", z.ZodTypeAny, {
197
+ repositoryId: string;
198
+ branch: string;
199
+ }, {
200
+ repositoryId: string;
201
+ branch?: string | undefined;
202
+ }>;
203
+ export type BuildRequest = z.infer<typeof BuildRequestSchema>;
204
+ export declare const WorkspaceSchema: z.ZodObject<{
205
+ id: z.ZodString;
206
+ repo: z.ZodString;
207
+ branch: z.ZodString;
208
+ path: z.ZodString;
209
+ workerId: z.ZodString;
210
+ createdAt: z.ZodDate;
211
+ lastUsedAt: z.ZodDate;
212
+ }, "strip", z.ZodTypeAny, {
213
+ path: string;
214
+ createdAt: Date;
215
+ id: string;
216
+ repo: string;
217
+ branch: string;
218
+ workerId: string;
219
+ lastUsedAt: Date;
220
+ }, {
221
+ path: string;
222
+ createdAt: Date;
223
+ id: string;
224
+ repo: string;
225
+ branch: string;
226
+ workerId: string;
227
+ lastUsedAt: Date;
228
+ }>;
229
+ export type Workspace = z.infer<typeof WorkspaceSchema>;
230
+ export declare const WorkerStatusSchema: z.ZodEnum<["pending", "online", "offline", "busy"]>;
231
+ export type WorkerStatus = z.infer<typeof WorkerStatusSchema>;
232
+ export declare const LabelSelectorSchema: z.ZodObject<{
233
+ matchLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
234
+ }, "strip", z.ZodTypeAny, {
235
+ matchLabels?: Record<string, string> | undefined;
236
+ }, {
237
+ matchLabels?: Record<string, string> | undefined;
238
+ }>;
239
+ export type LabelSelector = z.infer<typeof LabelSelectorSchema>;
240
+ export declare const SelectorModeSchema: z.ZodEnum<["preferred", "exclusive"]>;
241
+ export type SelectorMode = z.infer<typeof SelectorModeSchema>;
242
+ export declare const WorkerSchema: z.ZodObject<{
243
+ id: z.ZodString;
244
+ name: z.ZodNullable<z.ZodString>;
245
+ hostname: z.ZodNullable<z.ZodString>;
246
+ labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
247
+ selector: z.ZodDefault<z.ZodNullable<z.ZodObject<{
248
+ matchLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
249
+ }, "strip", z.ZodTypeAny, {
250
+ matchLabels?: Record<string, string> | undefined;
251
+ }, {
252
+ matchLabels?: Record<string, string> | undefined;
253
+ }>>>;
254
+ selectorMode: z.ZodDefault<z.ZodEnum<["preferred", "exclusive"]>>;
255
+ maxConcurrentBuilds: z.ZodDefault<z.ZodNumber>;
256
+ activeBuilds: z.ZodDefault<z.ZodNumber>;
257
+ status: z.ZodEnum<["pending", "online", "offline", "busy"]>;
258
+ createdBy: z.ZodNullable<z.ZodString>;
259
+ createdAt: z.ZodDate;
260
+ registeredAt: z.ZodNullable<z.ZodDate>;
261
+ lastHeartbeatAt: z.ZodNullable<z.ZodDate>;
262
+ }, "strip", z.ZodTypeAny, {
263
+ status: "pending" | "online" | "offline" | "busy";
264
+ createdAt: Date;
265
+ name: string | null;
266
+ id: string;
267
+ labels: Record<string, unknown>;
268
+ hostname: string | null;
269
+ selector: {
270
+ matchLabels?: Record<string, string> | undefined;
271
+ } | null;
272
+ selectorMode: "preferred" | "exclusive";
273
+ maxConcurrentBuilds: number;
274
+ activeBuilds: number;
275
+ createdBy: string | null;
276
+ registeredAt: Date | null;
277
+ lastHeartbeatAt: Date | null;
278
+ }, {
279
+ status: "pending" | "online" | "offline" | "busy";
280
+ createdAt: Date;
281
+ name: string | null;
282
+ id: string;
283
+ hostname: string | null;
284
+ createdBy: string | null;
285
+ registeredAt: Date | null;
286
+ lastHeartbeatAt: Date | null;
287
+ labels?: Record<string, unknown> | undefined;
288
+ selector?: {
289
+ matchLabels?: Record<string, string> | undefined;
290
+ } | null | undefined;
291
+ selectorMode?: "preferred" | "exclusive" | undefined;
292
+ maxConcurrentBuilds?: number | undefined;
293
+ activeBuilds?: number | undefined;
294
+ }>;
295
+ export type Worker = z.infer<typeof WorkerSchema>;
296
+ export declare const WorkerCreateSchema: z.ZodObject<{
297
+ name: z.ZodString;
298
+ maxConcurrentBuilds: z.ZodDefault<z.ZodNumber>;
299
+ labels: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
300
+ selector: z.ZodOptional<z.ZodObject<{
301
+ matchLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
302
+ }, "strip", z.ZodTypeAny, {
303
+ matchLabels?: Record<string, string> | undefined;
304
+ }, {
305
+ matchLabels?: Record<string, string> | undefined;
306
+ }>>;
307
+ selectorMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["preferred", "exclusive"]>>>;
308
+ tokenTtlMinutes: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
309
+ }, "strip", z.ZodTypeAny, {
310
+ name: string;
311
+ labels: Record<string, unknown>;
312
+ selectorMode: "preferred" | "exclusive";
313
+ maxConcurrentBuilds: number;
314
+ tokenTtlMinutes: number;
315
+ selector?: {
316
+ matchLabels?: Record<string, string> | undefined;
317
+ } | undefined;
318
+ }, {
319
+ name: string;
320
+ labels?: Record<string, unknown> | undefined;
321
+ selector?: {
322
+ matchLabels?: Record<string, string> | undefined;
323
+ } | undefined;
324
+ selectorMode?: "preferred" | "exclusive" | undefined;
325
+ maxConcurrentBuilds?: number | undefined;
326
+ tokenTtlMinutes?: number | undefined;
327
+ }>;
328
+ export type WorkerCreate = z.infer<typeof WorkerCreateSchema>;
329
+ export declare const WorkerCreatedSchema: z.ZodObject<{
330
+ worker: z.ZodObject<{
331
+ id: z.ZodString;
332
+ name: z.ZodNullable<z.ZodString>;
333
+ hostname: z.ZodNullable<z.ZodString>;
334
+ labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
335
+ selector: z.ZodDefault<z.ZodNullable<z.ZodObject<{
336
+ matchLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
337
+ }, "strip", z.ZodTypeAny, {
338
+ matchLabels?: Record<string, string> | undefined;
339
+ }, {
340
+ matchLabels?: Record<string, string> | undefined;
341
+ }>>>;
342
+ selectorMode: z.ZodDefault<z.ZodEnum<["preferred", "exclusive"]>>;
343
+ maxConcurrentBuilds: z.ZodDefault<z.ZodNumber>;
344
+ activeBuilds: z.ZodDefault<z.ZodNumber>;
345
+ status: z.ZodEnum<["pending", "online", "offline", "busy"]>;
346
+ createdBy: z.ZodNullable<z.ZodString>;
347
+ createdAt: z.ZodDate;
348
+ registeredAt: z.ZodNullable<z.ZodDate>;
349
+ lastHeartbeatAt: z.ZodNullable<z.ZodDate>;
350
+ }, "strip", z.ZodTypeAny, {
351
+ status: "pending" | "online" | "offline" | "busy";
352
+ createdAt: Date;
353
+ name: string | null;
354
+ id: string;
355
+ labels: Record<string, unknown>;
356
+ hostname: string | null;
357
+ selector: {
358
+ matchLabels?: Record<string, string> | undefined;
359
+ } | null;
360
+ selectorMode: "preferred" | "exclusive";
361
+ maxConcurrentBuilds: number;
362
+ activeBuilds: number;
363
+ createdBy: string | null;
364
+ registeredAt: Date | null;
365
+ lastHeartbeatAt: Date | null;
366
+ }, {
367
+ status: "pending" | "online" | "offline" | "busy";
368
+ createdAt: Date;
369
+ name: string | null;
370
+ id: string;
371
+ hostname: string | null;
372
+ createdBy: string | null;
373
+ registeredAt: Date | null;
374
+ lastHeartbeatAt: Date | null;
375
+ labels?: Record<string, unknown> | undefined;
376
+ selector?: {
377
+ matchLabels?: Record<string, string> | undefined;
378
+ } | null | undefined;
379
+ selectorMode?: "preferred" | "exclusive" | undefined;
380
+ maxConcurrentBuilds?: number | undefined;
381
+ activeBuilds?: number | undefined;
382
+ }>;
383
+ workerToken: z.ZodString;
384
+ tokenExpiresAt: z.ZodDate;
385
+ }, "strip", z.ZodTypeAny, {
386
+ worker: {
387
+ status: "pending" | "online" | "offline" | "busy";
388
+ createdAt: Date;
389
+ name: string | null;
390
+ id: string;
391
+ labels: Record<string, unknown>;
392
+ hostname: string | null;
393
+ selector: {
394
+ matchLabels?: Record<string, string> | undefined;
395
+ } | null;
396
+ selectorMode: "preferred" | "exclusive";
397
+ maxConcurrentBuilds: number;
398
+ activeBuilds: number;
399
+ createdBy: string | null;
400
+ registeredAt: Date | null;
401
+ lastHeartbeatAt: Date | null;
402
+ };
403
+ workerToken: string;
404
+ tokenExpiresAt: Date;
405
+ }, {
406
+ worker: {
407
+ status: "pending" | "online" | "offline" | "busy";
408
+ createdAt: Date;
409
+ name: string | null;
410
+ id: string;
411
+ hostname: string | null;
412
+ createdBy: string | null;
413
+ registeredAt: Date | null;
414
+ lastHeartbeatAt: Date | null;
415
+ labels?: Record<string, unknown> | undefined;
416
+ selector?: {
417
+ matchLabels?: Record<string, string> | undefined;
418
+ } | null | undefined;
419
+ selectorMode?: "preferred" | "exclusive" | undefined;
420
+ maxConcurrentBuilds?: number | undefined;
421
+ activeBuilds?: number | undefined;
422
+ };
423
+ workerToken: string;
424
+ tokenExpiresAt: Date;
425
+ }>;
426
+ export type WorkerCreated = z.infer<typeof WorkerCreatedSchema>;
427
+ export declare const HealthStatusSchema: z.ZodObject<{
428
+ status: z.ZodEnum<["ok", "degraded", "error"]>;
429
+ postgres: z.ZodObject<{
430
+ connected: z.ZodBoolean;
431
+ }, "strip", z.ZodTypeAny, {
432
+ connected: boolean;
433
+ }, {
434
+ connected: boolean;
435
+ }>;
436
+ keycloak: z.ZodObject<{
437
+ connected: z.ZodBoolean;
438
+ }, "strip", z.ZodTypeAny, {
439
+ connected: boolean;
440
+ }, {
441
+ connected: boolean;
442
+ }>;
443
+ }, "strip", z.ZodTypeAny, {
444
+ status: "ok" | "degraded" | "error";
445
+ postgres: {
446
+ connected: boolean;
447
+ };
448
+ keycloak: {
449
+ connected: boolean;
450
+ };
451
+ }, {
452
+ status: "ok" | "degraded" | "error";
453
+ postgres: {
454
+ connected: boolean;
455
+ };
456
+ keycloak: {
457
+ connected: boolean;
458
+ };
459
+ }>;
460
+ export type HealthStatus = z.infer<typeof HealthStatusSchema>;
461
+ export declare const PaginationSchema: z.ZodObject<{
462
+ page: z.ZodDefault<z.ZodNumber>;
463
+ pageSize: z.ZodDefault<z.ZodNumber>;
464
+ }, "strip", z.ZodTypeAny, {
465
+ page: number;
466
+ pageSize: number;
467
+ }, {
468
+ page?: number | undefined;
469
+ pageSize?: number | undefined;
470
+ }>;
471
+ export type Pagination = z.infer<typeof PaginationSchema>;
472
+ export declare const UserRoleSchema: z.ZodEnum<["admin", "developer", "readonly"]>;
473
+ export type UserRole = z.infer<typeof UserRoleSchema>;
474
+ export declare const UserSchema: z.ZodObject<{
475
+ sub: z.ZodString;
476
+ email: z.ZodOptional<z.ZodString>;
477
+ name: z.ZodOptional<z.ZodString>;
478
+ preferredUsername: z.ZodOptional<z.ZodString>;
479
+ roles: z.ZodDefault<z.ZodArray<z.ZodEnum<["admin", "developer", "readonly"]>, "many">>;
480
+ groups: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ sub: string;
483
+ roles: ("admin" | "developer" | "readonly")[];
484
+ groups: string[];
485
+ name?: string | undefined;
486
+ email?: string | undefined;
487
+ preferredUsername?: string | undefined;
488
+ }, {
489
+ sub: string;
490
+ name?: string | undefined;
491
+ email?: string | undefined;
492
+ preferredUsername?: string | undefined;
493
+ roles?: ("admin" | "developer" | "readonly")[] | undefined;
494
+ groups?: string[] | undefined;
495
+ }>;
496
+ export type User = z.infer<typeof UserSchema>;
497
+ export declare const OrganizationSchema: z.ZodObject<{
498
+ id: z.ZodString;
499
+ slug: z.ZodString;
500
+ name: z.ZodString;
501
+ createdAt: z.ZodDate;
502
+ updatedAt: z.ZodDate;
503
+ }, "strip", z.ZodTypeAny, {
504
+ createdAt: Date;
505
+ name: string;
506
+ id: string;
507
+ slug: string;
508
+ updatedAt: Date;
509
+ }, {
510
+ createdAt: Date;
511
+ name: string;
512
+ id: string;
513
+ slug: string;
514
+ updatedAt: Date;
515
+ }>;
516
+ export type Organization = z.infer<typeof OrganizationSchema>;
517
+ export declare const OrganizationCreateSchema: z.ZodObject<{
518
+ slug: z.ZodString;
519
+ name: z.ZodString;
520
+ }, "strip", z.ZodTypeAny, {
521
+ name: string;
522
+ slug: string;
523
+ }, {
524
+ name: string;
525
+ slug: string;
526
+ }>;
527
+ export type OrganizationCreate = z.infer<typeof OrganizationCreateSchema>;
528
+ export declare const OrganizationUpdateSchema: z.ZodObject<{
529
+ name: z.ZodOptional<z.ZodString>;
530
+ }, "strip", z.ZodTypeAny, {
531
+ name?: string | undefined;
532
+ }, {
533
+ name?: string | undefined;
534
+ }>;
535
+ export type OrganizationUpdate = z.infer<typeof OrganizationUpdateSchema>;
536
+ export declare const GitLabIntegrationSchema: z.ZodObject<{
537
+ id: z.ZodString;
538
+ organizationId: z.ZodString;
539
+ gitlabUrl: z.ZodDefault<z.ZodString>;
540
+ gitlabGroupPath: z.ZodNullable<z.ZodString>;
541
+ webhookSecret: z.ZodString;
542
+ defaultBranch: z.ZodDefault<z.ZodString>;
543
+ defaultCommands: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
544
+ enabled: z.ZodDefault<z.ZodBoolean>;
545
+ registryAuthEnabled: z.ZodDefault<z.ZodBoolean>;
546
+ registryUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
547
+ createdAt: z.ZodDate;
548
+ }, "strip", z.ZodTypeAny, {
549
+ createdAt: Date;
550
+ id: string;
551
+ organizationId: string;
552
+ gitlabUrl: string;
553
+ gitlabGroupPath: string | null;
554
+ webhookSecret: string;
555
+ defaultBranch: string;
556
+ enabled: boolean;
557
+ registryAuthEnabled: boolean;
558
+ defaultCommands?: string[] | null | undefined;
559
+ registryUrl?: string | null | undefined;
560
+ }, {
561
+ createdAt: Date;
562
+ id: string;
563
+ organizationId: string;
564
+ gitlabGroupPath: string | null;
565
+ webhookSecret: string;
566
+ gitlabUrl?: string | undefined;
567
+ defaultBranch?: string | undefined;
568
+ defaultCommands?: string[] | null | undefined;
569
+ enabled?: boolean | undefined;
570
+ registryAuthEnabled?: boolean | undefined;
571
+ registryUrl?: string | null | undefined;
572
+ }>;
573
+ export type GitLabIntegration = z.infer<typeof GitLabIntegrationSchema>;
574
+ export declare const GitLabIntegrationConfigSchema: z.ZodObject<{
575
+ gitlabUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
576
+ gitlabGroupPath: z.ZodString;
577
+ accessToken: z.ZodString;
578
+ defaultBranch: z.ZodDefault<z.ZodOptional<z.ZodString>>;
579
+ defaultCommands: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
580
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
581
+ }, "strip", z.ZodTypeAny, {
582
+ gitlabUrl: string;
583
+ gitlabGroupPath: string;
584
+ defaultBranch: string;
585
+ enabled: boolean;
586
+ accessToken: string;
587
+ defaultCommands?: string[] | null | undefined;
588
+ }, {
589
+ gitlabGroupPath: string;
590
+ accessToken: string;
591
+ gitlabUrl?: string | undefined;
592
+ defaultBranch?: string | undefined;
593
+ defaultCommands?: string[] | null | undefined;
594
+ enabled?: boolean | undefined;
595
+ }>;
596
+ export type GitLabIntegrationConfig = z.infer<typeof GitLabIntegrationConfigSchema>;
597
+ export declare const GitProviderSchema: z.ZodEnum<["gitlab", "gitea", "github", "bitbucket"]>;
598
+ export type GitProvider = z.infer<typeof GitProviderSchema>;
599
+ export declare const RepositorySchema: z.ZodObject<{
600
+ id: z.ZodString;
601
+ organizationId: z.ZodString;
602
+ provider: z.ZodEnum<["gitlab", "gitea", "github", "bitbucket"]>;
603
+ providerRepoId: z.ZodString;
604
+ name: z.ZodString;
605
+ fullPath: z.ZodString;
606
+ cloneUrl: z.ZodString;
607
+ defaultBranch: z.ZodDefault<z.ZodString>;
608
+ buildEnabled: z.ZodDefault<z.ZodBoolean>;
609
+ gitlabWebhookId: z.ZodNullable<z.ZodNumber>;
610
+ podTemplateId: z.ZodNullable<z.ZodString>;
611
+ createdAt: z.ZodDate;
612
+ updatedAt: z.ZodDate;
613
+ }, "strip", z.ZodTypeAny, {
614
+ createdAt: Date;
615
+ name: string;
616
+ id: string;
617
+ organizationId: string;
618
+ updatedAt: Date;
619
+ defaultBranch: string;
620
+ provider: "gitlab" | "gitea" | "github" | "bitbucket";
621
+ providerRepoId: string;
622
+ fullPath: string;
623
+ cloneUrl: string;
624
+ buildEnabled: boolean;
625
+ gitlabWebhookId: number | null;
626
+ podTemplateId: string | null;
627
+ }, {
628
+ createdAt: Date;
629
+ name: string;
630
+ id: string;
631
+ organizationId: string;
632
+ updatedAt: Date;
633
+ provider: "gitlab" | "gitea" | "github" | "bitbucket";
634
+ providerRepoId: string;
635
+ fullPath: string;
636
+ cloneUrl: string;
637
+ gitlabWebhookId: number | null;
638
+ podTemplateId: string | null;
639
+ defaultBranch?: string | undefined;
640
+ buildEnabled?: boolean | undefined;
641
+ }>;
642
+ export type Repository = z.infer<typeof RepositorySchema>;
643
+ export declare const RepositoryUpdateSchema: z.ZodObject<{
644
+ buildEnabled: z.ZodOptional<z.ZodBoolean>;
645
+ podTemplateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
646
+ }, "strip", z.ZodTypeAny, {
647
+ buildEnabled?: boolean | undefined;
648
+ podTemplateId?: string | null | undefined;
649
+ }, {
650
+ buildEnabled?: boolean | undefined;
651
+ podTemplateId?: string | null | undefined;
652
+ }>;
653
+ export type RepositoryUpdate = z.infer<typeof RepositoryUpdateSchema>;
654
+ export declare const KilnConfigSchema: z.ZodObject<{
655
+ commands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
656
+ branches: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
657
+ commands: z.ZodArray<z.ZodString, "many">;
658
+ }, "strip", z.ZodTypeAny, {
659
+ commands: string[];
660
+ }, {
661
+ commands: string[];
662
+ }>>>;
663
+ }, "strip", z.ZodTypeAny, {
664
+ commands?: string[] | undefined;
665
+ branches?: Record<string, {
666
+ commands: string[];
667
+ }> | undefined;
668
+ }, {
669
+ commands?: string[] | undefined;
670
+ branches?: Record<string, {
671
+ commands: string[];
672
+ }> | undefined;
673
+ }>;
674
+ export type KilnConfig = z.infer<typeof KilnConfigSchema>;
675
+ export declare const PaginatedSchema: <T extends z.ZodType>(itemSchema: T) => z.ZodObject<{
676
+ items: z.ZodArray<T, "many">;
677
+ total: z.ZodNumber;
678
+ page: z.ZodNumber;
679
+ pageSize: z.ZodNumber;
680
+ }, "strip", z.ZodTypeAny, {
681
+ page: number;
682
+ pageSize: number;
683
+ items: T["_output"][];
684
+ total: number;
685
+ }, {
686
+ page: number;
687
+ pageSize: number;
688
+ items: T["_input"][];
689
+ total: number;
690
+ }>;
691
+ export declare const PaginatedBuildsSchema: z.ZodObject<{
692
+ items: z.ZodArray<z.ZodObject<{
693
+ id: z.ZodString;
694
+ repositoryId: z.ZodString;
695
+ repo: z.ZodString;
696
+ organizationId: z.ZodString;
697
+ branch: z.ZodDefault<z.ZodString>;
698
+ commands: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
699
+ status: z.ZodEnum<["pending", "running", "success", "failed", "cancelled"]>;
700
+ workerId: z.ZodNullable<z.ZodString>;
701
+ workerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
702
+ exitCode: z.ZodNullable<z.ZodNumber>;
703
+ errorMessage: z.ZodNullable<z.ZodString>;
704
+ createdAt: z.ZodDate;
705
+ startedAt: z.ZodNullable<z.ZodDate>;
706
+ finishedAt: z.ZodNullable<z.ZodDate>;
707
+ commitSha: z.ZodNullable<z.ZodString>;
708
+ gitlabEventType: z.ZodNullable<z.ZodString>;
709
+ triggerSource: z.ZodDefault<z.ZodEnum<["webhook", "ui", "api", "cli"]>>;
710
+ artifacts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
711
+ workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
712
+ key: z.ZodString;
713
+ size: z.ZodNumber;
714
+ createdAt: z.ZodDate;
715
+ }, "strip", z.ZodTypeAny, {
716
+ key: string;
717
+ size: number;
718
+ createdAt: Date;
719
+ }, {
720
+ key: string;
721
+ size: number;
722
+ createdAt: Date;
723
+ }>>>;
724
+ logs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
725
+ key: z.ZodString;
726
+ size: z.ZodNumber;
727
+ createdAt: z.ZodDate;
728
+ }, "strip", z.ZodTypeAny, {
729
+ key: string;
730
+ size: number;
731
+ createdAt: Date;
732
+ }, {
733
+ key: string;
734
+ size: number;
735
+ createdAt: Date;
736
+ }>>>;
737
+ stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
738
+ name: z.ZodString;
739
+ stageName: z.ZodString;
740
+ key: z.ZodString;
741
+ size: z.ZodNumber;
742
+ fileCount: z.ZodNumber;
743
+ createdAt: z.ZodDate;
744
+ }, "strip", z.ZodTypeAny, {
745
+ key: string;
746
+ size: number;
747
+ createdAt: Date;
748
+ name: string;
749
+ stageName: string;
750
+ fileCount: number;
751
+ }, {
752
+ key: string;
753
+ size: number;
754
+ createdAt: Date;
755
+ name: string;
756
+ stageName: string;
757
+ fileCount: number;
758
+ }>, "many">>;
759
+ }, "strip", z.ZodTypeAny, {
760
+ workspace?: {
761
+ key: string;
762
+ size: number;
763
+ createdAt: Date;
764
+ } | null | undefined;
765
+ logs?: {
766
+ key: string;
767
+ size: number;
768
+ createdAt: Date;
769
+ } | null | undefined;
770
+ stages?: {
771
+ key: string;
772
+ size: number;
773
+ createdAt: Date;
774
+ name: string;
775
+ stageName: string;
776
+ fileCount: number;
777
+ }[] | undefined;
778
+ }, {
779
+ workspace?: {
780
+ key: string;
781
+ size: number;
782
+ createdAt: Date;
783
+ } | null | undefined;
784
+ logs?: {
785
+ key: string;
786
+ size: number;
787
+ createdAt: Date;
788
+ } | null | undefined;
789
+ stages?: {
790
+ key: string;
791
+ size: number;
792
+ createdAt: Date;
793
+ name: string;
794
+ stageName: string;
795
+ fileCount: number;
796
+ }[] | undefined;
797
+ }>>>;
798
+ labels: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
799
+ }, "strip", z.ZodTypeAny, {
800
+ status: "pending" | "running" | "success" | "failed" | "cancelled";
801
+ createdAt: Date;
802
+ id: string;
803
+ repositoryId: string;
804
+ repo: string;
805
+ organizationId: string;
806
+ branch: string;
807
+ workerId: string | null;
808
+ exitCode: number | null;
809
+ errorMessage: string | null;
810
+ startedAt: Date | null;
811
+ finishedAt: Date | null;
812
+ commitSha: string | null;
813
+ gitlabEventType: string | null;
814
+ triggerSource: "webhook" | "ui" | "api" | "cli";
815
+ labels: Record<string, string>;
816
+ commands?: string[] | null | undefined;
817
+ workerName?: string | null | undefined;
818
+ artifacts?: {
819
+ workspace?: {
820
+ key: string;
821
+ size: number;
822
+ createdAt: Date;
823
+ } | null | undefined;
824
+ logs?: {
825
+ key: string;
826
+ size: number;
827
+ createdAt: Date;
828
+ } | null | undefined;
829
+ stages?: {
830
+ key: string;
831
+ size: number;
832
+ createdAt: Date;
833
+ name: string;
834
+ stageName: string;
835
+ fileCount: number;
836
+ }[] | undefined;
837
+ } | null | undefined;
838
+ }, {
839
+ status: "pending" | "running" | "success" | "failed" | "cancelled";
840
+ createdAt: Date;
841
+ id: string;
842
+ repositoryId: string;
843
+ repo: string;
844
+ organizationId: string;
845
+ workerId: string | null;
846
+ exitCode: number | null;
847
+ errorMessage: string | null;
848
+ startedAt: Date | null;
849
+ finishedAt: Date | null;
850
+ commitSha: string | null;
851
+ gitlabEventType: string | null;
852
+ branch?: string | undefined;
853
+ commands?: string[] | null | undefined;
854
+ workerName?: string | null | undefined;
855
+ triggerSource?: "webhook" | "ui" | "api" | "cli" | undefined;
856
+ artifacts?: {
857
+ workspace?: {
858
+ key: string;
859
+ size: number;
860
+ createdAt: Date;
861
+ } | null | undefined;
862
+ logs?: {
863
+ key: string;
864
+ size: number;
865
+ createdAt: Date;
866
+ } | null | undefined;
867
+ stages?: {
868
+ key: string;
869
+ size: number;
870
+ createdAt: Date;
871
+ name: string;
872
+ stageName: string;
873
+ fileCount: number;
874
+ }[] | undefined;
875
+ } | null | undefined;
876
+ labels?: Record<string, string> | undefined;
877
+ }>, "many">;
878
+ total: z.ZodNumber;
879
+ page: z.ZodNumber;
880
+ pageSize: z.ZodNumber;
881
+ }, "strip", z.ZodTypeAny, {
882
+ page: number;
883
+ pageSize: number;
884
+ items: {
885
+ status: "pending" | "running" | "success" | "failed" | "cancelled";
886
+ createdAt: Date;
887
+ id: string;
888
+ repositoryId: string;
889
+ repo: string;
890
+ organizationId: string;
891
+ branch: string;
892
+ workerId: string | null;
893
+ exitCode: number | null;
894
+ errorMessage: string | null;
895
+ startedAt: Date | null;
896
+ finishedAt: Date | null;
897
+ commitSha: string | null;
898
+ gitlabEventType: string | null;
899
+ triggerSource: "webhook" | "ui" | "api" | "cli";
900
+ labels: Record<string, string>;
901
+ commands?: string[] | null | undefined;
902
+ workerName?: string | null | undefined;
903
+ artifacts?: {
904
+ workspace?: {
905
+ key: string;
906
+ size: number;
907
+ createdAt: Date;
908
+ } | null | undefined;
909
+ logs?: {
910
+ key: string;
911
+ size: number;
912
+ createdAt: Date;
913
+ } | null | undefined;
914
+ stages?: {
915
+ key: string;
916
+ size: number;
917
+ createdAt: Date;
918
+ name: string;
919
+ stageName: string;
920
+ fileCount: number;
921
+ }[] | undefined;
922
+ } | null | undefined;
923
+ }[];
924
+ total: number;
925
+ }, {
926
+ page: number;
927
+ pageSize: number;
928
+ items: {
929
+ status: "pending" | "running" | "success" | "failed" | "cancelled";
930
+ createdAt: Date;
931
+ id: string;
932
+ repositoryId: string;
933
+ repo: string;
934
+ organizationId: string;
935
+ workerId: string | null;
936
+ exitCode: number | null;
937
+ errorMessage: string | null;
938
+ startedAt: Date | null;
939
+ finishedAt: Date | null;
940
+ commitSha: string | null;
941
+ gitlabEventType: string | null;
942
+ branch?: string | undefined;
943
+ commands?: string[] | null | undefined;
944
+ workerName?: string | null | undefined;
945
+ triggerSource?: "webhook" | "ui" | "api" | "cli" | undefined;
946
+ artifacts?: {
947
+ workspace?: {
948
+ key: string;
949
+ size: number;
950
+ createdAt: Date;
951
+ } | null | undefined;
952
+ logs?: {
953
+ key: string;
954
+ size: number;
955
+ createdAt: Date;
956
+ } | null | undefined;
957
+ stages?: {
958
+ key: string;
959
+ size: number;
960
+ createdAt: Date;
961
+ name: string;
962
+ stageName: string;
963
+ fileCount: number;
964
+ }[] | undefined;
965
+ } | null | undefined;
966
+ labels?: Record<string, string> | undefined;
967
+ }[];
968
+ total: number;
969
+ }>;
970
+ export type PaginatedBuilds = z.infer<typeof PaginatedBuildsSchema>;
971
+ export declare const PaginatedWorkspacesSchema: z.ZodObject<{
972
+ items: z.ZodArray<z.ZodObject<{
973
+ id: z.ZodString;
974
+ repo: z.ZodString;
975
+ branch: z.ZodString;
976
+ path: z.ZodString;
977
+ workerId: z.ZodString;
978
+ createdAt: z.ZodDate;
979
+ lastUsedAt: z.ZodDate;
980
+ }, "strip", z.ZodTypeAny, {
981
+ path: string;
982
+ createdAt: Date;
983
+ id: string;
984
+ repo: string;
985
+ branch: string;
986
+ workerId: string;
987
+ lastUsedAt: Date;
988
+ }, {
989
+ path: string;
990
+ createdAt: Date;
991
+ id: string;
992
+ repo: string;
993
+ branch: string;
994
+ workerId: string;
995
+ lastUsedAt: Date;
996
+ }>, "many">;
997
+ total: z.ZodNumber;
998
+ page: z.ZodNumber;
999
+ pageSize: z.ZodNumber;
1000
+ }, "strip", z.ZodTypeAny, {
1001
+ page: number;
1002
+ pageSize: number;
1003
+ items: {
1004
+ path: string;
1005
+ createdAt: Date;
1006
+ id: string;
1007
+ repo: string;
1008
+ branch: string;
1009
+ workerId: string;
1010
+ lastUsedAt: Date;
1011
+ }[];
1012
+ total: number;
1013
+ }, {
1014
+ page: number;
1015
+ pageSize: number;
1016
+ items: {
1017
+ path: string;
1018
+ createdAt: Date;
1019
+ id: string;
1020
+ repo: string;
1021
+ branch: string;
1022
+ workerId: string;
1023
+ lastUsedAt: Date;
1024
+ }[];
1025
+ total: number;
1026
+ }>;
1027
+ export type PaginatedWorkspaces = z.infer<typeof PaginatedWorkspacesSchema>;
1028
+ export declare const PaginatedOrganizationsSchema: z.ZodObject<{
1029
+ items: z.ZodArray<z.ZodObject<{
1030
+ id: z.ZodString;
1031
+ slug: z.ZodString;
1032
+ name: z.ZodString;
1033
+ createdAt: z.ZodDate;
1034
+ updatedAt: z.ZodDate;
1035
+ }, "strip", z.ZodTypeAny, {
1036
+ createdAt: Date;
1037
+ name: string;
1038
+ id: string;
1039
+ slug: string;
1040
+ updatedAt: Date;
1041
+ }, {
1042
+ createdAt: Date;
1043
+ name: string;
1044
+ id: string;
1045
+ slug: string;
1046
+ updatedAt: Date;
1047
+ }>, "many">;
1048
+ total: z.ZodNumber;
1049
+ page: z.ZodNumber;
1050
+ pageSize: z.ZodNumber;
1051
+ }, "strip", z.ZodTypeAny, {
1052
+ page: number;
1053
+ pageSize: number;
1054
+ items: {
1055
+ createdAt: Date;
1056
+ name: string;
1057
+ id: string;
1058
+ slug: string;
1059
+ updatedAt: Date;
1060
+ }[];
1061
+ total: number;
1062
+ }, {
1063
+ page: number;
1064
+ pageSize: number;
1065
+ items: {
1066
+ createdAt: Date;
1067
+ name: string;
1068
+ id: string;
1069
+ slug: string;
1070
+ updatedAt: Date;
1071
+ }[];
1072
+ total: number;
1073
+ }>;
1074
+ export type PaginatedOrganizations = z.infer<typeof PaginatedOrganizationsSchema>;
1075
+ export declare const PaginatedRepositoriesSchema: z.ZodObject<{
1076
+ items: z.ZodArray<z.ZodObject<{
1077
+ id: z.ZodString;
1078
+ organizationId: z.ZodString;
1079
+ provider: z.ZodEnum<["gitlab", "gitea", "github", "bitbucket"]>;
1080
+ providerRepoId: z.ZodString;
1081
+ name: z.ZodString;
1082
+ fullPath: z.ZodString;
1083
+ cloneUrl: z.ZodString;
1084
+ defaultBranch: z.ZodDefault<z.ZodString>;
1085
+ buildEnabled: z.ZodDefault<z.ZodBoolean>;
1086
+ gitlabWebhookId: z.ZodNullable<z.ZodNumber>;
1087
+ podTemplateId: z.ZodNullable<z.ZodString>;
1088
+ createdAt: z.ZodDate;
1089
+ updatedAt: z.ZodDate;
1090
+ }, "strip", z.ZodTypeAny, {
1091
+ createdAt: Date;
1092
+ name: string;
1093
+ id: string;
1094
+ organizationId: string;
1095
+ updatedAt: Date;
1096
+ defaultBranch: string;
1097
+ provider: "gitlab" | "gitea" | "github" | "bitbucket";
1098
+ providerRepoId: string;
1099
+ fullPath: string;
1100
+ cloneUrl: string;
1101
+ buildEnabled: boolean;
1102
+ gitlabWebhookId: number | null;
1103
+ podTemplateId: string | null;
1104
+ }, {
1105
+ createdAt: Date;
1106
+ name: string;
1107
+ id: string;
1108
+ organizationId: string;
1109
+ updatedAt: Date;
1110
+ provider: "gitlab" | "gitea" | "github" | "bitbucket";
1111
+ providerRepoId: string;
1112
+ fullPath: string;
1113
+ cloneUrl: string;
1114
+ gitlabWebhookId: number | null;
1115
+ podTemplateId: string | null;
1116
+ defaultBranch?: string | undefined;
1117
+ buildEnabled?: boolean | undefined;
1118
+ }>, "many">;
1119
+ total: z.ZodNumber;
1120
+ page: z.ZodNumber;
1121
+ pageSize: z.ZodNumber;
1122
+ }, "strip", z.ZodTypeAny, {
1123
+ page: number;
1124
+ pageSize: number;
1125
+ items: {
1126
+ createdAt: Date;
1127
+ name: string;
1128
+ id: string;
1129
+ organizationId: string;
1130
+ updatedAt: Date;
1131
+ defaultBranch: string;
1132
+ provider: "gitlab" | "gitea" | "github" | "bitbucket";
1133
+ providerRepoId: string;
1134
+ fullPath: string;
1135
+ cloneUrl: string;
1136
+ buildEnabled: boolean;
1137
+ gitlabWebhookId: number | null;
1138
+ podTemplateId: string | null;
1139
+ }[];
1140
+ total: number;
1141
+ }, {
1142
+ page: number;
1143
+ pageSize: number;
1144
+ items: {
1145
+ createdAt: Date;
1146
+ name: string;
1147
+ id: string;
1148
+ organizationId: string;
1149
+ updatedAt: Date;
1150
+ provider: "gitlab" | "gitea" | "github" | "bitbucket";
1151
+ providerRepoId: string;
1152
+ fullPath: string;
1153
+ cloneUrl: string;
1154
+ gitlabWebhookId: number | null;
1155
+ podTemplateId: string | null;
1156
+ defaultBranch?: string | undefined;
1157
+ buildEnabled?: boolean | undefined;
1158
+ }[];
1159
+ total: number;
1160
+ }>;
1161
+ export type PaginatedRepositories = z.infer<typeof PaginatedRepositoriesSchema>;
1162
+ export declare const OrgRoleSchema: z.ZodEnum<["admin", "developer", "member"]>;
1163
+ export type OrgRole = z.infer<typeof OrgRoleSchema>;
1164
+ export declare const WorkerRegistrationSchema: z.ZodObject<{
1165
+ hostname: z.ZodOptional<z.ZodString>;
1166
+ }, "strip", z.ZodTypeAny, {
1167
+ hostname?: string | undefined;
1168
+ }, {
1169
+ hostname?: string | undefined;
1170
+ }>;
1171
+ export type WorkerRegistration = z.infer<typeof WorkerRegistrationSchema>;
1172
+ export declare const WorkerConnectResponseSchema: z.ZodObject<{
1173
+ workerId: z.ZodString;
1174
+ }, "strip", z.ZodTypeAny, {
1175
+ workerId: string;
1176
+ }, {
1177
+ workerId: string;
1178
+ }>;
1179
+ export type WorkerConnectResponse = z.infer<typeof WorkerConnectResponseSchema>;
1180
+ export declare const WorkerHeartbeatSchema: z.ZodObject<{
1181
+ activeBuilds: z.ZodDefault<z.ZodNumber>;
1182
+ runningBuildIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1183
+ }, "strip", z.ZodTypeAny, {
1184
+ activeBuilds: number;
1185
+ runningBuildIds: string[];
1186
+ }, {
1187
+ activeBuilds?: number | undefined;
1188
+ runningBuildIds?: string[] | undefined;
1189
+ }>;
1190
+ export type WorkerHeartbeat = z.infer<typeof WorkerHeartbeatSchema>;
1191
+ export declare const RegistryAuthSchema: z.ZodObject<{
1192
+ registry: z.ZodString;
1193
+ username: z.ZodString;
1194
+ password: z.ZodString;
1195
+ image: z.ZodString;
1196
+ }, "strip", z.ZodTypeAny, {
1197
+ registry: string;
1198
+ username: string;
1199
+ password: string;
1200
+ image: string;
1201
+ }, {
1202
+ registry: string;
1203
+ username: string;
1204
+ password: string;
1205
+ image: string;
1206
+ }>;
1207
+ export type RegistryAuth = z.infer<typeof RegistryAuthSchema>;
1208
+ export declare const BuildJobSchema: z.ZodObject<{
1209
+ buildId: z.ZodString;
1210
+ repo: z.ZodString;
1211
+ branch: z.ZodString;
1212
+ registryAuth: z.ZodOptional<z.ZodObject<{
1213
+ registry: z.ZodString;
1214
+ username: z.ZodString;
1215
+ password: z.ZodString;
1216
+ image: z.ZodString;
1217
+ }, "strip", z.ZodTypeAny, {
1218
+ registry: string;
1219
+ username: string;
1220
+ password: string;
1221
+ image: string;
1222
+ }, {
1223
+ registry: string;
1224
+ username: string;
1225
+ password: string;
1226
+ image: string;
1227
+ }>>;
1228
+ }, "strip", z.ZodTypeAny, {
1229
+ repo: string;
1230
+ branch: string;
1231
+ buildId: string;
1232
+ registryAuth?: {
1233
+ registry: string;
1234
+ username: string;
1235
+ password: string;
1236
+ image: string;
1237
+ } | undefined;
1238
+ }, {
1239
+ repo: string;
1240
+ branch: string;
1241
+ buildId: string;
1242
+ registryAuth?: {
1243
+ registry: string;
1244
+ username: string;
1245
+ password: string;
1246
+ image: string;
1247
+ } | undefined;
1248
+ }>;
1249
+ export type BuildJob = z.infer<typeof BuildJobSchema>;
1250
+ export declare const HeartbeatResponseSchema: z.ZodObject<{
1251
+ job: z.ZodNullable<z.ZodObject<{
1252
+ buildId: z.ZodString;
1253
+ repo: z.ZodString;
1254
+ branch: z.ZodString;
1255
+ registryAuth: z.ZodOptional<z.ZodObject<{
1256
+ registry: z.ZodString;
1257
+ username: z.ZodString;
1258
+ password: z.ZodString;
1259
+ image: z.ZodString;
1260
+ }, "strip", z.ZodTypeAny, {
1261
+ registry: string;
1262
+ username: string;
1263
+ password: string;
1264
+ image: string;
1265
+ }, {
1266
+ registry: string;
1267
+ username: string;
1268
+ password: string;
1269
+ image: string;
1270
+ }>>;
1271
+ }, "strip", z.ZodTypeAny, {
1272
+ repo: string;
1273
+ branch: string;
1274
+ buildId: string;
1275
+ registryAuth?: {
1276
+ registry: string;
1277
+ username: string;
1278
+ password: string;
1279
+ image: string;
1280
+ } | undefined;
1281
+ }, {
1282
+ repo: string;
1283
+ branch: string;
1284
+ buildId: string;
1285
+ registryAuth?: {
1286
+ registry: string;
1287
+ username: string;
1288
+ password: string;
1289
+ image: string;
1290
+ } | undefined;
1291
+ }>>;
1292
+ cancelledBuildIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1293
+ }, "strip", z.ZodTypeAny, {
1294
+ job: {
1295
+ repo: string;
1296
+ branch: string;
1297
+ buildId: string;
1298
+ registryAuth?: {
1299
+ registry: string;
1300
+ username: string;
1301
+ password: string;
1302
+ image: string;
1303
+ } | undefined;
1304
+ } | null;
1305
+ cancelledBuildIds: string[];
1306
+ }, {
1307
+ job: {
1308
+ repo: string;
1309
+ branch: string;
1310
+ buildId: string;
1311
+ registryAuth?: {
1312
+ registry: string;
1313
+ username: string;
1314
+ password: string;
1315
+ image: string;
1316
+ } | undefined;
1317
+ } | null;
1318
+ cancelledBuildIds?: string[] | undefined;
1319
+ }>;
1320
+ export type HeartbeatResponse = z.infer<typeof HeartbeatResponseSchema>;
1321
+ export declare const BuildStatusUpdateSchema: z.ZodObject<{
1322
+ buildId: z.ZodString;
1323
+ status: z.ZodEnum<["pending", "running", "success", "failed", "cancelled"]>;
1324
+ exitCode: z.ZodOptional<z.ZodNumber>;
1325
+ errorMessage: z.ZodOptional<z.ZodString>;
1326
+ startedAt: z.ZodOptional<z.ZodDate>;
1327
+ finishedAt: z.ZodOptional<z.ZodDate>;
1328
+ }, "strip", z.ZodTypeAny, {
1329
+ status: "pending" | "running" | "success" | "failed" | "cancelled";
1330
+ buildId: string;
1331
+ exitCode?: number | undefined;
1332
+ errorMessage?: string | undefined;
1333
+ startedAt?: Date | undefined;
1334
+ finishedAt?: Date | undefined;
1335
+ }, {
1336
+ status: "pending" | "running" | "success" | "failed" | "cancelled";
1337
+ buildId: string;
1338
+ exitCode?: number | undefined;
1339
+ errorMessage?: string | undefined;
1340
+ startedAt?: Date | undefined;
1341
+ finishedAt?: Date | undefined;
1342
+ }>;
1343
+ export type BuildStatusUpdate = z.infer<typeof BuildStatusUpdateSchema>;
1344
+ export declare const LogLineSchema: z.ZodObject<{
1345
+ buildId: z.ZodString;
1346
+ timestamp: z.ZodDate;
1347
+ stream: z.ZodEnum<["stdout", "stderr"]>;
1348
+ line: z.ZodString;
1349
+ }, "strip", z.ZodTypeAny, {
1350
+ buildId: string;
1351
+ timestamp: Date;
1352
+ stream: "stdout" | "stderr";
1353
+ line: string;
1354
+ }, {
1355
+ buildId: string;
1356
+ timestamp: Date;
1357
+ stream: "stdout" | "stderr";
1358
+ line: string;
1359
+ }>;
1360
+ export type LogLine = z.infer<typeof LogLineSchema>;
1361
+ export declare const LogLinesSchema: z.ZodObject<{
1362
+ buildId: z.ZodString;
1363
+ lines: z.ZodArray<z.ZodObject<{
1364
+ timestamp: z.ZodDate;
1365
+ stream: z.ZodEnum<["stdout", "stderr"]>;
1366
+ line: z.ZodString;
1367
+ }, "strip", z.ZodTypeAny, {
1368
+ timestamp: Date;
1369
+ stream: "stdout" | "stderr";
1370
+ line: string;
1371
+ }, {
1372
+ timestamp: Date;
1373
+ stream: "stdout" | "stderr";
1374
+ line: string;
1375
+ }>, "many">;
1376
+ }, "strip", z.ZodTypeAny, {
1377
+ buildId: string;
1378
+ lines: {
1379
+ timestamp: Date;
1380
+ stream: "stdout" | "stderr";
1381
+ line: string;
1382
+ }[];
1383
+ }, {
1384
+ buildId: string;
1385
+ lines: {
1386
+ timestamp: Date;
1387
+ stream: "stdout" | "stderr";
1388
+ line: string;
1389
+ }[];
1390
+ }>;
1391
+ export type LogLines = z.infer<typeof LogLinesSchema>;
1392
+ export declare const WebSocketMessageTypeSchema: z.ZodEnum<["log", "logs", "status", "error", "subscribed", "unsubscribed", "history_start", "history_end", "ping", "pong"]>;
1393
+ export type WebSocketMessageType = z.infer<typeof WebSocketMessageTypeSchema>;
1394
+ export declare const WsLogPayloadSchema: z.ZodObject<{
1395
+ buildId: z.ZodString;
1396
+ timestamp: z.ZodDate;
1397
+ stream: z.ZodEnum<["stdout", "stderr"]>;
1398
+ line: z.ZodString;
1399
+ }, "strip", z.ZodTypeAny, {
1400
+ buildId: string;
1401
+ timestamp: Date;
1402
+ stream: "stdout" | "stderr";
1403
+ line: string;
1404
+ }, {
1405
+ buildId: string;
1406
+ timestamp: Date;
1407
+ stream: "stdout" | "stderr";
1408
+ line: string;
1409
+ }>;
1410
+ export type WsLogPayload = z.infer<typeof WsLogPayloadSchema>;
1411
+ export declare const WsLogsPayloadSchema: z.ZodObject<{
1412
+ logs: z.ZodArray<z.ZodObject<{
1413
+ buildId: z.ZodString;
1414
+ timestamp: z.ZodDate;
1415
+ stream: z.ZodEnum<["stdout", "stderr"]>;
1416
+ line: z.ZodString;
1417
+ }, "strip", z.ZodTypeAny, {
1418
+ buildId: string;
1419
+ timestamp: Date;
1420
+ stream: "stdout" | "stderr";
1421
+ line: string;
1422
+ }, {
1423
+ buildId: string;
1424
+ timestamp: Date;
1425
+ stream: "stdout" | "stderr";
1426
+ line: string;
1427
+ }>, "many">;
1428
+ }, "strip", z.ZodTypeAny, {
1429
+ logs: {
1430
+ buildId: string;
1431
+ timestamp: Date;
1432
+ stream: "stdout" | "stderr";
1433
+ line: string;
1434
+ }[];
1435
+ }, {
1436
+ logs: {
1437
+ buildId: string;
1438
+ timestamp: Date;
1439
+ stream: "stdout" | "stderr";
1440
+ line: string;
1441
+ }[];
1442
+ }>;
1443
+ export type WsLogsPayload = z.infer<typeof WsLogsPayloadSchema>;
1444
+ export declare const WsStatusPayloadSchema: z.ZodObject<{
1445
+ buildId: z.ZodString;
1446
+ status: z.ZodEnum<["pending", "running", "success", "failed", "cancelled"]>;
1447
+ }, "strip", z.ZodTypeAny, {
1448
+ status: "pending" | "running" | "success" | "failed" | "cancelled";
1449
+ buildId: string;
1450
+ }, {
1451
+ status: "pending" | "running" | "success" | "failed" | "cancelled";
1452
+ buildId: string;
1453
+ }>;
1454
+ export type WsStatusPayload = z.infer<typeof WsStatusPayloadSchema>;
1455
+ export declare const WsErrorPayloadSchema: z.ZodObject<{
1456
+ error: z.ZodString;
1457
+ }, "strip", z.ZodTypeAny, {
1458
+ error: string;
1459
+ }, {
1460
+ error: string;
1461
+ }>;
1462
+ export type WsErrorPayload = z.infer<typeof WsErrorPayloadSchema>;
1463
+ export declare const WsSubscribedPayloadSchema: z.ZodObject<{
1464
+ buildId: z.ZodString;
1465
+ }, "strip", z.ZodTypeAny, {
1466
+ buildId: string;
1467
+ }, {
1468
+ buildId: string;
1469
+ }>;
1470
+ export type WsSubscribedPayload = z.infer<typeof WsSubscribedPayloadSchema>;
1471
+ export declare const WsHistoryStartPayloadSchema: z.ZodObject<{
1472
+ buildId: z.ZodString;
1473
+ source: z.ZodEnum<["storage", "buffer"]>;
1474
+ }, "strip", z.ZodTypeAny, {
1475
+ buildId: string;
1476
+ source: "storage" | "buffer";
1477
+ }, {
1478
+ buildId: string;
1479
+ source: "storage" | "buffer";
1480
+ }>;
1481
+ export type WsHistoryStartPayload = z.infer<typeof WsHistoryStartPayloadSchema>;
1482
+ export declare const WsHistoryEndPayloadSchema: z.ZodObject<{
1483
+ buildId: z.ZodString;
1484
+ }, "strip", z.ZodTypeAny, {
1485
+ buildId: string;
1486
+ }, {
1487
+ buildId: string;
1488
+ }>;
1489
+ export type WsHistoryEndPayload = z.infer<typeof WsHistoryEndPayloadSchema>;
1490
+ export declare const WebSocketMessageSchema: z.ZodObject<{
1491
+ type: z.ZodEnum<["log", "logs", "status", "error", "subscribed", "unsubscribed", "history_start", "history_end", "ping", "pong"]>;
1492
+ payload: z.ZodOptional<z.ZodUnknown>;
1493
+ }, "strip", z.ZodTypeAny, {
1494
+ type: "status" | "logs" | "error" | "log" | "subscribed" | "unsubscribed" | "history_start" | "history_end" | "ping" | "pong";
1495
+ payload?: unknown;
1496
+ }, {
1497
+ type: "status" | "logs" | "error" | "log" | "subscribed" | "unsubscribed" | "history_start" | "history_end" | "ping" | "pong";
1498
+ payload?: unknown;
1499
+ }>;
1500
+ export type WebSocketMessage = z.infer<typeof WebSocketMessageSchema>;
1501
+ export declare const UserTokenSchema: z.ZodObject<{
1502
+ id: z.ZodString;
1503
+ userId: z.ZodString;
1504
+ name: z.ZodString;
1505
+ tokenPrefix: z.ZodString;
1506
+ expiresAt: z.ZodNullable<z.ZodDate>;
1507
+ lastUsedAt: z.ZodNullable<z.ZodDate>;
1508
+ createdAt: z.ZodDate;
1509
+ revokedAt: z.ZodNullable<z.ZodDate>;
1510
+ }, "strip", z.ZodTypeAny, {
1511
+ createdAt: Date;
1512
+ name: string;
1513
+ id: string;
1514
+ lastUsedAt: Date | null;
1515
+ userId: string;
1516
+ tokenPrefix: string;
1517
+ expiresAt: Date | null;
1518
+ revokedAt: Date | null;
1519
+ }, {
1520
+ createdAt: Date;
1521
+ name: string;
1522
+ id: string;
1523
+ lastUsedAt: Date | null;
1524
+ userId: string;
1525
+ tokenPrefix: string;
1526
+ expiresAt: Date | null;
1527
+ revokedAt: Date | null;
1528
+ }>;
1529
+ export type UserToken = z.infer<typeof UserTokenSchema>;
1530
+ export declare const UserTokenCreateSchema: z.ZodObject<{
1531
+ name: z.ZodString;
1532
+ expiresInDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1533
+ }, "strip", z.ZodTypeAny, {
1534
+ name: string;
1535
+ expiresInDays?: number | null | undefined;
1536
+ }, {
1537
+ name: string;
1538
+ expiresInDays?: number | null | undefined;
1539
+ }>;
1540
+ export type UserTokenCreate = z.infer<typeof UserTokenCreateSchema>;
1541
+ export declare const UserTokenCreatedSchema: z.ZodObject<{
1542
+ token: z.ZodObject<{
1543
+ id: z.ZodString;
1544
+ userId: z.ZodString;
1545
+ name: z.ZodString;
1546
+ tokenPrefix: z.ZodString;
1547
+ expiresAt: z.ZodNullable<z.ZodDate>;
1548
+ lastUsedAt: z.ZodNullable<z.ZodDate>;
1549
+ createdAt: z.ZodDate;
1550
+ revokedAt: z.ZodNullable<z.ZodDate>;
1551
+ }, "strip", z.ZodTypeAny, {
1552
+ createdAt: Date;
1553
+ name: string;
1554
+ id: string;
1555
+ lastUsedAt: Date | null;
1556
+ userId: string;
1557
+ tokenPrefix: string;
1558
+ expiresAt: Date | null;
1559
+ revokedAt: Date | null;
1560
+ }, {
1561
+ createdAt: Date;
1562
+ name: string;
1563
+ id: string;
1564
+ lastUsedAt: Date | null;
1565
+ userId: string;
1566
+ tokenPrefix: string;
1567
+ expiresAt: Date | null;
1568
+ revokedAt: Date | null;
1569
+ }>;
1570
+ rawToken: z.ZodString;
1571
+ }, "strip", z.ZodTypeAny, {
1572
+ token: {
1573
+ createdAt: Date;
1574
+ name: string;
1575
+ id: string;
1576
+ lastUsedAt: Date | null;
1577
+ userId: string;
1578
+ tokenPrefix: string;
1579
+ expiresAt: Date | null;
1580
+ revokedAt: Date | null;
1581
+ };
1582
+ rawToken: string;
1583
+ }, {
1584
+ token: {
1585
+ createdAt: Date;
1586
+ name: string;
1587
+ id: string;
1588
+ lastUsedAt: Date | null;
1589
+ userId: string;
1590
+ tokenPrefix: string;
1591
+ expiresAt: Date | null;
1592
+ revokedAt: Date | null;
1593
+ };
1594
+ rawToken: string;
1595
+ }>;
1596
+ export type UserTokenCreated = z.infer<typeof UserTokenCreatedSchema>;
1597
+ export declare const PaginatedUserTokensSchema: z.ZodObject<{
1598
+ items: z.ZodArray<z.ZodObject<{
1599
+ id: z.ZodString;
1600
+ userId: z.ZodString;
1601
+ name: z.ZodString;
1602
+ tokenPrefix: z.ZodString;
1603
+ expiresAt: z.ZodNullable<z.ZodDate>;
1604
+ lastUsedAt: z.ZodNullable<z.ZodDate>;
1605
+ createdAt: z.ZodDate;
1606
+ revokedAt: z.ZodNullable<z.ZodDate>;
1607
+ }, "strip", z.ZodTypeAny, {
1608
+ createdAt: Date;
1609
+ name: string;
1610
+ id: string;
1611
+ lastUsedAt: Date | null;
1612
+ userId: string;
1613
+ tokenPrefix: string;
1614
+ expiresAt: Date | null;
1615
+ revokedAt: Date | null;
1616
+ }, {
1617
+ createdAt: Date;
1618
+ name: string;
1619
+ id: string;
1620
+ lastUsedAt: Date | null;
1621
+ userId: string;
1622
+ tokenPrefix: string;
1623
+ expiresAt: Date | null;
1624
+ revokedAt: Date | null;
1625
+ }>, "many">;
1626
+ total: z.ZodNumber;
1627
+ page: z.ZodNumber;
1628
+ pageSize: z.ZodNumber;
1629
+ }, "strip", z.ZodTypeAny, {
1630
+ page: number;
1631
+ pageSize: number;
1632
+ items: {
1633
+ createdAt: Date;
1634
+ name: string;
1635
+ id: string;
1636
+ lastUsedAt: Date | null;
1637
+ userId: string;
1638
+ tokenPrefix: string;
1639
+ expiresAt: Date | null;
1640
+ revokedAt: Date | null;
1641
+ }[];
1642
+ total: number;
1643
+ }, {
1644
+ page: number;
1645
+ pageSize: number;
1646
+ items: {
1647
+ createdAt: Date;
1648
+ name: string;
1649
+ id: string;
1650
+ lastUsedAt: Date | null;
1651
+ userId: string;
1652
+ tokenPrefix: string;
1653
+ expiresAt: Date | null;
1654
+ revokedAt: Date | null;
1655
+ }[];
1656
+ total: number;
1657
+ }>;
1658
+ export type PaginatedUserTokens = z.infer<typeof PaginatedUserTokensSchema>;
1659
+ export declare const ArtifactTypeSchema: z.ZodEnum<["workspace", "logs", "stage"]>;
1660
+ export type ArtifactType = z.infer<typeof ArtifactTypeSchema>;
1661
+ export declare const ArtifactUploadUrlRequestSchema: z.ZodObject<{
1662
+ artifactType: z.ZodEnum<["workspace", "logs", "stage"]>;
1663
+ stageName: z.ZodOptional<z.ZodString>;
1664
+ artifactName: z.ZodOptional<z.ZodString>;
1665
+ }, "strip", z.ZodTypeAny, {
1666
+ artifactType: "workspace" | "logs" | "stage";
1667
+ stageName?: string | undefined;
1668
+ artifactName?: string | undefined;
1669
+ }, {
1670
+ artifactType: "workspace" | "logs" | "stage";
1671
+ stageName?: string | undefined;
1672
+ artifactName?: string | undefined;
1673
+ }>;
1674
+ export type ArtifactUploadUrlRequest = z.infer<typeof ArtifactUploadUrlRequestSchema>;
1675
+ export declare const ArtifactUploadUrlResponseSchema: z.ZodObject<{
1676
+ uploadUrl: z.ZodString;
1677
+ key: z.ZodString;
1678
+ }, "strip", z.ZodTypeAny, {
1679
+ key: string;
1680
+ uploadUrl: string;
1681
+ }, {
1682
+ key: string;
1683
+ uploadUrl: string;
1684
+ }>;
1685
+ export type ArtifactUploadUrlResponse = z.infer<typeof ArtifactUploadUrlResponseSchema>;
1686
+ export declare const ArtifactInfoSchema: z.ZodObject<{
1687
+ key: z.ZodString;
1688
+ size: z.ZodNumber;
1689
+ createdAt: z.ZodDate;
1690
+ }, "strip", z.ZodTypeAny, {
1691
+ key: string;
1692
+ size: number;
1693
+ createdAt: Date;
1694
+ }, {
1695
+ key: string;
1696
+ size: number;
1697
+ createdAt: Date;
1698
+ }>;
1699
+ export type ArtifactInfo = z.infer<typeof ArtifactInfoSchema>;
1700
+ export declare const StageArtifactDefinitionSchema: z.ZodObject<{
1701
+ name: z.ZodString;
1702
+ globs: z.ZodArray<z.ZodString, "many">;
1703
+ }, "strip", z.ZodTypeAny, {
1704
+ name: string;
1705
+ globs: string[];
1706
+ }, {
1707
+ name: string;
1708
+ globs: string[];
1709
+ }>;
1710
+ export type StageArtifactDefinition = z.infer<typeof StageArtifactDefinitionSchema>;
1711
+ export declare const StageArtifactInfoSchema: z.ZodObject<{
1712
+ name: z.ZodString;
1713
+ stageName: z.ZodString;
1714
+ key: z.ZodString;
1715
+ size: z.ZodNumber;
1716
+ fileCount: z.ZodNumber;
1717
+ createdAt: z.ZodDate;
1718
+ }, "strip", z.ZodTypeAny, {
1719
+ key: string;
1720
+ size: number;
1721
+ createdAt: Date;
1722
+ name: string;
1723
+ stageName: string;
1724
+ fileCount: number;
1725
+ }, {
1726
+ key: string;
1727
+ size: number;
1728
+ createdAt: Date;
1729
+ name: string;
1730
+ stageName: string;
1731
+ fileCount: number;
1732
+ }>;
1733
+ export type StageArtifactInfo = z.infer<typeof StageArtifactInfoSchema>;
1734
+ export declare const ArtifactConfirmRequestSchema: z.ZodObject<{
1735
+ workspace: z.ZodOptional<z.ZodObject<{
1736
+ key: z.ZodString;
1737
+ size: z.ZodNumber;
1738
+ createdAt: z.ZodDate;
1739
+ }, "strip", z.ZodTypeAny, {
1740
+ key: string;
1741
+ size: number;
1742
+ createdAt: Date;
1743
+ }, {
1744
+ key: string;
1745
+ size: number;
1746
+ createdAt: Date;
1747
+ }>>;
1748
+ logs: z.ZodOptional<z.ZodObject<{
1749
+ key: z.ZodString;
1750
+ size: z.ZodNumber;
1751
+ createdAt: z.ZodDate;
1752
+ }, "strip", z.ZodTypeAny, {
1753
+ key: string;
1754
+ size: number;
1755
+ createdAt: Date;
1756
+ }, {
1757
+ key: string;
1758
+ size: number;
1759
+ createdAt: Date;
1760
+ }>>;
1761
+ stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1762
+ name: z.ZodString;
1763
+ stageName: z.ZodString;
1764
+ key: z.ZodString;
1765
+ size: z.ZodNumber;
1766
+ fileCount: z.ZodNumber;
1767
+ createdAt: z.ZodDate;
1768
+ }, "strip", z.ZodTypeAny, {
1769
+ key: string;
1770
+ size: number;
1771
+ createdAt: Date;
1772
+ name: string;
1773
+ stageName: string;
1774
+ fileCount: number;
1775
+ }, {
1776
+ key: string;
1777
+ size: number;
1778
+ createdAt: Date;
1779
+ name: string;
1780
+ stageName: string;
1781
+ fileCount: number;
1782
+ }>, "many">>;
1783
+ }, "strip", z.ZodTypeAny, {
1784
+ workspace?: {
1785
+ key: string;
1786
+ size: number;
1787
+ createdAt: Date;
1788
+ } | undefined;
1789
+ logs?: {
1790
+ key: string;
1791
+ size: number;
1792
+ createdAt: Date;
1793
+ } | undefined;
1794
+ stages?: {
1795
+ key: string;
1796
+ size: number;
1797
+ createdAt: Date;
1798
+ name: string;
1799
+ stageName: string;
1800
+ fileCount: number;
1801
+ }[] | undefined;
1802
+ }, {
1803
+ workspace?: {
1804
+ key: string;
1805
+ size: number;
1806
+ createdAt: Date;
1807
+ } | undefined;
1808
+ logs?: {
1809
+ key: string;
1810
+ size: number;
1811
+ createdAt: Date;
1812
+ } | undefined;
1813
+ stages?: {
1814
+ key: string;
1815
+ size: number;
1816
+ createdAt: Date;
1817
+ name: string;
1818
+ stageName: string;
1819
+ fileCount: number;
1820
+ }[] | undefined;
1821
+ }>;
1822
+ export type ArtifactConfirmRequest = z.infer<typeof ArtifactConfirmRequestSchema>;
1823
+ export declare const BuildArtifactsSchema: z.ZodObject<{
1824
+ workspace: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1825
+ key: z.ZodString;
1826
+ size: z.ZodNumber;
1827
+ createdAt: z.ZodDate;
1828
+ }, "strip", z.ZodTypeAny, {
1829
+ key: string;
1830
+ size: number;
1831
+ createdAt: Date;
1832
+ }, {
1833
+ key: string;
1834
+ size: number;
1835
+ createdAt: Date;
1836
+ }>>>;
1837
+ logs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1838
+ key: z.ZodString;
1839
+ size: z.ZodNumber;
1840
+ createdAt: z.ZodDate;
1841
+ }, "strip", z.ZodTypeAny, {
1842
+ key: string;
1843
+ size: number;
1844
+ createdAt: Date;
1845
+ }, {
1846
+ key: string;
1847
+ size: number;
1848
+ createdAt: Date;
1849
+ }>>>;
1850
+ stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1851
+ name: z.ZodString;
1852
+ stageName: z.ZodString;
1853
+ key: z.ZodString;
1854
+ size: z.ZodNumber;
1855
+ fileCount: z.ZodNumber;
1856
+ createdAt: z.ZodDate;
1857
+ }, "strip", z.ZodTypeAny, {
1858
+ key: string;
1859
+ size: number;
1860
+ createdAt: Date;
1861
+ name: string;
1862
+ stageName: string;
1863
+ fileCount: number;
1864
+ }, {
1865
+ key: string;
1866
+ size: number;
1867
+ createdAt: Date;
1868
+ name: string;
1869
+ stageName: string;
1870
+ fileCount: number;
1871
+ }>, "many">>;
1872
+ }, "strip", z.ZodTypeAny, {
1873
+ workspace?: {
1874
+ key: string;
1875
+ size: number;
1876
+ createdAt: Date;
1877
+ } | null | undefined;
1878
+ logs?: {
1879
+ key: string;
1880
+ size: number;
1881
+ createdAt: Date;
1882
+ } | null | undefined;
1883
+ stages?: {
1884
+ key: string;
1885
+ size: number;
1886
+ createdAt: Date;
1887
+ name: string;
1888
+ stageName: string;
1889
+ fileCount: number;
1890
+ }[] | undefined;
1891
+ }, {
1892
+ workspace?: {
1893
+ key: string;
1894
+ size: number;
1895
+ createdAt: Date;
1896
+ } | null | undefined;
1897
+ logs?: {
1898
+ key: string;
1899
+ size: number;
1900
+ createdAt: Date;
1901
+ } | null | undefined;
1902
+ stages?: {
1903
+ key: string;
1904
+ size: number;
1905
+ createdAt: Date;
1906
+ name: string;
1907
+ stageName: string;
1908
+ fileCount: number;
1909
+ }[] | undefined;
1910
+ }>;
1911
+ export type BuildArtifacts = z.infer<typeof BuildArtifactsSchema>;
1912
+ export declare const TolerationSchema: z.ZodObject<{
1913
+ key: z.ZodOptional<z.ZodString>;
1914
+ operator: z.ZodOptional<z.ZodEnum<["Exists", "Equal"]>>;
1915
+ value: z.ZodOptional<z.ZodString>;
1916
+ effect: z.ZodOptional<z.ZodEnum<["NoSchedule", "PreferNoSchedule", "NoExecute"]>>;
1917
+ tolerationSeconds: z.ZodOptional<z.ZodNumber>;
1918
+ }, "strip", z.ZodTypeAny, {
1919
+ value?: string | undefined;
1920
+ key?: string | undefined;
1921
+ operator?: "Exists" | "Equal" | undefined;
1922
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
1923
+ tolerationSeconds?: number | undefined;
1924
+ }, {
1925
+ value?: string | undefined;
1926
+ key?: string | undefined;
1927
+ operator?: "Exists" | "Equal" | undefined;
1928
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
1929
+ tolerationSeconds?: number | undefined;
1930
+ }>;
1931
+ export type Toleration = z.infer<typeof TolerationSchema>;
1932
+ export declare const VolumeSchema: z.ZodObject<{
1933
+ name: z.ZodString;
1934
+ persistentVolumeClaim: z.ZodOptional<z.ZodObject<{
1935
+ claimName: z.ZodString;
1936
+ readOnly: z.ZodOptional<z.ZodBoolean>;
1937
+ }, "strip", z.ZodTypeAny, {
1938
+ claimName: string;
1939
+ readOnly?: boolean | undefined;
1940
+ }, {
1941
+ claimName: string;
1942
+ readOnly?: boolean | undefined;
1943
+ }>>;
1944
+ secret: z.ZodOptional<z.ZodObject<{
1945
+ secretName: z.ZodString;
1946
+ }, "strip", z.ZodTypeAny, {
1947
+ secretName: string;
1948
+ }, {
1949
+ secretName: string;
1950
+ }>>;
1951
+ configMap: z.ZodOptional<z.ZodObject<{
1952
+ name: z.ZodString;
1953
+ }, "strip", z.ZodTypeAny, {
1954
+ name: string;
1955
+ }, {
1956
+ name: string;
1957
+ }>>;
1958
+ emptyDir: z.ZodOptional<z.ZodObject<{
1959
+ medium: z.ZodOptional<z.ZodString>;
1960
+ sizeLimit: z.ZodOptional<z.ZodString>;
1961
+ }, "strip", z.ZodTypeAny, {
1962
+ medium?: string | undefined;
1963
+ sizeLimit?: string | undefined;
1964
+ }, {
1965
+ medium?: string | undefined;
1966
+ sizeLimit?: string | undefined;
1967
+ }>>;
1968
+ }, "strip", z.ZodTypeAny, {
1969
+ name: string;
1970
+ persistentVolumeClaim?: {
1971
+ claimName: string;
1972
+ readOnly?: boolean | undefined;
1973
+ } | undefined;
1974
+ secret?: {
1975
+ secretName: string;
1976
+ } | undefined;
1977
+ configMap?: {
1978
+ name: string;
1979
+ } | undefined;
1980
+ emptyDir?: {
1981
+ medium?: string | undefined;
1982
+ sizeLimit?: string | undefined;
1983
+ } | undefined;
1984
+ }, {
1985
+ name: string;
1986
+ persistentVolumeClaim?: {
1987
+ claimName: string;
1988
+ readOnly?: boolean | undefined;
1989
+ } | undefined;
1990
+ secret?: {
1991
+ secretName: string;
1992
+ } | undefined;
1993
+ configMap?: {
1994
+ name: string;
1995
+ } | undefined;
1996
+ emptyDir?: {
1997
+ medium?: string | undefined;
1998
+ sizeLimit?: string | undefined;
1999
+ } | undefined;
2000
+ }>;
2001
+ export type Volume = z.infer<typeof VolumeSchema>;
2002
+ export declare const VolumeMountSchema: z.ZodObject<{
2003
+ name: z.ZodString;
2004
+ mountPath: z.ZodString;
2005
+ readOnly: z.ZodOptional<z.ZodBoolean>;
2006
+ subPath: z.ZodOptional<z.ZodString>;
2007
+ }, "strip", z.ZodTypeAny, {
2008
+ name: string;
2009
+ mountPath: string;
2010
+ readOnly?: boolean | undefined;
2011
+ subPath?: string | undefined;
2012
+ }, {
2013
+ name: string;
2014
+ mountPath: string;
2015
+ readOnly?: boolean | undefined;
2016
+ subPath?: string | undefined;
2017
+ }>;
2018
+ export type VolumeMount = z.infer<typeof VolumeMountSchema>;
2019
+ export declare const EnvVarSchema: z.ZodObject<{
2020
+ name: z.ZodString;
2021
+ value: z.ZodOptional<z.ZodString>;
2022
+ valueFrom: z.ZodOptional<z.ZodObject<{
2023
+ secretKeyRef: z.ZodOptional<z.ZodObject<{
2024
+ name: z.ZodString;
2025
+ key: z.ZodString;
2026
+ }, "strip", z.ZodTypeAny, {
2027
+ key: string;
2028
+ name: string;
2029
+ }, {
2030
+ key: string;
2031
+ name: string;
2032
+ }>>;
2033
+ configMapKeyRef: z.ZodOptional<z.ZodObject<{
2034
+ name: z.ZodString;
2035
+ key: z.ZodString;
2036
+ }, "strip", z.ZodTypeAny, {
2037
+ key: string;
2038
+ name: string;
2039
+ }, {
2040
+ key: string;
2041
+ name: string;
2042
+ }>>;
2043
+ }, "strip", z.ZodTypeAny, {
2044
+ secretKeyRef?: {
2045
+ key: string;
2046
+ name: string;
2047
+ } | undefined;
2048
+ configMapKeyRef?: {
2049
+ key: string;
2050
+ name: string;
2051
+ } | undefined;
2052
+ }, {
2053
+ secretKeyRef?: {
2054
+ key: string;
2055
+ name: string;
2056
+ } | undefined;
2057
+ configMapKeyRef?: {
2058
+ key: string;
2059
+ name: string;
2060
+ } | undefined;
2061
+ }>>;
2062
+ }, "strip", z.ZodTypeAny, {
2063
+ name: string;
2064
+ value?: string | undefined;
2065
+ valueFrom?: {
2066
+ secretKeyRef?: {
2067
+ key: string;
2068
+ name: string;
2069
+ } | undefined;
2070
+ configMapKeyRef?: {
2071
+ key: string;
2072
+ name: string;
2073
+ } | undefined;
2074
+ } | undefined;
2075
+ }, {
2076
+ name: string;
2077
+ value?: string | undefined;
2078
+ valueFrom?: {
2079
+ secretKeyRef?: {
2080
+ key: string;
2081
+ name: string;
2082
+ } | undefined;
2083
+ configMapKeyRef?: {
2084
+ key: string;
2085
+ name: string;
2086
+ } | undefined;
2087
+ } | undefined;
2088
+ }>;
2089
+ export type EnvVar = z.infer<typeof EnvVarSchema>;
2090
+ export declare const EnvFromSchema: z.ZodObject<{
2091
+ secretRef: z.ZodOptional<z.ZodObject<{
2092
+ name: z.ZodString;
2093
+ }, "strip", z.ZodTypeAny, {
2094
+ name: string;
2095
+ }, {
2096
+ name: string;
2097
+ }>>;
2098
+ configMapRef: z.ZodOptional<z.ZodObject<{
2099
+ name: z.ZodString;
2100
+ }, "strip", z.ZodTypeAny, {
2101
+ name: string;
2102
+ }, {
2103
+ name: string;
2104
+ }>>;
2105
+ prefix: z.ZodOptional<z.ZodString>;
2106
+ }, "strip", z.ZodTypeAny, {
2107
+ secretRef?: {
2108
+ name: string;
2109
+ } | undefined;
2110
+ configMapRef?: {
2111
+ name: string;
2112
+ } | undefined;
2113
+ prefix?: string | undefined;
2114
+ }, {
2115
+ secretRef?: {
2116
+ name: string;
2117
+ } | undefined;
2118
+ configMapRef?: {
2119
+ name: string;
2120
+ } | undefined;
2121
+ prefix?: string | undefined;
2122
+ }>;
2123
+ export type EnvFrom = z.infer<typeof EnvFromSchema>;
2124
+ export declare const SecurityContextSchema: z.ZodObject<{
2125
+ runAsUser: z.ZodOptional<z.ZodNumber>;
2126
+ runAsGroup: z.ZodOptional<z.ZodNumber>;
2127
+ runAsNonRoot: z.ZodOptional<z.ZodBoolean>;
2128
+ fsGroup: z.ZodOptional<z.ZodNumber>;
2129
+ }, "strip", z.ZodTypeAny, {
2130
+ runAsUser?: number | undefined;
2131
+ runAsGroup?: number | undefined;
2132
+ runAsNonRoot?: boolean | undefined;
2133
+ fsGroup?: number | undefined;
2134
+ }, {
2135
+ runAsUser?: number | undefined;
2136
+ runAsGroup?: number | undefined;
2137
+ runAsNonRoot?: boolean | undefined;
2138
+ fsGroup?: number | undefined;
2139
+ }>;
2140
+ export type SecurityContext = z.infer<typeof SecurityContextSchema>;
2141
+ export declare const DindConfigSchema: z.ZodObject<{
2142
+ enabled: z.ZodDefault<z.ZodBoolean>;
2143
+ image: z.ZodOptional<z.ZodString>;
2144
+ dns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2145
+ dnsSearch: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2146
+ resources: z.ZodOptional<z.ZodObject<{
2147
+ requests: z.ZodOptional<z.ZodObject<{
2148
+ cpu: z.ZodOptional<z.ZodString>;
2149
+ memory: z.ZodOptional<z.ZodString>;
2150
+ }, "strip", z.ZodTypeAny, {
2151
+ cpu?: string | undefined;
2152
+ memory?: string | undefined;
2153
+ }, {
2154
+ cpu?: string | undefined;
2155
+ memory?: string | undefined;
2156
+ }>>;
2157
+ limits: z.ZodOptional<z.ZodObject<{
2158
+ cpu: z.ZodOptional<z.ZodString>;
2159
+ memory: z.ZodOptional<z.ZodString>;
2160
+ }, "strip", z.ZodTypeAny, {
2161
+ cpu?: string | undefined;
2162
+ memory?: string | undefined;
2163
+ }, {
2164
+ cpu?: string | undefined;
2165
+ memory?: string | undefined;
2166
+ }>>;
2167
+ }, "strip", z.ZodTypeAny, {
2168
+ requests?: {
2169
+ cpu?: string | undefined;
2170
+ memory?: string | undefined;
2171
+ } | undefined;
2172
+ limits?: {
2173
+ cpu?: string | undefined;
2174
+ memory?: string | undefined;
2175
+ } | undefined;
2176
+ }, {
2177
+ requests?: {
2178
+ cpu?: string | undefined;
2179
+ memory?: string | undefined;
2180
+ } | undefined;
2181
+ limits?: {
2182
+ cpu?: string | undefined;
2183
+ memory?: string | undefined;
2184
+ } | undefined;
2185
+ }>>;
2186
+ }, "strip", z.ZodTypeAny, {
2187
+ enabled: boolean;
2188
+ image?: string | undefined;
2189
+ dns?: string[] | undefined;
2190
+ dnsSearch?: string[] | undefined;
2191
+ resources?: {
2192
+ requests?: {
2193
+ cpu?: string | undefined;
2194
+ memory?: string | undefined;
2195
+ } | undefined;
2196
+ limits?: {
2197
+ cpu?: string | undefined;
2198
+ memory?: string | undefined;
2199
+ } | undefined;
2200
+ } | undefined;
2201
+ }, {
2202
+ enabled?: boolean | undefined;
2203
+ image?: string | undefined;
2204
+ dns?: string[] | undefined;
2205
+ dnsSearch?: string[] | undefined;
2206
+ resources?: {
2207
+ requests?: {
2208
+ cpu?: string | undefined;
2209
+ memory?: string | undefined;
2210
+ } | undefined;
2211
+ limits?: {
2212
+ cpu?: string | undefined;
2213
+ memory?: string | undefined;
2214
+ } | undefined;
2215
+ } | undefined;
2216
+ }>;
2217
+ export type DindConfig = z.infer<typeof DindConfigSchema>;
2218
+ export declare const PodTemplateSpecSchema: z.ZodObject<{
2219
+ image: z.ZodOptional<z.ZodString>;
2220
+ imagePullPolicy: z.ZodOptional<z.ZodEnum<["Always", "IfNotPresent", "Never"]>>;
2221
+ imagePullSecrets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2222
+ resources: z.ZodOptional<z.ZodObject<{
2223
+ requests: z.ZodOptional<z.ZodObject<{
2224
+ cpu: z.ZodOptional<z.ZodString>;
2225
+ memory: z.ZodOptional<z.ZodString>;
2226
+ }, "strip", z.ZodTypeAny, {
2227
+ cpu?: string | undefined;
2228
+ memory?: string | undefined;
2229
+ }, {
2230
+ cpu?: string | undefined;
2231
+ memory?: string | undefined;
2232
+ }>>;
2233
+ limits: z.ZodOptional<z.ZodObject<{
2234
+ cpu: z.ZodOptional<z.ZodString>;
2235
+ memory: z.ZodOptional<z.ZodString>;
2236
+ }, "strip", z.ZodTypeAny, {
2237
+ cpu?: string | undefined;
2238
+ memory?: string | undefined;
2239
+ }, {
2240
+ cpu?: string | undefined;
2241
+ memory?: string | undefined;
2242
+ }>>;
2243
+ }, "strip", z.ZodTypeAny, {
2244
+ requests?: {
2245
+ cpu?: string | undefined;
2246
+ memory?: string | undefined;
2247
+ } | undefined;
2248
+ limits?: {
2249
+ cpu?: string | undefined;
2250
+ memory?: string | undefined;
2251
+ } | undefined;
2252
+ }, {
2253
+ requests?: {
2254
+ cpu?: string | undefined;
2255
+ memory?: string | undefined;
2256
+ } | undefined;
2257
+ limits?: {
2258
+ cpu?: string | undefined;
2259
+ memory?: string | undefined;
2260
+ } | undefined;
2261
+ }>>;
2262
+ nodeSelector: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2263
+ tolerations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2264
+ key: z.ZodOptional<z.ZodString>;
2265
+ operator: z.ZodOptional<z.ZodEnum<["Exists", "Equal"]>>;
2266
+ value: z.ZodOptional<z.ZodString>;
2267
+ effect: z.ZodOptional<z.ZodEnum<["NoSchedule", "PreferNoSchedule", "NoExecute"]>>;
2268
+ tolerationSeconds: z.ZodOptional<z.ZodNumber>;
2269
+ }, "strip", z.ZodTypeAny, {
2270
+ value?: string | undefined;
2271
+ key?: string | undefined;
2272
+ operator?: "Exists" | "Equal" | undefined;
2273
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
2274
+ tolerationSeconds?: number | undefined;
2275
+ }, {
2276
+ value?: string | undefined;
2277
+ key?: string | undefined;
2278
+ operator?: "Exists" | "Equal" | undefined;
2279
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
2280
+ tolerationSeconds?: number | undefined;
2281
+ }>, "many">>;
2282
+ serviceAccountName: z.ZodOptional<z.ZodString>;
2283
+ securityContext: z.ZodOptional<z.ZodObject<{
2284
+ runAsUser: z.ZodOptional<z.ZodNumber>;
2285
+ runAsGroup: z.ZodOptional<z.ZodNumber>;
2286
+ runAsNonRoot: z.ZodOptional<z.ZodBoolean>;
2287
+ fsGroup: z.ZodOptional<z.ZodNumber>;
2288
+ }, "strip", z.ZodTypeAny, {
2289
+ runAsUser?: number | undefined;
2290
+ runAsGroup?: number | undefined;
2291
+ runAsNonRoot?: boolean | undefined;
2292
+ fsGroup?: number | undefined;
2293
+ }, {
2294
+ runAsUser?: number | undefined;
2295
+ runAsGroup?: number | undefined;
2296
+ runAsNonRoot?: boolean | undefined;
2297
+ fsGroup?: number | undefined;
2298
+ }>>;
2299
+ volumes: z.ZodOptional<z.ZodArray<z.ZodObject<{
2300
+ name: z.ZodString;
2301
+ persistentVolumeClaim: z.ZodOptional<z.ZodObject<{
2302
+ claimName: z.ZodString;
2303
+ readOnly: z.ZodOptional<z.ZodBoolean>;
2304
+ }, "strip", z.ZodTypeAny, {
2305
+ claimName: string;
2306
+ readOnly?: boolean | undefined;
2307
+ }, {
2308
+ claimName: string;
2309
+ readOnly?: boolean | undefined;
2310
+ }>>;
2311
+ secret: z.ZodOptional<z.ZodObject<{
2312
+ secretName: z.ZodString;
2313
+ }, "strip", z.ZodTypeAny, {
2314
+ secretName: string;
2315
+ }, {
2316
+ secretName: string;
2317
+ }>>;
2318
+ configMap: z.ZodOptional<z.ZodObject<{
2319
+ name: z.ZodString;
2320
+ }, "strip", z.ZodTypeAny, {
2321
+ name: string;
2322
+ }, {
2323
+ name: string;
2324
+ }>>;
2325
+ emptyDir: z.ZodOptional<z.ZodObject<{
2326
+ medium: z.ZodOptional<z.ZodString>;
2327
+ sizeLimit: z.ZodOptional<z.ZodString>;
2328
+ }, "strip", z.ZodTypeAny, {
2329
+ medium?: string | undefined;
2330
+ sizeLimit?: string | undefined;
2331
+ }, {
2332
+ medium?: string | undefined;
2333
+ sizeLimit?: string | undefined;
2334
+ }>>;
2335
+ }, "strip", z.ZodTypeAny, {
2336
+ name: string;
2337
+ persistentVolumeClaim?: {
2338
+ claimName: string;
2339
+ readOnly?: boolean | undefined;
2340
+ } | undefined;
2341
+ secret?: {
2342
+ secretName: string;
2343
+ } | undefined;
2344
+ configMap?: {
2345
+ name: string;
2346
+ } | undefined;
2347
+ emptyDir?: {
2348
+ medium?: string | undefined;
2349
+ sizeLimit?: string | undefined;
2350
+ } | undefined;
2351
+ }, {
2352
+ name: string;
2353
+ persistentVolumeClaim?: {
2354
+ claimName: string;
2355
+ readOnly?: boolean | undefined;
2356
+ } | undefined;
2357
+ secret?: {
2358
+ secretName: string;
2359
+ } | undefined;
2360
+ configMap?: {
2361
+ name: string;
2362
+ } | undefined;
2363
+ emptyDir?: {
2364
+ medium?: string | undefined;
2365
+ sizeLimit?: string | undefined;
2366
+ } | undefined;
2367
+ }>, "many">>;
2368
+ volumeMounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2369
+ name: z.ZodString;
2370
+ mountPath: z.ZodString;
2371
+ readOnly: z.ZodOptional<z.ZodBoolean>;
2372
+ subPath: z.ZodOptional<z.ZodString>;
2373
+ }, "strip", z.ZodTypeAny, {
2374
+ name: string;
2375
+ mountPath: string;
2376
+ readOnly?: boolean | undefined;
2377
+ subPath?: string | undefined;
2378
+ }, {
2379
+ name: string;
2380
+ mountPath: string;
2381
+ readOnly?: boolean | undefined;
2382
+ subPath?: string | undefined;
2383
+ }>, "many">>;
2384
+ env: z.ZodOptional<z.ZodArray<z.ZodObject<{
2385
+ name: z.ZodString;
2386
+ value: z.ZodOptional<z.ZodString>;
2387
+ valueFrom: z.ZodOptional<z.ZodObject<{
2388
+ secretKeyRef: z.ZodOptional<z.ZodObject<{
2389
+ name: z.ZodString;
2390
+ key: z.ZodString;
2391
+ }, "strip", z.ZodTypeAny, {
2392
+ key: string;
2393
+ name: string;
2394
+ }, {
2395
+ key: string;
2396
+ name: string;
2397
+ }>>;
2398
+ configMapKeyRef: z.ZodOptional<z.ZodObject<{
2399
+ name: z.ZodString;
2400
+ key: z.ZodString;
2401
+ }, "strip", z.ZodTypeAny, {
2402
+ key: string;
2403
+ name: string;
2404
+ }, {
2405
+ key: string;
2406
+ name: string;
2407
+ }>>;
2408
+ }, "strip", z.ZodTypeAny, {
2409
+ secretKeyRef?: {
2410
+ key: string;
2411
+ name: string;
2412
+ } | undefined;
2413
+ configMapKeyRef?: {
2414
+ key: string;
2415
+ name: string;
2416
+ } | undefined;
2417
+ }, {
2418
+ secretKeyRef?: {
2419
+ key: string;
2420
+ name: string;
2421
+ } | undefined;
2422
+ configMapKeyRef?: {
2423
+ key: string;
2424
+ name: string;
2425
+ } | undefined;
2426
+ }>>;
2427
+ }, "strip", z.ZodTypeAny, {
2428
+ name: string;
2429
+ value?: string | undefined;
2430
+ valueFrom?: {
2431
+ secretKeyRef?: {
2432
+ key: string;
2433
+ name: string;
2434
+ } | undefined;
2435
+ configMapKeyRef?: {
2436
+ key: string;
2437
+ name: string;
2438
+ } | undefined;
2439
+ } | undefined;
2440
+ }, {
2441
+ name: string;
2442
+ value?: string | undefined;
2443
+ valueFrom?: {
2444
+ secretKeyRef?: {
2445
+ key: string;
2446
+ name: string;
2447
+ } | undefined;
2448
+ configMapKeyRef?: {
2449
+ key: string;
2450
+ name: string;
2451
+ } | undefined;
2452
+ } | undefined;
2453
+ }>, "many">>;
2454
+ envFrom: z.ZodOptional<z.ZodArray<z.ZodObject<{
2455
+ secretRef: z.ZodOptional<z.ZodObject<{
2456
+ name: z.ZodString;
2457
+ }, "strip", z.ZodTypeAny, {
2458
+ name: string;
2459
+ }, {
2460
+ name: string;
2461
+ }>>;
2462
+ configMapRef: z.ZodOptional<z.ZodObject<{
2463
+ name: z.ZodString;
2464
+ }, "strip", z.ZodTypeAny, {
2465
+ name: string;
2466
+ }, {
2467
+ name: string;
2468
+ }>>;
2469
+ prefix: z.ZodOptional<z.ZodString>;
2470
+ }, "strip", z.ZodTypeAny, {
2471
+ secretRef?: {
2472
+ name: string;
2473
+ } | undefined;
2474
+ configMapRef?: {
2475
+ name: string;
2476
+ } | undefined;
2477
+ prefix?: string | undefined;
2478
+ }, {
2479
+ secretRef?: {
2480
+ name: string;
2481
+ } | undefined;
2482
+ configMapRef?: {
2483
+ name: string;
2484
+ } | undefined;
2485
+ prefix?: string | undefined;
2486
+ }>, "many">>;
2487
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2488
+ annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2489
+ dind: z.ZodOptional<z.ZodObject<{
2490
+ enabled: z.ZodDefault<z.ZodBoolean>;
2491
+ image: z.ZodOptional<z.ZodString>;
2492
+ dns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2493
+ dnsSearch: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2494
+ resources: z.ZodOptional<z.ZodObject<{
2495
+ requests: z.ZodOptional<z.ZodObject<{
2496
+ cpu: z.ZodOptional<z.ZodString>;
2497
+ memory: z.ZodOptional<z.ZodString>;
2498
+ }, "strip", z.ZodTypeAny, {
2499
+ cpu?: string | undefined;
2500
+ memory?: string | undefined;
2501
+ }, {
2502
+ cpu?: string | undefined;
2503
+ memory?: string | undefined;
2504
+ }>>;
2505
+ limits: z.ZodOptional<z.ZodObject<{
2506
+ cpu: z.ZodOptional<z.ZodString>;
2507
+ memory: z.ZodOptional<z.ZodString>;
2508
+ }, "strip", z.ZodTypeAny, {
2509
+ cpu?: string | undefined;
2510
+ memory?: string | undefined;
2511
+ }, {
2512
+ cpu?: string | undefined;
2513
+ memory?: string | undefined;
2514
+ }>>;
2515
+ }, "strip", z.ZodTypeAny, {
2516
+ requests?: {
2517
+ cpu?: string | undefined;
2518
+ memory?: string | undefined;
2519
+ } | undefined;
2520
+ limits?: {
2521
+ cpu?: string | undefined;
2522
+ memory?: string | undefined;
2523
+ } | undefined;
2524
+ }, {
2525
+ requests?: {
2526
+ cpu?: string | undefined;
2527
+ memory?: string | undefined;
2528
+ } | undefined;
2529
+ limits?: {
2530
+ cpu?: string | undefined;
2531
+ memory?: string | undefined;
2532
+ } | undefined;
2533
+ }>>;
2534
+ }, "strip", z.ZodTypeAny, {
2535
+ enabled: boolean;
2536
+ image?: string | undefined;
2537
+ dns?: string[] | undefined;
2538
+ dnsSearch?: string[] | undefined;
2539
+ resources?: {
2540
+ requests?: {
2541
+ cpu?: string | undefined;
2542
+ memory?: string | undefined;
2543
+ } | undefined;
2544
+ limits?: {
2545
+ cpu?: string | undefined;
2546
+ memory?: string | undefined;
2547
+ } | undefined;
2548
+ } | undefined;
2549
+ }, {
2550
+ enabled?: boolean | undefined;
2551
+ image?: string | undefined;
2552
+ dns?: string[] | undefined;
2553
+ dnsSearch?: string[] | undefined;
2554
+ resources?: {
2555
+ requests?: {
2556
+ cpu?: string | undefined;
2557
+ memory?: string | undefined;
2558
+ } | undefined;
2559
+ limits?: {
2560
+ cpu?: string | undefined;
2561
+ memory?: string | undefined;
2562
+ } | undefined;
2563
+ } | undefined;
2564
+ }>>;
2565
+ }, "strip", z.ZodTypeAny, {
2566
+ labels?: Record<string, string> | undefined;
2567
+ image?: string | undefined;
2568
+ resources?: {
2569
+ requests?: {
2570
+ cpu?: string | undefined;
2571
+ memory?: string | undefined;
2572
+ } | undefined;
2573
+ limits?: {
2574
+ cpu?: string | undefined;
2575
+ memory?: string | undefined;
2576
+ } | undefined;
2577
+ } | undefined;
2578
+ imagePullPolicy?: "Always" | "IfNotPresent" | "Never" | undefined;
2579
+ imagePullSecrets?: string[] | undefined;
2580
+ nodeSelector?: Record<string, string> | undefined;
2581
+ tolerations?: {
2582
+ value?: string | undefined;
2583
+ key?: string | undefined;
2584
+ operator?: "Exists" | "Equal" | undefined;
2585
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
2586
+ tolerationSeconds?: number | undefined;
2587
+ }[] | undefined;
2588
+ serviceAccountName?: string | undefined;
2589
+ securityContext?: {
2590
+ runAsUser?: number | undefined;
2591
+ runAsGroup?: number | undefined;
2592
+ runAsNonRoot?: boolean | undefined;
2593
+ fsGroup?: number | undefined;
2594
+ } | undefined;
2595
+ volumes?: {
2596
+ name: string;
2597
+ persistentVolumeClaim?: {
2598
+ claimName: string;
2599
+ readOnly?: boolean | undefined;
2600
+ } | undefined;
2601
+ secret?: {
2602
+ secretName: string;
2603
+ } | undefined;
2604
+ configMap?: {
2605
+ name: string;
2606
+ } | undefined;
2607
+ emptyDir?: {
2608
+ medium?: string | undefined;
2609
+ sizeLimit?: string | undefined;
2610
+ } | undefined;
2611
+ }[] | undefined;
2612
+ volumeMounts?: {
2613
+ name: string;
2614
+ mountPath: string;
2615
+ readOnly?: boolean | undefined;
2616
+ subPath?: string | undefined;
2617
+ }[] | undefined;
2618
+ env?: {
2619
+ name: string;
2620
+ value?: string | undefined;
2621
+ valueFrom?: {
2622
+ secretKeyRef?: {
2623
+ key: string;
2624
+ name: string;
2625
+ } | undefined;
2626
+ configMapKeyRef?: {
2627
+ key: string;
2628
+ name: string;
2629
+ } | undefined;
2630
+ } | undefined;
2631
+ }[] | undefined;
2632
+ envFrom?: {
2633
+ secretRef?: {
2634
+ name: string;
2635
+ } | undefined;
2636
+ configMapRef?: {
2637
+ name: string;
2638
+ } | undefined;
2639
+ prefix?: string | undefined;
2640
+ }[] | undefined;
2641
+ annotations?: Record<string, string> | undefined;
2642
+ dind?: {
2643
+ enabled: boolean;
2644
+ image?: string | undefined;
2645
+ dns?: string[] | undefined;
2646
+ dnsSearch?: string[] | undefined;
2647
+ resources?: {
2648
+ requests?: {
2649
+ cpu?: string | undefined;
2650
+ memory?: string | undefined;
2651
+ } | undefined;
2652
+ limits?: {
2653
+ cpu?: string | undefined;
2654
+ memory?: string | undefined;
2655
+ } | undefined;
2656
+ } | undefined;
2657
+ } | undefined;
2658
+ }, {
2659
+ labels?: Record<string, string> | undefined;
2660
+ image?: string | undefined;
2661
+ resources?: {
2662
+ requests?: {
2663
+ cpu?: string | undefined;
2664
+ memory?: string | undefined;
2665
+ } | undefined;
2666
+ limits?: {
2667
+ cpu?: string | undefined;
2668
+ memory?: string | undefined;
2669
+ } | undefined;
2670
+ } | undefined;
2671
+ imagePullPolicy?: "Always" | "IfNotPresent" | "Never" | undefined;
2672
+ imagePullSecrets?: string[] | undefined;
2673
+ nodeSelector?: Record<string, string> | undefined;
2674
+ tolerations?: {
2675
+ value?: string | undefined;
2676
+ key?: string | undefined;
2677
+ operator?: "Exists" | "Equal" | undefined;
2678
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
2679
+ tolerationSeconds?: number | undefined;
2680
+ }[] | undefined;
2681
+ serviceAccountName?: string | undefined;
2682
+ securityContext?: {
2683
+ runAsUser?: number | undefined;
2684
+ runAsGroup?: number | undefined;
2685
+ runAsNonRoot?: boolean | undefined;
2686
+ fsGroup?: number | undefined;
2687
+ } | undefined;
2688
+ volumes?: {
2689
+ name: string;
2690
+ persistentVolumeClaim?: {
2691
+ claimName: string;
2692
+ readOnly?: boolean | undefined;
2693
+ } | undefined;
2694
+ secret?: {
2695
+ secretName: string;
2696
+ } | undefined;
2697
+ configMap?: {
2698
+ name: string;
2699
+ } | undefined;
2700
+ emptyDir?: {
2701
+ medium?: string | undefined;
2702
+ sizeLimit?: string | undefined;
2703
+ } | undefined;
2704
+ }[] | undefined;
2705
+ volumeMounts?: {
2706
+ name: string;
2707
+ mountPath: string;
2708
+ readOnly?: boolean | undefined;
2709
+ subPath?: string | undefined;
2710
+ }[] | undefined;
2711
+ env?: {
2712
+ name: string;
2713
+ value?: string | undefined;
2714
+ valueFrom?: {
2715
+ secretKeyRef?: {
2716
+ key: string;
2717
+ name: string;
2718
+ } | undefined;
2719
+ configMapKeyRef?: {
2720
+ key: string;
2721
+ name: string;
2722
+ } | undefined;
2723
+ } | undefined;
2724
+ }[] | undefined;
2725
+ envFrom?: {
2726
+ secretRef?: {
2727
+ name: string;
2728
+ } | undefined;
2729
+ configMapRef?: {
2730
+ name: string;
2731
+ } | undefined;
2732
+ prefix?: string | undefined;
2733
+ }[] | undefined;
2734
+ annotations?: Record<string, string> | undefined;
2735
+ dind?: {
2736
+ enabled?: boolean | undefined;
2737
+ image?: string | undefined;
2738
+ dns?: string[] | undefined;
2739
+ dnsSearch?: string[] | undefined;
2740
+ resources?: {
2741
+ requests?: {
2742
+ cpu?: string | undefined;
2743
+ memory?: string | undefined;
2744
+ } | undefined;
2745
+ limits?: {
2746
+ cpu?: string | undefined;
2747
+ memory?: string | undefined;
2748
+ } | undefined;
2749
+ } | undefined;
2750
+ } | undefined;
2751
+ }>;
2752
+ export type PodTemplateSpec = z.infer<typeof PodTemplateSpecSchema>;
2753
+ export declare const PodTemplateSchema: z.ZodObject<{
2754
+ id: z.ZodString;
2755
+ name: z.ZodString;
2756
+ slug: z.ZodString;
2757
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2758
+ spec: z.ZodObject<{
2759
+ image: z.ZodOptional<z.ZodString>;
2760
+ imagePullPolicy: z.ZodOptional<z.ZodEnum<["Always", "IfNotPresent", "Never"]>>;
2761
+ imagePullSecrets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2762
+ resources: z.ZodOptional<z.ZodObject<{
2763
+ requests: z.ZodOptional<z.ZodObject<{
2764
+ cpu: z.ZodOptional<z.ZodString>;
2765
+ memory: z.ZodOptional<z.ZodString>;
2766
+ }, "strip", z.ZodTypeAny, {
2767
+ cpu?: string | undefined;
2768
+ memory?: string | undefined;
2769
+ }, {
2770
+ cpu?: string | undefined;
2771
+ memory?: string | undefined;
2772
+ }>>;
2773
+ limits: z.ZodOptional<z.ZodObject<{
2774
+ cpu: z.ZodOptional<z.ZodString>;
2775
+ memory: z.ZodOptional<z.ZodString>;
2776
+ }, "strip", z.ZodTypeAny, {
2777
+ cpu?: string | undefined;
2778
+ memory?: string | undefined;
2779
+ }, {
2780
+ cpu?: string | undefined;
2781
+ memory?: string | undefined;
2782
+ }>>;
2783
+ }, "strip", z.ZodTypeAny, {
2784
+ requests?: {
2785
+ cpu?: string | undefined;
2786
+ memory?: string | undefined;
2787
+ } | undefined;
2788
+ limits?: {
2789
+ cpu?: string | undefined;
2790
+ memory?: string | undefined;
2791
+ } | undefined;
2792
+ }, {
2793
+ requests?: {
2794
+ cpu?: string | undefined;
2795
+ memory?: string | undefined;
2796
+ } | undefined;
2797
+ limits?: {
2798
+ cpu?: string | undefined;
2799
+ memory?: string | undefined;
2800
+ } | undefined;
2801
+ }>>;
2802
+ nodeSelector: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2803
+ tolerations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2804
+ key: z.ZodOptional<z.ZodString>;
2805
+ operator: z.ZodOptional<z.ZodEnum<["Exists", "Equal"]>>;
2806
+ value: z.ZodOptional<z.ZodString>;
2807
+ effect: z.ZodOptional<z.ZodEnum<["NoSchedule", "PreferNoSchedule", "NoExecute"]>>;
2808
+ tolerationSeconds: z.ZodOptional<z.ZodNumber>;
2809
+ }, "strip", z.ZodTypeAny, {
2810
+ value?: string | undefined;
2811
+ key?: string | undefined;
2812
+ operator?: "Exists" | "Equal" | undefined;
2813
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
2814
+ tolerationSeconds?: number | undefined;
2815
+ }, {
2816
+ value?: string | undefined;
2817
+ key?: string | undefined;
2818
+ operator?: "Exists" | "Equal" | undefined;
2819
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
2820
+ tolerationSeconds?: number | undefined;
2821
+ }>, "many">>;
2822
+ serviceAccountName: z.ZodOptional<z.ZodString>;
2823
+ securityContext: z.ZodOptional<z.ZodObject<{
2824
+ runAsUser: z.ZodOptional<z.ZodNumber>;
2825
+ runAsGroup: z.ZodOptional<z.ZodNumber>;
2826
+ runAsNonRoot: z.ZodOptional<z.ZodBoolean>;
2827
+ fsGroup: z.ZodOptional<z.ZodNumber>;
2828
+ }, "strip", z.ZodTypeAny, {
2829
+ runAsUser?: number | undefined;
2830
+ runAsGroup?: number | undefined;
2831
+ runAsNonRoot?: boolean | undefined;
2832
+ fsGroup?: number | undefined;
2833
+ }, {
2834
+ runAsUser?: number | undefined;
2835
+ runAsGroup?: number | undefined;
2836
+ runAsNonRoot?: boolean | undefined;
2837
+ fsGroup?: number | undefined;
2838
+ }>>;
2839
+ volumes: z.ZodOptional<z.ZodArray<z.ZodObject<{
2840
+ name: z.ZodString;
2841
+ persistentVolumeClaim: z.ZodOptional<z.ZodObject<{
2842
+ claimName: z.ZodString;
2843
+ readOnly: z.ZodOptional<z.ZodBoolean>;
2844
+ }, "strip", z.ZodTypeAny, {
2845
+ claimName: string;
2846
+ readOnly?: boolean | undefined;
2847
+ }, {
2848
+ claimName: string;
2849
+ readOnly?: boolean | undefined;
2850
+ }>>;
2851
+ secret: z.ZodOptional<z.ZodObject<{
2852
+ secretName: z.ZodString;
2853
+ }, "strip", z.ZodTypeAny, {
2854
+ secretName: string;
2855
+ }, {
2856
+ secretName: string;
2857
+ }>>;
2858
+ configMap: z.ZodOptional<z.ZodObject<{
2859
+ name: z.ZodString;
2860
+ }, "strip", z.ZodTypeAny, {
2861
+ name: string;
2862
+ }, {
2863
+ name: string;
2864
+ }>>;
2865
+ emptyDir: z.ZodOptional<z.ZodObject<{
2866
+ medium: z.ZodOptional<z.ZodString>;
2867
+ sizeLimit: z.ZodOptional<z.ZodString>;
2868
+ }, "strip", z.ZodTypeAny, {
2869
+ medium?: string | undefined;
2870
+ sizeLimit?: string | undefined;
2871
+ }, {
2872
+ medium?: string | undefined;
2873
+ sizeLimit?: string | undefined;
2874
+ }>>;
2875
+ }, "strip", z.ZodTypeAny, {
2876
+ name: string;
2877
+ persistentVolumeClaim?: {
2878
+ claimName: string;
2879
+ readOnly?: boolean | undefined;
2880
+ } | undefined;
2881
+ secret?: {
2882
+ secretName: string;
2883
+ } | undefined;
2884
+ configMap?: {
2885
+ name: string;
2886
+ } | undefined;
2887
+ emptyDir?: {
2888
+ medium?: string | undefined;
2889
+ sizeLimit?: string | undefined;
2890
+ } | undefined;
2891
+ }, {
2892
+ name: string;
2893
+ persistentVolumeClaim?: {
2894
+ claimName: string;
2895
+ readOnly?: boolean | undefined;
2896
+ } | undefined;
2897
+ secret?: {
2898
+ secretName: string;
2899
+ } | undefined;
2900
+ configMap?: {
2901
+ name: string;
2902
+ } | undefined;
2903
+ emptyDir?: {
2904
+ medium?: string | undefined;
2905
+ sizeLimit?: string | undefined;
2906
+ } | undefined;
2907
+ }>, "many">>;
2908
+ volumeMounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2909
+ name: z.ZodString;
2910
+ mountPath: z.ZodString;
2911
+ readOnly: z.ZodOptional<z.ZodBoolean>;
2912
+ subPath: z.ZodOptional<z.ZodString>;
2913
+ }, "strip", z.ZodTypeAny, {
2914
+ name: string;
2915
+ mountPath: string;
2916
+ readOnly?: boolean | undefined;
2917
+ subPath?: string | undefined;
2918
+ }, {
2919
+ name: string;
2920
+ mountPath: string;
2921
+ readOnly?: boolean | undefined;
2922
+ subPath?: string | undefined;
2923
+ }>, "many">>;
2924
+ env: z.ZodOptional<z.ZodArray<z.ZodObject<{
2925
+ name: z.ZodString;
2926
+ value: z.ZodOptional<z.ZodString>;
2927
+ valueFrom: z.ZodOptional<z.ZodObject<{
2928
+ secretKeyRef: z.ZodOptional<z.ZodObject<{
2929
+ name: z.ZodString;
2930
+ key: z.ZodString;
2931
+ }, "strip", z.ZodTypeAny, {
2932
+ key: string;
2933
+ name: string;
2934
+ }, {
2935
+ key: string;
2936
+ name: string;
2937
+ }>>;
2938
+ configMapKeyRef: z.ZodOptional<z.ZodObject<{
2939
+ name: z.ZodString;
2940
+ key: z.ZodString;
2941
+ }, "strip", z.ZodTypeAny, {
2942
+ key: string;
2943
+ name: string;
2944
+ }, {
2945
+ key: string;
2946
+ name: string;
2947
+ }>>;
2948
+ }, "strip", z.ZodTypeAny, {
2949
+ secretKeyRef?: {
2950
+ key: string;
2951
+ name: string;
2952
+ } | undefined;
2953
+ configMapKeyRef?: {
2954
+ key: string;
2955
+ name: string;
2956
+ } | undefined;
2957
+ }, {
2958
+ secretKeyRef?: {
2959
+ key: string;
2960
+ name: string;
2961
+ } | undefined;
2962
+ configMapKeyRef?: {
2963
+ key: string;
2964
+ name: string;
2965
+ } | undefined;
2966
+ }>>;
2967
+ }, "strip", z.ZodTypeAny, {
2968
+ name: string;
2969
+ value?: string | undefined;
2970
+ valueFrom?: {
2971
+ secretKeyRef?: {
2972
+ key: string;
2973
+ name: string;
2974
+ } | undefined;
2975
+ configMapKeyRef?: {
2976
+ key: string;
2977
+ name: string;
2978
+ } | undefined;
2979
+ } | undefined;
2980
+ }, {
2981
+ name: string;
2982
+ value?: string | undefined;
2983
+ valueFrom?: {
2984
+ secretKeyRef?: {
2985
+ key: string;
2986
+ name: string;
2987
+ } | undefined;
2988
+ configMapKeyRef?: {
2989
+ key: string;
2990
+ name: string;
2991
+ } | undefined;
2992
+ } | undefined;
2993
+ }>, "many">>;
2994
+ envFrom: z.ZodOptional<z.ZodArray<z.ZodObject<{
2995
+ secretRef: z.ZodOptional<z.ZodObject<{
2996
+ name: z.ZodString;
2997
+ }, "strip", z.ZodTypeAny, {
2998
+ name: string;
2999
+ }, {
3000
+ name: string;
3001
+ }>>;
3002
+ configMapRef: z.ZodOptional<z.ZodObject<{
3003
+ name: z.ZodString;
3004
+ }, "strip", z.ZodTypeAny, {
3005
+ name: string;
3006
+ }, {
3007
+ name: string;
3008
+ }>>;
3009
+ prefix: z.ZodOptional<z.ZodString>;
3010
+ }, "strip", z.ZodTypeAny, {
3011
+ secretRef?: {
3012
+ name: string;
3013
+ } | undefined;
3014
+ configMapRef?: {
3015
+ name: string;
3016
+ } | undefined;
3017
+ prefix?: string | undefined;
3018
+ }, {
3019
+ secretRef?: {
3020
+ name: string;
3021
+ } | undefined;
3022
+ configMapRef?: {
3023
+ name: string;
3024
+ } | undefined;
3025
+ prefix?: string | undefined;
3026
+ }>, "many">>;
3027
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3028
+ annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3029
+ dind: z.ZodOptional<z.ZodObject<{
3030
+ enabled: z.ZodDefault<z.ZodBoolean>;
3031
+ image: z.ZodOptional<z.ZodString>;
3032
+ dns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3033
+ dnsSearch: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3034
+ resources: z.ZodOptional<z.ZodObject<{
3035
+ requests: z.ZodOptional<z.ZodObject<{
3036
+ cpu: z.ZodOptional<z.ZodString>;
3037
+ memory: z.ZodOptional<z.ZodString>;
3038
+ }, "strip", z.ZodTypeAny, {
3039
+ cpu?: string | undefined;
3040
+ memory?: string | undefined;
3041
+ }, {
3042
+ cpu?: string | undefined;
3043
+ memory?: string | undefined;
3044
+ }>>;
3045
+ limits: z.ZodOptional<z.ZodObject<{
3046
+ cpu: z.ZodOptional<z.ZodString>;
3047
+ memory: z.ZodOptional<z.ZodString>;
3048
+ }, "strip", z.ZodTypeAny, {
3049
+ cpu?: string | undefined;
3050
+ memory?: string | undefined;
3051
+ }, {
3052
+ cpu?: string | undefined;
3053
+ memory?: string | undefined;
3054
+ }>>;
3055
+ }, "strip", z.ZodTypeAny, {
3056
+ requests?: {
3057
+ cpu?: string | undefined;
3058
+ memory?: string | undefined;
3059
+ } | undefined;
3060
+ limits?: {
3061
+ cpu?: string | undefined;
3062
+ memory?: string | undefined;
3063
+ } | undefined;
3064
+ }, {
3065
+ requests?: {
3066
+ cpu?: string | undefined;
3067
+ memory?: string | undefined;
3068
+ } | undefined;
3069
+ limits?: {
3070
+ cpu?: string | undefined;
3071
+ memory?: string | undefined;
3072
+ } | undefined;
3073
+ }>>;
3074
+ }, "strip", z.ZodTypeAny, {
3075
+ enabled: boolean;
3076
+ image?: string | undefined;
3077
+ dns?: string[] | undefined;
3078
+ dnsSearch?: string[] | undefined;
3079
+ resources?: {
3080
+ requests?: {
3081
+ cpu?: string | undefined;
3082
+ memory?: string | undefined;
3083
+ } | undefined;
3084
+ limits?: {
3085
+ cpu?: string | undefined;
3086
+ memory?: string | undefined;
3087
+ } | undefined;
3088
+ } | undefined;
3089
+ }, {
3090
+ enabled?: boolean | undefined;
3091
+ image?: string | undefined;
3092
+ dns?: string[] | undefined;
3093
+ dnsSearch?: string[] | undefined;
3094
+ resources?: {
3095
+ requests?: {
3096
+ cpu?: string | undefined;
3097
+ memory?: string | undefined;
3098
+ } | undefined;
3099
+ limits?: {
3100
+ cpu?: string | undefined;
3101
+ memory?: string | undefined;
3102
+ } | undefined;
3103
+ } | undefined;
3104
+ }>>;
3105
+ }, "strip", z.ZodTypeAny, {
3106
+ labels?: Record<string, string> | undefined;
3107
+ image?: string | undefined;
3108
+ resources?: {
3109
+ requests?: {
3110
+ cpu?: string | undefined;
3111
+ memory?: string | undefined;
3112
+ } | undefined;
3113
+ limits?: {
3114
+ cpu?: string | undefined;
3115
+ memory?: string | undefined;
3116
+ } | undefined;
3117
+ } | undefined;
3118
+ imagePullPolicy?: "Always" | "IfNotPresent" | "Never" | undefined;
3119
+ imagePullSecrets?: string[] | undefined;
3120
+ nodeSelector?: Record<string, string> | undefined;
3121
+ tolerations?: {
3122
+ value?: string | undefined;
3123
+ key?: string | undefined;
3124
+ operator?: "Exists" | "Equal" | undefined;
3125
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
3126
+ tolerationSeconds?: number | undefined;
3127
+ }[] | undefined;
3128
+ serviceAccountName?: string | undefined;
3129
+ securityContext?: {
3130
+ runAsUser?: number | undefined;
3131
+ runAsGroup?: number | undefined;
3132
+ runAsNonRoot?: boolean | undefined;
3133
+ fsGroup?: number | undefined;
3134
+ } | undefined;
3135
+ volumes?: {
3136
+ name: string;
3137
+ persistentVolumeClaim?: {
3138
+ claimName: string;
3139
+ readOnly?: boolean | undefined;
3140
+ } | undefined;
3141
+ secret?: {
3142
+ secretName: string;
3143
+ } | undefined;
3144
+ configMap?: {
3145
+ name: string;
3146
+ } | undefined;
3147
+ emptyDir?: {
3148
+ medium?: string | undefined;
3149
+ sizeLimit?: string | undefined;
3150
+ } | undefined;
3151
+ }[] | undefined;
3152
+ volumeMounts?: {
3153
+ name: string;
3154
+ mountPath: string;
3155
+ readOnly?: boolean | undefined;
3156
+ subPath?: string | undefined;
3157
+ }[] | undefined;
3158
+ env?: {
3159
+ name: string;
3160
+ value?: string | undefined;
3161
+ valueFrom?: {
3162
+ secretKeyRef?: {
3163
+ key: string;
3164
+ name: string;
3165
+ } | undefined;
3166
+ configMapKeyRef?: {
3167
+ key: string;
3168
+ name: string;
3169
+ } | undefined;
3170
+ } | undefined;
3171
+ }[] | undefined;
3172
+ envFrom?: {
3173
+ secretRef?: {
3174
+ name: string;
3175
+ } | undefined;
3176
+ configMapRef?: {
3177
+ name: string;
3178
+ } | undefined;
3179
+ prefix?: string | undefined;
3180
+ }[] | undefined;
3181
+ annotations?: Record<string, string> | undefined;
3182
+ dind?: {
3183
+ enabled: boolean;
3184
+ image?: string | undefined;
3185
+ dns?: string[] | undefined;
3186
+ dnsSearch?: string[] | undefined;
3187
+ resources?: {
3188
+ requests?: {
3189
+ cpu?: string | undefined;
3190
+ memory?: string | undefined;
3191
+ } | undefined;
3192
+ limits?: {
3193
+ cpu?: string | undefined;
3194
+ memory?: string | undefined;
3195
+ } | undefined;
3196
+ } | undefined;
3197
+ } | undefined;
3198
+ }, {
3199
+ labels?: Record<string, string> | undefined;
3200
+ image?: string | undefined;
3201
+ resources?: {
3202
+ requests?: {
3203
+ cpu?: string | undefined;
3204
+ memory?: string | undefined;
3205
+ } | undefined;
3206
+ limits?: {
3207
+ cpu?: string | undefined;
3208
+ memory?: string | undefined;
3209
+ } | undefined;
3210
+ } | undefined;
3211
+ imagePullPolicy?: "Always" | "IfNotPresent" | "Never" | undefined;
3212
+ imagePullSecrets?: string[] | undefined;
3213
+ nodeSelector?: Record<string, string> | undefined;
3214
+ tolerations?: {
3215
+ value?: string | undefined;
3216
+ key?: string | undefined;
3217
+ operator?: "Exists" | "Equal" | undefined;
3218
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
3219
+ tolerationSeconds?: number | undefined;
3220
+ }[] | undefined;
3221
+ serviceAccountName?: string | undefined;
3222
+ securityContext?: {
3223
+ runAsUser?: number | undefined;
3224
+ runAsGroup?: number | undefined;
3225
+ runAsNonRoot?: boolean | undefined;
3226
+ fsGroup?: number | undefined;
3227
+ } | undefined;
3228
+ volumes?: {
3229
+ name: string;
3230
+ persistentVolumeClaim?: {
3231
+ claimName: string;
3232
+ readOnly?: boolean | undefined;
3233
+ } | undefined;
3234
+ secret?: {
3235
+ secretName: string;
3236
+ } | undefined;
3237
+ configMap?: {
3238
+ name: string;
3239
+ } | undefined;
3240
+ emptyDir?: {
3241
+ medium?: string | undefined;
3242
+ sizeLimit?: string | undefined;
3243
+ } | undefined;
3244
+ }[] | undefined;
3245
+ volumeMounts?: {
3246
+ name: string;
3247
+ mountPath: string;
3248
+ readOnly?: boolean | undefined;
3249
+ subPath?: string | undefined;
3250
+ }[] | undefined;
3251
+ env?: {
3252
+ name: string;
3253
+ value?: string | undefined;
3254
+ valueFrom?: {
3255
+ secretKeyRef?: {
3256
+ key: string;
3257
+ name: string;
3258
+ } | undefined;
3259
+ configMapKeyRef?: {
3260
+ key: string;
3261
+ name: string;
3262
+ } | undefined;
3263
+ } | undefined;
3264
+ }[] | undefined;
3265
+ envFrom?: {
3266
+ secretRef?: {
3267
+ name: string;
3268
+ } | undefined;
3269
+ configMapRef?: {
3270
+ name: string;
3271
+ } | undefined;
3272
+ prefix?: string | undefined;
3273
+ }[] | undefined;
3274
+ annotations?: Record<string, string> | undefined;
3275
+ dind?: {
3276
+ enabled?: boolean | undefined;
3277
+ image?: string | undefined;
3278
+ dns?: string[] | undefined;
3279
+ dnsSearch?: string[] | undefined;
3280
+ resources?: {
3281
+ requests?: {
3282
+ cpu?: string | undefined;
3283
+ memory?: string | undefined;
3284
+ } | undefined;
3285
+ limits?: {
3286
+ cpu?: string | undefined;
3287
+ memory?: string | undefined;
3288
+ } | undefined;
3289
+ } | undefined;
3290
+ } | undefined;
3291
+ }>;
3292
+ isDefault: z.ZodBoolean;
3293
+ isSystem: z.ZodBoolean;
3294
+ createdBy: z.ZodNullable<z.ZodString>;
3295
+ createdAt: z.ZodDate;
3296
+ updatedAt: z.ZodDate;
3297
+ }, "strip", z.ZodTypeAny, {
3298
+ createdAt: Date;
3299
+ name: string;
3300
+ id: string;
3301
+ createdBy: string | null;
3302
+ slug: string;
3303
+ updatedAt: Date;
3304
+ spec: {
3305
+ labels?: Record<string, string> | undefined;
3306
+ image?: string | undefined;
3307
+ resources?: {
3308
+ requests?: {
3309
+ cpu?: string | undefined;
3310
+ memory?: string | undefined;
3311
+ } | undefined;
3312
+ limits?: {
3313
+ cpu?: string | undefined;
3314
+ memory?: string | undefined;
3315
+ } | undefined;
3316
+ } | undefined;
3317
+ imagePullPolicy?: "Always" | "IfNotPresent" | "Never" | undefined;
3318
+ imagePullSecrets?: string[] | undefined;
3319
+ nodeSelector?: Record<string, string> | undefined;
3320
+ tolerations?: {
3321
+ value?: string | undefined;
3322
+ key?: string | undefined;
3323
+ operator?: "Exists" | "Equal" | undefined;
3324
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
3325
+ tolerationSeconds?: number | undefined;
3326
+ }[] | undefined;
3327
+ serviceAccountName?: string | undefined;
3328
+ securityContext?: {
3329
+ runAsUser?: number | undefined;
3330
+ runAsGroup?: number | undefined;
3331
+ runAsNonRoot?: boolean | undefined;
3332
+ fsGroup?: number | undefined;
3333
+ } | undefined;
3334
+ volumes?: {
3335
+ name: string;
3336
+ persistentVolumeClaim?: {
3337
+ claimName: string;
3338
+ readOnly?: boolean | undefined;
3339
+ } | undefined;
3340
+ secret?: {
3341
+ secretName: string;
3342
+ } | undefined;
3343
+ configMap?: {
3344
+ name: string;
3345
+ } | undefined;
3346
+ emptyDir?: {
3347
+ medium?: string | undefined;
3348
+ sizeLimit?: string | undefined;
3349
+ } | undefined;
3350
+ }[] | undefined;
3351
+ volumeMounts?: {
3352
+ name: string;
3353
+ mountPath: string;
3354
+ readOnly?: boolean | undefined;
3355
+ subPath?: string | undefined;
3356
+ }[] | undefined;
3357
+ env?: {
3358
+ name: string;
3359
+ value?: string | undefined;
3360
+ valueFrom?: {
3361
+ secretKeyRef?: {
3362
+ key: string;
3363
+ name: string;
3364
+ } | undefined;
3365
+ configMapKeyRef?: {
3366
+ key: string;
3367
+ name: string;
3368
+ } | undefined;
3369
+ } | undefined;
3370
+ }[] | undefined;
3371
+ envFrom?: {
3372
+ secretRef?: {
3373
+ name: string;
3374
+ } | undefined;
3375
+ configMapRef?: {
3376
+ name: string;
3377
+ } | undefined;
3378
+ prefix?: string | undefined;
3379
+ }[] | undefined;
3380
+ annotations?: Record<string, string> | undefined;
3381
+ dind?: {
3382
+ enabled: boolean;
3383
+ image?: string | undefined;
3384
+ dns?: string[] | undefined;
3385
+ dnsSearch?: string[] | undefined;
3386
+ resources?: {
3387
+ requests?: {
3388
+ cpu?: string | undefined;
3389
+ memory?: string | undefined;
3390
+ } | undefined;
3391
+ limits?: {
3392
+ cpu?: string | undefined;
3393
+ memory?: string | undefined;
3394
+ } | undefined;
3395
+ } | undefined;
3396
+ } | undefined;
3397
+ };
3398
+ isDefault: boolean;
3399
+ isSystem: boolean;
3400
+ description?: string | null | undefined;
3401
+ }, {
3402
+ createdAt: Date;
3403
+ name: string;
3404
+ id: string;
3405
+ createdBy: string | null;
3406
+ slug: string;
3407
+ updatedAt: Date;
3408
+ spec: {
3409
+ labels?: Record<string, string> | undefined;
3410
+ image?: string | undefined;
3411
+ resources?: {
3412
+ requests?: {
3413
+ cpu?: string | undefined;
3414
+ memory?: string | undefined;
3415
+ } | undefined;
3416
+ limits?: {
3417
+ cpu?: string | undefined;
3418
+ memory?: string | undefined;
3419
+ } | undefined;
3420
+ } | undefined;
3421
+ imagePullPolicy?: "Always" | "IfNotPresent" | "Never" | undefined;
3422
+ imagePullSecrets?: string[] | undefined;
3423
+ nodeSelector?: Record<string, string> | undefined;
3424
+ tolerations?: {
3425
+ value?: string | undefined;
3426
+ key?: string | undefined;
3427
+ operator?: "Exists" | "Equal" | undefined;
3428
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
3429
+ tolerationSeconds?: number | undefined;
3430
+ }[] | undefined;
3431
+ serviceAccountName?: string | undefined;
3432
+ securityContext?: {
3433
+ runAsUser?: number | undefined;
3434
+ runAsGroup?: number | undefined;
3435
+ runAsNonRoot?: boolean | undefined;
3436
+ fsGroup?: number | undefined;
3437
+ } | undefined;
3438
+ volumes?: {
3439
+ name: string;
3440
+ persistentVolumeClaim?: {
3441
+ claimName: string;
3442
+ readOnly?: boolean | undefined;
3443
+ } | undefined;
3444
+ secret?: {
3445
+ secretName: string;
3446
+ } | undefined;
3447
+ configMap?: {
3448
+ name: string;
3449
+ } | undefined;
3450
+ emptyDir?: {
3451
+ medium?: string | undefined;
3452
+ sizeLimit?: string | undefined;
3453
+ } | undefined;
3454
+ }[] | undefined;
3455
+ volumeMounts?: {
3456
+ name: string;
3457
+ mountPath: string;
3458
+ readOnly?: boolean | undefined;
3459
+ subPath?: string | undefined;
3460
+ }[] | undefined;
3461
+ env?: {
3462
+ name: string;
3463
+ value?: string | undefined;
3464
+ valueFrom?: {
3465
+ secretKeyRef?: {
3466
+ key: string;
3467
+ name: string;
3468
+ } | undefined;
3469
+ configMapKeyRef?: {
3470
+ key: string;
3471
+ name: string;
3472
+ } | undefined;
3473
+ } | undefined;
3474
+ }[] | undefined;
3475
+ envFrom?: {
3476
+ secretRef?: {
3477
+ name: string;
3478
+ } | undefined;
3479
+ configMapRef?: {
3480
+ name: string;
3481
+ } | undefined;
3482
+ prefix?: string | undefined;
3483
+ }[] | undefined;
3484
+ annotations?: Record<string, string> | undefined;
3485
+ dind?: {
3486
+ enabled?: boolean | undefined;
3487
+ image?: string | undefined;
3488
+ dns?: string[] | undefined;
3489
+ dnsSearch?: string[] | undefined;
3490
+ resources?: {
3491
+ requests?: {
3492
+ cpu?: string | undefined;
3493
+ memory?: string | undefined;
3494
+ } | undefined;
3495
+ limits?: {
3496
+ cpu?: string | undefined;
3497
+ memory?: string | undefined;
3498
+ } | undefined;
3499
+ } | undefined;
3500
+ } | undefined;
3501
+ };
3502
+ isDefault: boolean;
3503
+ isSystem: boolean;
3504
+ description?: string | null | undefined;
3505
+ }>;
3506
+ export type PodTemplate = z.infer<typeof PodTemplateSchema>;
3507
+ export declare const PodTemplateCreateSchema: z.ZodObject<{
3508
+ name: z.ZodString;
3509
+ slug: z.ZodString;
3510
+ description: z.ZodOptional<z.ZodString>;
3511
+ spec: z.ZodObject<{
3512
+ image: z.ZodOptional<z.ZodString>;
3513
+ imagePullPolicy: z.ZodOptional<z.ZodEnum<["Always", "IfNotPresent", "Never"]>>;
3514
+ imagePullSecrets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3515
+ resources: z.ZodOptional<z.ZodObject<{
3516
+ requests: z.ZodOptional<z.ZodObject<{
3517
+ cpu: z.ZodOptional<z.ZodString>;
3518
+ memory: z.ZodOptional<z.ZodString>;
3519
+ }, "strip", z.ZodTypeAny, {
3520
+ cpu?: string | undefined;
3521
+ memory?: string | undefined;
3522
+ }, {
3523
+ cpu?: string | undefined;
3524
+ memory?: string | undefined;
3525
+ }>>;
3526
+ limits: z.ZodOptional<z.ZodObject<{
3527
+ cpu: z.ZodOptional<z.ZodString>;
3528
+ memory: z.ZodOptional<z.ZodString>;
3529
+ }, "strip", z.ZodTypeAny, {
3530
+ cpu?: string | undefined;
3531
+ memory?: string | undefined;
3532
+ }, {
3533
+ cpu?: string | undefined;
3534
+ memory?: string | undefined;
3535
+ }>>;
3536
+ }, "strip", z.ZodTypeAny, {
3537
+ requests?: {
3538
+ cpu?: string | undefined;
3539
+ memory?: string | undefined;
3540
+ } | undefined;
3541
+ limits?: {
3542
+ cpu?: string | undefined;
3543
+ memory?: string | undefined;
3544
+ } | undefined;
3545
+ }, {
3546
+ requests?: {
3547
+ cpu?: string | undefined;
3548
+ memory?: string | undefined;
3549
+ } | undefined;
3550
+ limits?: {
3551
+ cpu?: string | undefined;
3552
+ memory?: string | undefined;
3553
+ } | undefined;
3554
+ }>>;
3555
+ nodeSelector: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3556
+ tolerations: z.ZodOptional<z.ZodArray<z.ZodObject<{
3557
+ key: z.ZodOptional<z.ZodString>;
3558
+ operator: z.ZodOptional<z.ZodEnum<["Exists", "Equal"]>>;
3559
+ value: z.ZodOptional<z.ZodString>;
3560
+ effect: z.ZodOptional<z.ZodEnum<["NoSchedule", "PreferNoSchedule", "NoExecute"]>>;
3561
+ tolerationSeconds: z.ZodOptional<z.ZodNumber>;
3562
+ }, "strip", z.ZodTypeAny, {
3563
+ value?: string | undefined;
3564
+ key?: string | undefined;
3565
+ operator?: "Exists" | "Equal" | undefined;
3566
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
3567
+ tolerationSeconds?: number | undefined;
3568
+ }, {
3569
+ value?: string | undefined;
3570
+ key?: string | undefined;
3571
+ operator?: "Exists" | "Equal" | undefined;
3572
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
3573
+ tolerationSeconds?: number | undefined;
3574
+ }>, "many">>;
3575
+ serviceAccountName: z.ZodOptional<z.ZodString>;
3576
+ securityContext: z.ZodOptional<z.ZodObject<{
3577
+ runAsUser: z.ZodOptional<z.ZodNumber>;
3578
+ runAsGroup: z.ZodOptional<z.ZodNumber>;
3579
+ runAsNonRoot: z.ZodOptional<z.ZodBoolean>;
3580
+ fsGroup: z.ZodOptional<z.ZodNumber>;
3581
+ }, "strip", z.ZodTypeAny, {
3582
+ runAsUser?: number | undefined;
3583
+ runAsGroup?: number | undefined;
3584
+ runAsNonRoot?: boolean | undefined;
3585
+ fsGroup?: number | undefined;
3586
+ }, {
3587
+ runAsUser?: number | undefined;
3588
+ runAsGroup?: number | undefined;
3589
+ runAsNonRoot?: boolean | undefined;
3590
+ fsGroup?: number | undefined;
3591
+ }>>;
3592
+ volumes: z.ZodOptional<z.ZodArray<z.ZodObject<{
3593
+ name: z.ZodString;
3594
+ persistentVolumeClaim: z.ZodOptional<z.ZodObject<{
3595
+ claimName: z.ZodString;
3596
+ readOnly: z.ZodOptional<z.ZodBoolean>;
3597
+ }, "strip", z.ZodTypeAny, {
3598
+ claimName: string;
3599
+ readOnly?: boolean | undefined;
3600
+ }, {
3601
+ claimName: string;
3602
+ readOnly?: boolean | undefined;
3603
+ }>>;
3604
+ secret: z.ZodOptional<z.ZodObject<{
3605
+ secretName: z.ZodString;
3606
+ }, "strip", z.ZodTypeAny, {
3607
+ secretName: string;
3608
+ }, {
3609
+ secretName: string;
3610
+ }>>;
3611
+ configMap: z.ZodOptional<z.ZodObject<{
3612
+ name: z.ZodString;
3613
+ }, "strip", z.ZodTypeAny, {
3614
+ name: string;
3615
+ }, {
3616
+ name: string;
3617
+ }>>;
3618
+ emptyDir: z.ZodOptional<z.ZodObject<{
3619
+ medium: z.ZodOptional<z.ZodString>;
3620
+ sizeLimit: z.ZodOptional<z.ZodString>;
3621
+ }, "strip", z.ZodTypeAny, {
3622
+ medium?: string | undefined;
3623
+ sizeLimit?: string | undefined;
3624
+ }, {
3625
+ medium?: string | undefined;
3626
+ sizeLimit?: string | undefined;
3627
+ }>>;
3628
+ }, "strip", z.ZodTypeAny, {
3629
+ name: string;
3630
+ persistentVolumeClaim?: {
3631
+ claimName: string;
3632
+ readOnly?: boolean | undefined;
3633
+ } | undefined;
3634
+ secret?: {
3635
+ secretName: string;
3636
+ } | undefined;
3637
+ configMap?: {
3638
+ name: string;
3639
+ } | undefined;
3640
+ emptyDir?: {
3641
+ medium?: string | undefined;
3642
+ sizeLimit?: string | undefined;
3643
+ } | undefined;
3644
+ }, {
3645
+ name: string;
3646
+ persistentVolumeClaim?: {
3647
+ claimName: string;
3648
+ readOnly?: boolean | undefined;
3649
+ } | undefined;
3650
+ secret?: {
3651
+ secretName: string;
3652
+ } | undefined;
3653
+ configMap?: {
3654
+ name: string;
3655
+ } | undefined;
3656
+ emptyDir?: {
3657
+ medium?: string | undefined;
3658
+ sizeLimit?: string | undefined;
3659
+ } | undefined;
3660
+ }>, "many">>;
3661
+ volumeMounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
3662
+ name: z.ZodString;
3663
+ mountPath: z.ZodString;
3664
+ readOnly: z.ZodOptional<z.ZodBoolean>;
3665
+ subPath: z.ZodOptional<z.ZodString>;
3666
+ }, "strip", z.ZodTypeAny, {
3667
+ name: string;
3668
+ mountPath: string;
3669
+ readOnly?: boolean | undefined;
3670
+ subPath?: string | undefined;
3671
+ }, {
3672
+ name: string;
3673
+ mountPath: string;
3674
+ readOnly?: boolean | undefined;
3675
+ subPath?: string | undefined;
3676
+ }>, "many">>;
3677
+ env: z.ZodOptional<z.ZodArray<z.ZodObject<{
3678
+ name: z.ZodString;
3679
+ value: z.ZodOptional<z.ZodString>;
3680
+ valueFrom: z.ZodOptional<z.ZodObject<{
3681
+ secretKeyRef: z.ZodOptional<z.ZodObject<{
3682
+ name: z.ZodString;
3683
+ key: z.ZodString;
3684
+ }, "strip", z.ZodTypeAny, {
3685
+ key: string;
3686
+ name: string;
3687
+ }, {
3688
+ key: string;
3689
+ name: string;
3690
+ }>>;
3691
+ configMapKeyRef: z.ZodOptional<z.ZodObject<{
3692
+ name: z.ZodString;
3693
+ key: z.ZodString;
3694
+ }, "strip", z.ZodTypeAny, {
3695
+ key: string;
3696
+ name: string;
3697
+ }, {
3698
+ key: string;
3699
+ name: string;
3700
+ }>>;
3701
+ }, "strip", z.ZodTypeAny, {
3702
+ secretKeyRef?: {
3703
+ key: string;
3704
+ name: string;
3705
+ } | undefined;
3706
+ configMapKeyRef?: {
3707
+ key: string;
3708
+ name: string;
3709
+ } | undefined;
3710
+ }, {
3711
+ secretKeyRef?: {
3712
+ key: string;
3713
+ name: string;
3714
+ } | undefined;
3715
+ configMapKeyRef?: {
3716
+ key: string;
3717
+ name: string;
3718
+ } | undefined;
3719
+ }>>;
3720
+ }, "strip", z.ZodTypeAny, {
3721
+ name: string;
3722
+ value?: string | undefined;
3723
+ valueFrom?: {
3724
+ secretKeyRef?: {
3725
+ key: string;
3726
+ name: string;
3727
+ } | undefined;
3728
+ configMapKeyRef?: {
3729
+ key: string;
3730
+ name: string;
3731
+ } | undefined;
3732
+ } | undefined;
3733
+ }, {
3734
+ name: string;
3735
+ value?: string | undefined;
3736
+ valueFrom?: {
3737
+ secretKeyRef?: {
3738
+ key: string;
3739
+ name: string;
3740
+ } | undefined;
3741
+ configMapKeyRef?: {
3742
+ key: string;
3743
+ name: string;
3744
+ } | undefined;
3745
+ } | undefined;
3746
+ }>, "many">>;
3747
+ envFrom: z.ZodOptional<z.ZodArray<z.ZodObject<{
3748
+ secretRef: z.ZodOptional<z.ZodObject<{
3749
+ name: z.ZodString;
3750
+ }, "strip", z.ZodTypeAny, {
3751
+ name: string;
3752
+ }, {
3753
+ name: string;
3754
+ }>>;
3755
+ configMapRef: z.ZodOptional<z.ZodObject<{
3756
+ name: z.ZodString;
3757
+ }, "strip", z.ZodTypeAny, {
3758
+ name: string;
3759
+ }, {
3760
+ name: string;
3761
+ }>>;
3762
+ prefix: z.ZodOptional<z.ZodString>;
3763
+ }, "strip", z.ZodTypeAny, {
3764
+ secretRef?: {
3765
+ name: string;
3766
+ } | undefined;
3767
+ configMapRef?: {
3768
+ name: string;
3769
+ } | undefined;
3770
+ prefix?: string | undefined;
3771
+ }, {
3772
+ secretRef?: {
3773
+ name: string;
3774
+ } | undefined;
3775
+ configMapRef?: {
3776
+ name: string;
3777
+ } | undefined;
3778
+ prefix?: string | undefined;
3779
+ }>, "many">>;
3780
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3781
+ annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3782
+ dind: z.ZodOptional<z.ZodObject<{
3783
+ enabled: z.ZodDefault<z.ZodBoolean>;
3784
+ image: z.ZodOptional<z.ZodString>;
3785
+ dns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3786
+ dnsSearch: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3787
+ resources: z.ZodOptional<z.ZodObject<{
3788
+ requests: z.ZodOptional<z.ZodObject<{
3789
+ cpu: z.ZodOptional<z.ZodString>;
3790
+ memory: z.ZodOptional<z.ZodString>;
3791
+ }, "strip", z.ZodTypeAny, {
3792
+ cpu?: string | undefined;
3793
+ memory?: string | undefined;
3794
+ }, {
3795
+ cpu?: string | undefined;
3796
+ memory?: string | undefined;
3797
+ }>>;
3798
+ limits: z.ZodOptional<z.ZodObject<{
3799
+ cpu: z.ZodOptional<z.ZodString>;
3800
+ memory: z.ZodOptional<z.ZodString>;
3801
+ }, "strip", z.ZodTypeAny, {
3802
+ cpu?: string | undefined;
3803
+ memory?: string | undefined;
3804
+ }, {
3805
+ cpu?: string | undefined;
3806
+ memory?: string | undefined;
3807
+ }>>;
3808
+ }, "strip", z.ZodTypeAny, {
3809
+ requests?: {
3810
+ cpu?: string | undefined;
3811
+ memory?: string | undefined;
3812
+ } | undefined;
3813
+ limits?: {
3814
+ cpu?: string | undefined;
3815
+ memory?: string | undefined;
3816
+ } | undefined;
3817
+ }, {
3818
+ requests?: {
3819
+ cpu?: string | undefined;
3820
+ memory?: string | undefined;
3821
+ } | undefined;
3822
+ limits?: {
3823
+ cpu?: string | undefined;
3824
+ memory?: string | undefined;
3825
+ } | undefined;
3826
+ }>>;
3827
+ }, "strip", z.ZodTypeAny, {
3828
+ enabled: boolean;
3829
+ image?: string | undefined;
3830
+ dns?: string[] | undefined;
3831
+ dnsSearch?: string[] | undefined;
3832
+ resources?: {
3833
+ requests?: {
3834
+ cpu?: string | undefined;
3835
+ memory?: string | undefined;
3836
+ } | undefined;
3837
+ limits?: {
3838
+ cpu?: string | undefined;
3839
+ memory?: string | undefined;
3840
+ } | undefined;
3841
+ } | undefined;
3842
+ }, {
3843
+ enabled?: boolean | undefined;
3844
+ image?: string | undefined;
3845
+ dns?: string[] | undefined;
3846
+ dnsSearch?: string[] | undefined;
3847
+ resources?: {
3848
+ requests?: {
3849
+ cpu?: string | undefined;
3850
+ memory?: string | undefined;
3851
+ } | undefined;
3852
+ limits?: {
3853
+ cpu?: string | undefined;
3854
+ memory?: string | undefined;
3855
+ } | undefined;
3856
+ } | undefined;
3857
+ }>>;
3858
+ }, "strip", z.ZodTypeAny, {
3859
+ labels?: Record<string, string> | undefined;
3860
+ image?: string | undefined;
3861
+ resources?: {
3862
+ requests?: {
3863
+ cpu?: string | undefined;
3864
+ memory?: string | undefined;
3865
+ } | undefined;
3866
+ limits?: {
3867
+ cpu?: string | undefined;
3868
+ memory?: string | undefined;
3869
+ } | undefined;
3870
+ } | undefined;
3871
+ imagePullPolicy?: "Always" | "IfNotPresent" | "Never" | undefined;
3872
+ imagePullSecrets?: string[] | undefined;
3873
+ nodeSelector?: Record<string, string> | undefined;
3874
+ tolerations?: {
3875
+ value?: string | undefined;
3876
+ key?: string | undefined;
3877
+ operator?: "Exists" | "Equal" | undefined;
3878
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
3879
+ tolerationSeconds?: number | undefined;
3880
+ }[] | undefined;
3881
+ serviceAccountName?: string | undefined;
3882
+ securityContext?: {
3883
+ runAsUser?: number | undefined;
3884
+ runAsGroup?: number | undefined;
3885
+ runAsNonRoot?: boolean | undefined;
3886
+ fsGroup?: number | undefined;
3887
+ } | undefined;
3888
+ volumes?: {
3889
+ name: string;
3890
+ persistentVolumeClaim?: {
3891
+ claimName: string;
3892
+ readOnly?: boolean | undefined;
3893
+ } | undefined;
3894
+ secret?: {
3895
+ secretName: string;
3896
+ } | undefined;
3897
+ configMap?: {
3898
+ name: string;
3899
+ } | undefined;
3900
+ emptyDir?: {
3901
+ medium?: string | undefined;
3902
+ sizeLimit?: string | undefined;
3903
+ } | undefined;
3904
+ }[] | undefined;
3905
+ volumeMounts?: {
3906
+ name: string;
3907
+ mountPath: string;
3908
+ readOnly?: boolean | undefined;
3909
+ subPath?: string | undefined;
3910
+ }[] | undefined;
3911
+ env?: {
3912
+ name: string;
3913
+ value?: string | undefined;
3914
+ valueFrom?: {
3915
+ secretKeyRef?: {
3916
+ key: string;
3917
+ name: string;
3918
+ } | undefined;
3919
+ configMapKeyRef?: {
3920
+ key: string;
3921
+ name: string;
3922
+ } | undefined;
3923
+ } | undefined;
3924
+ }[] | undefined;
3925
+ envFrom?: {
3926
+ secretRef?: {
3927
+ name: string;
3928
+ } | undefined;
3929
+ configMapRef?: {
3930
+ name: string;
3931
+ } | undefined;
3932
+ prefix?: string | undefined;
3933
+ }[] | undefined;
3934
+ annotations?: Record<string, string> | undefined;
3935
+ dind?: {
3936
+ enabled: boolean;
3937
+ image?: string | undefined;
3938
+ dns?: string[] | undefined;
3939
+ dnsSearch?: string[] | undefined;
3940
+ resources?: {
3941
+ requests?: {
3942
+ cpu?: string | undefined;
3943
+ memory?: string | undefined;
3944
+ } | undefined;
3945
+ limits?: {
3946
+ cpu?: string | undefined;
3947
+ memory?: string | undefined;
3948
+ } | undefined;
3949
+ } | undefined;
3950
+ } | undefined;
3951
+ }, {
3952
+ labels?: Record<string, string> | undefined;
3953
+ image?: string | undefined;
3954
+ resources?: {
3955
+ requests?: {
3956
+ cpu?: string | undefined;
3957
+ memory?: string | undefined;
3958
+ } | undefined;
3959
+ limits?: {
3960
+ cpu?: string | undefined;
3961
+ memory?: string | undefined;
3962
+ } | undefined;
3963
+ } | undefined;
3964
+ imagePullPolicy?: "Always" | "IfNotPresent" | "Never" | undefined;
3965
+ imagePullSecrets?: string[] | undefined;
3966
+ nodeSelector?: Record<string, string> | undefined;
3967
+ tolerations?: {
3968
+ value?: string | undefined;
3969
+ key?: string | undefined;
3970
+ operator?: "Exists" | "Equal" | undefined;
3971
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
3972
+ tolerationSeconds?: number | undefined;
3973
+ }[] | undefined;
3974
+ serviceAccountName?: string | undefined;
3975
+ securityContext?: {
3976
+ runAsUser?: number | undefined;
3977
+ runAsGroup?: number | undefined;
3978
+ runAsNonRoot?: boolean | undefined;
3979
+ fsGroup?: number | undefined;
3980
+ } | undefined;
3981
+ volumes?: {
3982
+ name: string;
3983
+ persistentVolumeClaim?: {
3984
+ claimName: string;
3985
+ readOnly?: boolean | undefined;
3986
+ } | undefined;
3987
+ secret?: {
3988
+ secretName: string;
3989
+ } | undefined;
3990
+ configMap?: {
3991
+ name: string;
3992
+ } | undefined;
3993
+ emptyDir?: {
3994
+ medium?: string | undefined;
3995
+ sizeLimit?: string | undefined;
3996
+ } | undefined;
3997
+ }[] | undefined;
3998
+ volumeMounts?: {
3999
+ name: string;
4000
+ mountPath: string;
4001
+ readOnly?: boolean | undefined;
4002
+ subPath?: string | undefined;
4003
+ }[] | undefined;
4004
+ env?: {
4005
+ name: string;
4006
+ value?: string | undefined;
4007
+ valueFrom?: {
4008
+ secretKeyRef?: {
4009
+ key: string;
4010
+ name: string;
4011
+ } | undefined;
4012
+ configMapKeyRef?: {
4013
+ key: string;
4014
+ name: string;
4015
+ } | undefined;
4016
+ } | undefined;
4017
+ }[] | undefined;
4018
+ envFrom?: {
4019
+ secretRef?: {
4020
+ name: string;
4021
+ } | undefined;
4022
+ configMapRef?: {
4023
+ name: string;
4024
+ } | undefined;
4025
+ prefix?: string | undefined;
4026
+ }[] | undefined;
4027
+ annotations?: Record<string, string> | undefined;
4028
+ dind?: {
4029
+ enabled?: boolean | undefined;
4030
+ image?: string | undefined;
4031
+ dns?: string[] | undefined;
4032
+ dnsSearch?: string[] | undefined;
4033
+ resources?: {
4034
+ requests?: {
4035
+ cpu?: string | undefined;
4036
+ memory?: string | undefined;
4037
+ } | undefined;
4038
+ limits?: {
4039
+ cpu?: string | undefined;
4040
+ memory?: string | undefined;
4041
+ } | undefined;
4042
+ } | undefined;
4043
+ } | undefined;
4044
+ }>;
4045
+ isDefault: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4046
+ }, "strip", z.ZodTypeAny, {
4047
+ name: string;
4048
+ slug: string;
4049
+ spec: {
4050
+ labels?: Record<string, string> | undefined;
4051
+ image?: string | undefined;
4052
+ resources?: {
4053
+ requests?: {
4054
+ cpu?: string | undefined;
4055
+ memory?: string | undefined;
4056
+ } | undefined;
4057
+ limits?: {
4058
+ cpu?: string | undefined;
4059
+ memory?: string | undefined;
4060
+ } | undefined;
4061
+ } | undefined;
4062
+ imagePullPolicy?: "Always" | "IfNotPresent" | "Never" | undefined;
4063
+ imagePullSecrets?: string[] | undefined;
4064
+ nodeSelector?: Record<string, string> | undefined;
4065
+ tolerations?: {
4066
+ value?: string | undefined;
4067
+ key?: string | undefined;
4068
+ operator?: "Exists" | "Equal" | undefined;
4069
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
4070
+ tolerationSeconds?: number | undefined;
4071
+ }[] | undefined;
4072
+ serviceAccountName?: string | undefined;
4073
+ securityContext?: {
4074
+ runAsUser?: number | undefined;
4075
+ runAsGroup?: number | undefined;
4076
+ runAsNonRoot?: boolean | undefined;
4077
+ fsGroup?: number | undefined;
4078
+ } | undefined;
4079
+ volumes?: {
4080
+ name: string;
4081
+ persistentVolumeClaim?: {
4082
+ claimName: string;
4083
+ readOnly?: boolean | undefined;
4084
+ } | undefined;
4085
+ secret?: {
4086
+ secretName: string;
4087
+ } | undefined;
4088
+ configMap?: {
4089
+ name: string;
4090
+ } | undefined;
4091
+ emptyDir?: {
4092
+ medium?: string | undefined;
4093
+ sizeLimit?: string | undefined;
4094
+ } | undefined;
4095
+ }[] | undefined;
4096
+ volumeMounts?: {
4097
+ name: string;
4098
+ mountPath: string;
4099
+ readOnly?: boolean | undefined;
4100
+ subPath?: string | undefined;
4101
+ }[] | undefined;
4102
+ env?: {
4103
+ name: string;
4104
+ value?: string | undefined;
4105
+ valueFrom?: {
4106
+ secretKeyRef?: {
4107
+ key: string;
4108
+ name: string;
4109
+ } | undefined;
4110
+ configMapKeyRef?: {
4111
+ key: string;
4112
+ name: string;
4113
+ } | undefined;
4114
+ } | undefined;
4115
+ }[] | undefined;
4116
+ envFrom?: {
4117
+ secretRef?: {
4118
+ name: string;
4119
+ } | undefined;
4120
+ configMapRef?: {
4121
+ name: string;
4122
+ } | undefined;
4123
+ prefix?: string | undefined;
4124
+ }[] | undefined;
4125
+ annotations?: Record<string, string> | undefined;
4126
+ dind?: {
4127
+ enabled: boolean;
4128
+ image?: string | undefined;
4129
+ dns?: string[] | undefined;
4130
+ dnsSearch?: string[] | undefined;
4131
+ resources?: {
4132
+ requests?: {
4133
+ cpu?: string | undefined;
4134
+ memory?: string | undefined;
4135
+ } | undefined;
4136
+ limits?: {
4137
+ cpu?: string | undefined;
4138
+ memory?: string | undefined;
4139
+ } | undefined;
4140
+ } | undefined;
4141
+ } | undefined;
4142
+ };
4143
+ isDefault: boolean;
4144
+ description?: string | undefined;
4145
+ }, {
4146
+ name: string;
4147
+ slug: string;
4148
+ spec: {
4149
+ labels?: Record<string, string> | undefined;
4150
+ image?: string | undefined;
4151
+ resources?: {
4152
+ requests?: {
4153
+ cpu?: string | undefined;
4154
+ memory?: string | undefined;
4155
+ } | undefined;
4156
+ limits?: {
4157
+ cpu?: string | undefined;
4158
+ memory?: string | undefined;
4159
+ } | undefined;
4160
+ } | undefined;
4161
+ imagePullPolicy?: "Always" | "IfNotPresent" | "Never" | undefined;
4162
+ imagePullSecrets?: string[] | undefined;
4163
+ nodeSelector?: Record<string, string> | undefined;
4164
+ tolerations?: {
4165
+ value?: string | undefined;
4166
+ key?: string | undefined;
4167
+ operator?: "Exists" | "Equal" | undefined;
4168
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
4169
+ tolerationSeconds?: number | undefined;
4170
+ }[] | undefined;
4171
+ serviceAccountName?: string | undefined;
4172
+ securityContext?: {
4173
+ runAsUser?: number | undefined;
4174
+ runAsGroup?: number | undefined;
4175
+ runAsNonRoot?: boolean | undefined;
4176
+ fsGroup?: number | undefined;
4177
+ } | undefined;
4178
+ volumes?: {
4179
+ name: string;
4180
+ persistentVolumeClaim?: {
4181
+ claimName: string;
4182
+ readOnly?: boolean | undefined;
4183
+ } | undefined;
4184
+ secret?: {
4185
+ secretName: string;
4186
+ } | undefined;
4187
+ configMap?: {
4188
+ name: string;
4189
+ } | undefined;
4190
+ emptyDir?: {
4191
+ medium?: string | undefined;
4192
+ sizeLimit?: string | undefined;
4193
+ } | undefined;
4194
+ }[] | undefined;
4195
+ volumeMounts?: {
4196
+ name: string;
4197
+ mountPath: string;
4198
+ readOnly?: boolean | undefined;
4199
+ subPath?: string | undefined;
4200
+ }[] | undefined;
4201
+ env?: {
4202
+ name: string;
4203
+ value?: string | undefined;
4204
+ valueFrom?: {
4205
+ secretKeyRef?: {
4206
+ key: string;
4207
+ name: string;
4208
+ } | undefined;
4209
+ configMapKeyRef?: {
4210
+ key: string;
4211
+ name: string;
4212
+ } | undefined;
4213
+ } | undefined;
4214
+ }[] | undefined;
4215
+ envFrom?: {
4216
+ secretRef?: {
4217
+ name: string;
4218
+ } | undefined;
4219
+ configMapRef?: {
4220
+ name: string;
4221
+ } | undefined;
4222
+ prefix?: string | undefined;
4223
+ }[] | undefined;
4224
+ annotations?: Record<string, string> | undefined;
4225
+ dind?: {
4226
+ enabled?: boolean | undefined;
4227
+ image?: string | undefined;
4228
+ dns?: string[] | undefined;
4229
+ dnsSearch?: string[] | undefined;
4230
+ resources?: {
4231
+ requests?: {
4232
+ cpu?: string | undefined;
4233
+ memory?: string | undefined;
4234
+ } | undefined;
4235
+ limits?: {
4236
+ cpu?: string | undefined;
4237
+ memory?: string | undefined;
4238
+ } | undefined;
4239
+ } | undefined;
4240
+ } | undefined;
4241
+ };
4242
+ description?: string | undefined;
4243
+ isDefault?: boolean | undefined;
4244
+ }>;
4245
+ export type PodTemplateCreate = z.infer<typeof PodTemplateCreateSchema>;
4246
+ export declare const PodTemplateUpdateSchema: z.ZodObject<{
4247
+ name: z.ZodOptional<z.ZodString>;
4248
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4249
+ spec: z.ZodOptional<z.ZodObject<{
4250
+ image: z.ZodOptional<z.ZodString>;
4251
+ imagePullPolicy: z.ZodOptional<z.ZodEnum<["Always", "IfNotPresent", "Never"]>>;
4252
+ imagePullSecrets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4253
+ resources: z.ZodOptional<z.ZodObject<{
4254
+ requests: z.ZodOptional<z.ZodObject<{
4255
+ cpu: z.ZodOptional<z.ZodString>;
4256
+ memory: z.ZodOptional<z.ZodString>;
4257
+ }, "strip", z.ZodTypeAny, {
4258
+ cpu?: string | undefined;
4259
+ memory?: string | undefined;
4260
+ }, {
4261
+ cpu?: string | undefined;
4262
+ memory?: string | undefined;
4263
+ }>>;
4264
+ limits: z.ZodOptional<z.ZodObject<{
4265
+ cpu: z.ZodOptional<z.ZodString>;
4266
+ memory: z.ZodOptional<z.ZodString>;
4267
+ }, "strip", z.ZodTypeAny, {
4268
+ cpu?: string | undefined;
4269
+ memory?: string | undefined;
4270
+ }, {
4271
+ cpu?: string | undefined;
4272
+ memory?: string | undefined;
4273
+ }>>;
4274
+ }, "strip", z.ZodTypeAny, {
4275
+ requests?: {
4276
+ cpu?: string | undefined;
4277
+ memory?: string | undefined;
4278
+ } | undefined;
4279
+ limits?: {
4280
+ cpu?: string | undefined;
4281
+ memory?: string | undefined;
4282
+ } | undefined;
4283
+ }, {
4284
+ requests?: {
4285
+ cpu?: string | undefined;
4286
+ memory?: string | undefined;
4287
+ } | undefined;
4288
+ limits?: {
4289
+ cpu?: string | undefined;
4290
+ memory?: string | undefined;
4291
+ } | undefined;
4292
+ }>>;
4293
+ nodeSelector: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4294
+ tolerations: z.ZodOptional<z.ZodArray<z.ZodObject<{
4295
+ key: z.ZodOptional<z.ZodString>;
4296
+ operator: z.ZodOptional<z.ZodEnum<["Exists", "Equal"]>>;
4297
+ value: z.ZodOptional<z.ZodString>;
4298
+ effect: z.ZodOptional<z.ZodEnum<["NoSchedule", "PreferNoSchedule", "NoExecute"]>>;
4299
+ tolerationSeconds: z.ZodOptional<z.ZodNumber>;
4300
+ }, "strip", z.ZodTypeAny, {
4301
+ value?: string | undefined;
4302
+ key?: string | undefined;
4303
+ operator?: "Exists" | "Equal" | undefined;
4304
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
4305
+ tolerationSeconds?: number | undefined;
4306
+ }, {
4307
+ value?: string | undefined;
4308
+ key?: string | undefined;
4309
+ operator?: "Exists" | "Equal" | undefined;
4310
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
4311
+ tolerationSeconds?: number | undefined;
4312
+ }>, "many">>;
4313
+ serviceAccountName: z.ZodOptional<z.ZodString>;
4314
+ securityContext: z.ZodOptional<z.ZodObject<{
4315
+ runAsUser: z.ZodOptional<z.ZodNumber>;
4316
+ runAsGroup: z.ZodOptional<z.ZodNumber>;
4317
+ runAsNonRoot: z.ZodOptional<z.ZodBoolean>;
4318
+ fsGroup: z.ZodOptional<z.ZodNumber>;
4319
+ }, "strip", z.ZodTypeAny, {
4320
+ runAsUser?: number | undefined;
4321
+ runAsGroup?: number | undefined;
4322
+ runAsNonRoot?: boolean | undefined;
4323
+ fsGroup?: number | undefined;
4324
+ }, {
4325
+ runAsUser?: number | undefined;
4326
+ runAsGroup?: number | undefined;
4327
+ runAsNonRoot?: boolean | undefined;
4328
+ fsGroup?: number | undefined;
4329
+ }>>;
4330
+ volumes: z.ZodOptional<z.ZodArray<z.ZodObject<{
4331
+ name: z.ZodString;
4332
+ persistentVolumeClaim: z.ZodOptional<z.ZodObject<{
4333
+ claimName: z.ZodString;
4334
+ readOnly: z.ZodOptional<z.ZodBoolean>;
4335
+ }, "strip", z.ZodTypeAny, {
4336
+ claimName: string;
4337
+ readOnly?: boolean | undefined;
4338
+ }, {
4339
+ claimName: string;
4340
+ readOnly?: boolean | undefined;
4341
+ }>>;
4342
+ secret: z.ZodOptional<z.ZodObject<{
4343
+ secretName: z.ZodString;
4344
+ }, "strip", z.ZodTypeAny, {
4345
+ secretName: string;
4346
+ }, {
4347
+ secretName: string;
4348
+ }>>;
4349
+ configMap: z.ZodOptional<z.ZodObject<{
4350
+ name: z.ZodString;
4351
+ }, "strip", z.ZodTypeAny, {
4352
+ name: string;
4353
+ }, {
4354
+ name: string;
4355
+ }>>;
4356
+ emptyDir: z.ZodOptional<z.ZodObject<{
4357
+ medium: z.ZodOptional<z.ZodString>;
4358
+ sizeLimit: z.ZodOptional<z.ZodString>;
4359
+ }, "strip", z.ZodTypeAny, {
4360
+ medium?: string | undefined;
4361
+ sizeLimit?: string | undefined;
4362
+ }, {
4363
+ medium?: string | undefined;
4364
+ sizeLimit?: string | undefined;
4365
+ }>>;
4366
+ }, "strip", z.ZodTypeAny, {
4367
+ name: string;
4368
+ persistentVolumeClaim?: {
4369
+ claimName: string;
4370
+ readOnly?: boolean | undefined;
4371
+ } | undefined;
4372
+ secret?: {
4373
+ secretName: string;
4374
+ } | undefined;
4375
+ configMap?: {
4376
+ name: string;
4377
+ } | undefined;
4378
+ emptyDir?: {
4379
+ medium?: string | undefined;
4380
+ sizeLimit?: string | undefined;
4381
+ } | undefined;
4382
+ }, {
4383
+ name: string;
4384
+ persistentVolumeClaim?: {
4385
+ claimName: string;
4386
+ readOnly?: boolean | undefined;
4387
+ } | undefined;
4388
+ secret?: {
4389
+ secretName: string;
4390
+ } | undefined;
4391
+ configMap?: {
4392
+ name: string;
4393
+ } | undefined;
4394
+ emptyDir?: {
4395
+ medium?: string | undefined;
4396
+ sizeLimit?: string | undefined;
4397
+ } | undefined;
4398
+ }>, "many">>;
4399
+ volumeMounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
4400
+ name: z.ZodString;
4401
+ mountPath: z.ZodString;
4402
+ readOnly: z.ZodOptional<z.ZodBoolean>;
4403
+ subPath: z.ZodOptional<z.ZodString>;
4404
+ }, "strip", z.ZodTypeAny, {
4405
+ name: string;
4406
+ mountPath: string;
4407
+ readOnly?: boolean | undefined;
4408
+ subPath?: string | undefined;
4409
+ }, {
4410
+ name: string;
4411
+ mountPath: string;
4412
+ readOnly?: boolean | undefined;
4413
+ subPath?: string | undefined;
4414
+ }>, "many">>;
4415
+ env: z.ZodOptional<z.ZodArray<z.ZodObject<{
4416
+ name: z.ZodString;
4417
+ value: z.ZodOptional<z.ZodString>;
4418
+ valueFrom: z.ZodOptional<z.ZodObject<{
4419
+ secretKeyRef: z.ZodOptional<z.ZodObject<{
4420
+ name: z.ZodString;
4421
+ key: z.ZodString;
4422
+ }, "strip", z.ZodTypeAny, {
4423
+ key: string;
4424
+ name: string;
4425
+ }, {
4426
+ key: string;
4427
+ name: string;
4428
+ }>>;
4429
+ configMapKeyRef: z.ZodOptional<z.ZodObject<{
4430
+ name: z.ZodString;
4431
+ key: z.ZodString;
4432
+ }, "strip", z.ZodTypeAny, {
4433
+ key: string;
4434
+ name: string;
4435
+ }, {
4436
+ key: string;
4437
+ name: string;
4438
+ }>>;
4439
+ }, "strip", z.ZodTypeAny, {
4440
+ secretKeyRef?: {
4441
+ key: string;
4442
+ name: string;
4443
+ } | undefined;
4444
+ configMapKeyRef?: {
4445
+ key: string;
4446
+ name: string;
4447
+ } | undefined;
4448
+ }, {
4449
+ secretKeyRef?: {
4450
+ key: string;
4451
+ name: string;
4452
+ } | undefined;
4453
+ configMapKeyRef?: {
4454
+ key: string;
4455
+ name: string;
4456
+ } | undefined;
4457
+ }>>;
4458
+ }, "strip", z.ZodTypeAny, {
4459
+ name: string;
4460
+ value?: string | undefined;
4461
+ valueFrom?: {
4462
+ secretKeyRef?: {
4463
+ key: string;
4464
+ name: string;
4465
+ } | undefined;
4466
+ configMapKeyRef?: {
4467
+ key: string;
4468
+ name: string;
4469
+ } | undefined;
4470
+ } | undefined;
4471
+ }, {
4472
+ name: string;
4473
+ value?: string | undefined;
4474
+ valueFrom?: {
4475
+ secretKeyRef?: {
4476
+ key: string;
4477
+ name: string;
4478
+ } | undefined;
4479
+ configMapKeyRef?: {
4480
+ key: string;
4481
+ name: string;
4482
+ } | undefined;
4483
+ } | undefined;
4484
+ }>, "many">>;
4485
+ envFrom: z.ZodOptional<z.ZodArray<z.ZodObject<{
4486
+ secretRef: z.ZodOptional<z.ZodObject<{
4487
+ name: z.ZodString;
4488
+ }, "strip", z.ZodTypeAny, {
4489
+ name: string;
4490
+ }, {
4491
+ name: string;
4492
+ }>>;
4493
+ configMapRef: z.ZodOptional<z.ZodObject<{
4494
+ name: z.ZodString;
4495
+ }, "strip", z.ZodTypeAny, {
4496
+ name: string;
4497
+ }, {
4498
+ name: string;
4499
+ }>>;
4500
+ prefix: z.ZodOptional<z.ZodString>;
4501
+ }, "strip", z.ZodTypeAny, {
4502
+ secretRef?: {
4503
+ name: string;
4504
+ } | undefined;
4505
+ configMapRef?: {
4506
+ name: string;
4507
+ } | undefined;
4508
+ prefix?: string | undefined;
4509
+ }, {
4510
+ secretRef?: {
4511
+ name: string;
4512
+ } | undefined;
4513
+ configMapRef?: {
4514
+ name: string;
4515
+ } | undefined;
4516
+ prefix?: string | undefined;
4517
+ }>, "many">>;
4518
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4519
+ annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4520
+ dind: z.ZodOptional<z.ZodObject<{
4521
+ enabled: z.ZodDefault<z.ZodBoolean>;
4522
+ image: z.ZodOptional<z.ZodString>;
4523
+ dns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4524
+ dnsSearch: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4525
+ resources: z.ZodOptional<z.ZodObject<{
4526
+ requests: z.ZodOptional<z.ZodObject<{
4527
+ cpu: z.ZodOptional<z.ZodString>;
4528
+ memory: z.ZodOptional<z.ZodString>;
4529
+ }, "strip", z.ZodTypeAny, {
4530
+ cpu?: string | undefined;
4531
+ memory?: string | undefined;
4532
+ }, {
4533
+ cpu?: string | undefined;
4534
+ memory?: string | undefined;
4535
+ }>>;
4536
+ limits: z.ZodOptional<z.ZodObject<{
4537
+ cpu: z.ZodOptional<z.ZodString>;
4538
+ memory: z.ZodOptional<z.ZodString>;
4539
+ }, "strip", z.ZodTypeAny, {
4540
+ cpu?: string | undefined;
4541
+ memory?: string | undefined;
4542
+ }, {
4543
+ cpu?: string | undefined;
4544
+ memory?: string | undefined;
4545
+ }>>;
4546
+ }, "strip", z.ZodTypeAny, {
4547
+ requests?: {
4548
+ cpu?: string | undefined;
4549
+ memory?: string | undefined;
4550
+ } | undefined;
4551
+ limits?: {
4552
+ cpu?: string | undefined;
4553
+ memory?: string | undefined;
4554
+ } | undefined;
4555
+ }, {
4556
+ requests?: {
4557
+ cpu?: string | undefined;
4558
+ memory?: string | undefined;
4559
+ } | undefined;
4560
+ limits?: {
4561
+ cpu?: string | undefined;
4562
+ memory?: string | undefined;
4563
+ } | undefined;
4564
+ }>>;
4565
+ }, "strip", z.ZodTypeAny, {
4566
+ enabled: boolean;
4567
+ image?: string | undefined;
4568
+ dns?: string[] | undefined;
4569
+ dnsSearch?: string[] | undefined;
4570
+ resources?: {
4571
+ requests?: {
4572
+ cpu?: string | undefined;
4573
+ memory?: string | undefined;
4574
+ } | undefined;
4575
+ limits?: {
4576
+ cpu?: string | undefined;
4577
+ memory?: string | undefined;
4578
+ } | undefined;
4579
+ } | undefined;
4580
+ }, {
4581
+ enabled?: boolean | undefined;
4582
+ image?: string | undefined;
4583
+ dns?: string[] | undefined;
4584
+ dnsSearch?: string[] | undefined;
4585
+ resources?: {
4586
+ requests?: {
4587
+ cpu?: string | undefined;
4588
+ memory?: string | undefined;
4589
+ } | undefined;
4590
+ limits?: {
4591
+ cpu?: string | undefined;
4592
+ memory?: string | undefined;
4593
+ } | undefined;
4594
+ } | undefined;
4595
+ }>>;
4596
+ }, "strip", z.ZodTypeAny, {
4597
+ labels?: Record<string, string> | undefined;
4598
+ image?: string | undefined;
4599
+ resources?: {
4600
+ requests?: {
4601
+ cpu?: string | undefined;
4602
+ memory?: string | undefined;
4603
+ } | undefined;
4604
+ limits?: {
4605
+ cpu?: string | undefined;
4606
+ memory?: string | undefined;
4607
+ } | undefined;
4608
+ } | undefined;
4609
+ imagePullPolicy?: "Always" | "IfNotPresent" | "Never" | undefined;
4610
+ imagePullSecrets?: string[] | undefined;
4611
+ nodeSelector?: Record<string, string> | undefined;
4612
+ tolerations?: {
4613
+ value?: string | undefined;
4614
+ key?: string | undefined;
4615
+ operator?: "Exists" | "Equal" | undefined;
4616
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
4617
+ tolerationSeconds?: number | undefined;
4618
+ }[] | undefined;
4619
+ serviceAccountName?: string | undefined;
4620
+ securityContext?: {
4621
+ runAsUser?: number | undefined;
4622
+ runAsGroup?: number | undefined;
4623
+ runAsNonRoot?: boolean | undefined;
4624
+ fsGroup?: number | undefined;
4625
+ } | undefined;
4626
+ volumes?: {
4627
+ name: string;
4628
+ persistentVolumeClaim?: {
4629
+ claimName: string;
4630
+ readOnly?: boolean | undefined;
4631
+ } | undefined;
4632
+ secret?: {
4633
+ secretName: string;
4634
+ } | undefined;
4635
+ configMap?: {
4636
+ name: string;
4637
+ } | undefined;
4638
+ emptyDir?: {
4639
+ medium?: string | undefined;
4640
+ sizeLimit?: string | undefined;
4641
+ } | undefined;
4642
+ }[] | undefined;
4643
+ volumeMounts?: {
4644
+ name: string;
4645
+ mountPath: string;
4646
+ readOnly?: boolean | undefined;
4647
+ subPath?: string | undefined;
4648
+ }[] | undefined;
4649
+ env?: {
4650
+ name: string;
4651
+ value?: string | undefined;
4652
+ valueFrom?: {
4653
+ secretKeyRef?: {
4654
+ key: string;
4655
+ name: string;
4656
+ } | undefined;
4657
+ configMapKeyRef?: {
4658
+ key: string;
4659
+ name: string;
4660
+ } | undefined;
4661
+ } | undefined;
4662
+ }[] | undefined;
4663
+ envFrom?: {
4664
+ secretRef?: {
4665
+ name: string;
4666
+ } | undefined;
4667
+ configMapRef?: {
4668
+ name: string;
4669
+ } | undefined;
4670
+ prefix?: string | undefined;
4671
+ }[] | undefined;
4672
+ annotations?: Record<string, string> | undefined;
4673
+ dind?: {
4674
+ enabled: boolean;
4675
+ image?: string | undefined;
4676
+ dns?: string[] | undefined;
4677
+ dnsSearch?: string[] | undefined;
4678
+ resources?: {
4679
+ requests?: {
4680
+ cpu?: string | undefined;
4681
+ memory?: string | undefined;
4682
+ } | undefined;
4683
+ limits?: {
4684
+ cpu?: string | undefined;
4685
+ memory?: string | undefined;
4686
+ } | undefined;
4687
+ } | undefined;
4688
+ } | undefined;
4689
+ }, {
4690
+ labels?: Record<string, string> | undefined;
4691
+ image?: string | undefined;
4692
+ resources?: {
4693
+ requests?: {
4694
+ cpu?: string | undefined;
4695
+ memory?: string | undefined;
4696
+ } | undefined;
4697
+ limits?: {
4698
+ cpu?: string | undefined;
4699
+ memory?: string | undefined;
4700
+ } | undefined;
4701
+ } | undefined;
4702
+ imagePullPolicy?: "Always" | "IfNotPresent" | "Never" | undefined;
4703
+ imagePullSecrets?: string[] | undefined;
4704
+ nodeSelector?: Record<string, string> | undefined;
4705
+ tolerations?: {
4706
+ value?: string | undefined;
4707
+ key?: string | undefined;
4708
+ operator?: "Exists" | "Equal" | undefined;
4709
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
4710
+ tolerationSeconds?: number | undefined;
4711
+ }[] | undefined;
4712
+ serviceAccountName?: string | undefined;
4713
+ securityContext?: {
4714
+ runAsUser?: number | undefined;
4715
+ runAsGroup?: number | undefined;
4716
+ runAsNonRoot?: boolean | undefined;
4717
+ fsGroup?: number | undefined;
4718
+ } | undefined;
4719
+ volumes?: {
4720
+ name: string;
4721
+ persistentVolumeClaim?: {
4722
+ claimName: string;
4723
+ readOnly?: boolean | undefined;
4724
+ } | undefined;
4725
+ secret?: {
4726
+ secretName: string;
4727
+ } | undefined;
4728
+ configMap?: {
4729
+ name: string;
4730
+ } | undefined;
4731
+ emptyDir?: {
4732
+ medium?: string | undefined;
4733
+ sizeLimit?: string | undefined;
4734
+ } | undefined;
4735
+ }[] | undefined;
4736
+ volumeMounts?: {
4737
+ name: string;
4738
+ mountPath: string;
4739
+ readOnly?: boolean | undefined;
4740
+ subPath?: string | undefined;
4741
+ }[] | undefined;
4742
+ env?: {
4743
+ name: string;
4744
+ value?: string | undefined;
4745
+ valueFrom?: {
4746
+ secretKeyRef?: {
4747
+ key: string;
4748
+ name: string;
4749
+ } | undefined;
4750
+ configMapKeyRef?: {
4751
+ key: string;
4752
+ name: string;
4753
+ } | undefined;
4754
+ } | undefined;
4755
+ }[] | undefined;
4756
+ envFrom?: {
4757
+ secretRef?: {
4758
+ name: string;
4759
+ } | undefined;
4760
+ configMapRef?: {
4761
+ name: string;
4762
+ } | undefined;
4763
+ prefix?: string | undefined;
4764
+ }[] | undefined;
4765
+ annotations?: Record<string, string> | undefined;
4766
+ dind?: {
4767
+ enabled?: boolean | undefined;
4768
+ image?: string | undefined;
4769
+ dns?: string[] | undefined;
4770
+ dnsSearch?: string[] | undefined;
4771
+ resources?: {
4772
+ requests?: {
4773
+ cpu?: string | undefined;
4774
+ memory?: string | undefined;
4775
+ } | undefined;
4776
+ limits?: {
4777
+ cpu?: string | undefined;
4778
+ memory?: string | undefined;
4779
+ } | undefined;
4780
+ } | undefined;
4781
+ } | undefined;
4782
+ }>>;
4783
+ isDefault: z.ZodOptional<z.ZodBoolean>;
4784
+ }, "strip", z.ZodTypeAny, {
4785
+ name?: string | undefined;
4786
+ description?: string | null | undefined;
4787
+ spec?: {
4788
+ labels?: Record<string, string> | undefined;
4789
+ image?: string | undefined;
4790
+ resources?: {
4791
+ requests?: {
4792
+ cpu?: string | undefined;
4793
+ memory?: string | undefined;
4794
+ } | undefined;
4795
+ limits?: {
4796
+ cpu?: string | undefined;
4797
+ memory?: string | undefined;
4798
+ } | undefined;
4799
+ } | undefined;
4800
+ imagePullPolicy?: "Always" | "IfNotPresent" | "Never" | undefined;
4801
+ imagePullSecrets?: string[] | undefined;
4802
+ nodeSelector?: Record<string, string> | undefined;
4803
+ tolerations?: {
4804
+ value?: string | undefined;
4805
+ key?: string | undefined;
4806
+ operator?: "Exists" | "Equal" | undefined;
4807
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
4808
+ tolerationSeconds?: number | undefined;
4809
+ }[] | undefined;
4810
+ serviceAccountName?: string | undefined;
4811
+ securityContext?: {
4812
+ runAsUser?: number | undefined;
4813
+ runAsGroup?: number | undefined;
4814
+ runAsNonRoot?: boolean | undefined;
4815
+ fsGroup?: number | undefined;
4816
+ } | undefined;
4817
+ volumes?: {
4818
+ name: string;
4819
+ persistentVolumeClaim?: {
4820
+ claimName: string;
4821
+ readOnly?: boolean | undefined;
4822
+ } | undefined;
4823
+ secret?: {
4824
+ secretName: string;
4825
+ } | undefined;
4826
+ configMap?: {
4827
+ name: string;
4828
+ } | undefined;
4829
+ emptyDir?: {
4830
+ medium?: string | undefined;
4831
+ sizeLimit?: string | undefined;
4832
+ } | undefined;
4833
+ }[] | undefined;
4834
+ volumeMounts?: {
4835
+ name: string;
4836
+ mountPath: string;
4837
+ readOnly?: boolean | undefined;
4838
+ subPath?: string | undefined;
4839
+ }[] | undefined;
4840
+ env?: {
4841
+ name: string;
4842
+ value?: string | undefined;
4843
+ valueFrom?: {
4844
+ secretKeyRef?: {
4845
+ key: string;
4846
+ name: string;
4847
+ } | undefined;
4848
+ configMapKeyRef?: {
4849
+ key: string;
4850
+ name: string;
4851
+ } | undefined;
4852
+ } | undefined;
4853
+ }[] | undefined;
4854
+ envFrom?: {
4855
+ secretRef?: {
4856
+ name: string;
4857
+ } | undefined;
4858
+ configMapRef?: {
4859
+ name: string;
4860
+ } | undefined;
4861
+ prefix?: string | undefined;
4862
+ }[] | undefined;
4863
+ annotations?: Record<string, string> | undefined;
4864
+ dind?: {
4865
+ enabled: boolean;
4866
+ image?: string | undefined;
4867
+ dns?: string[] | undefined;
4868
+ dnsSearch?: string[] | undefined;
4869
+ resources?: {
4870
+ requests?: {
4871
+ cpu?: string | undefined;
4872
+ memory?: string | undefined;
4873
+ } | undefined;
4874
+ limits?: {
4875
+ cpu?: string | undefined;
4876
+ memory?: string | undefined;
4877
+ } | undefined;
4878
+ } | undefined;
4879
+ } | undefined;
4880
+ } | undefined;
4881
+ isDefault?: boolean | undefined;
4882
+ }, {
4883
+ name?: string | undefined;
4884
+ description?: string | null | undefined;
4885
+ spec?: {
4886
+ labels?: Record<string, string> | undefined;
4887
+ image?: string | undefined;
4888
+ resources?: {
4889
+ requests?: {
4890
+ cpu?: string | undefined;
4891
+ memory?: string | undefined;
4892
+ } | undefined;
4893
+ limits?: {
4894
+ cpu?: string | undefined;
4895
+ memory?: string | undefined;
4896
+ } | undefined;
4897
+ } | undefined;
4898
+ imagePullPolicy?: "Always" | "IfNotPresent" | "Never" | undefined;
4899
+ imagePullSecrets?: string[] | undefined;
4900
+ nodeSelector?: Record<string, string> | undefined;
4901
+ tolerations?: {
4902
+ value?: string | undefined;
4903
+ key?: string | undefined;
4904
+ operator?: "Exists" | "Equal" | undefined;
4905
+ effect?: "NoSchedule" | "PreferNoSchedule" | "NoExecute" | undefined;
4906
+ tolerationSeconds?: number | undefined;
4907
+ }[] | undefined;
4908
+ serviceAccountName?: string | undefined;
4909
+ securityContext?: {
4910
+ runAsUser?: number | undefined;
4911
+ runAsGroup?: number | undefined;
4912
+ runAsNonRoot?: boolean | undefined;
4913
+ fsGroup?: number | undefined;
4914
+ } | undefined;
4915
+ volumes?: {
4916
+ name: string;
4917
+ persistentVolumeClaim?: {
4918
+ claimName: string;
4919
+ readOnly?: boolean | undefined;
4920
+ } | undefined;
4921
+ secret?: {
4922
+ secretName: string;
4923
+ } | undefined;
4924
+ configMap?: {
4925
+ name: string;
4926
+ } | undefined;
4927
+ emptyDir?: {
4928
+ medium?: string | undefined;
4929
+ sizeLimit?: string | undefined;
4930
+ } | undefined;
4931
+ }[] | undefined;
4932
+ volumeMounts?: {
4933
+ name: string;
4934
+ mountPath: string;
4935
+ readOnly?: boolean | undefined;
4936
+ subPath?: string | undefined;
4937
+ }[] | undefined;
4938
+ env?: {
4939
+ name: string;
4940
+ value?: string | undefined;
4941
+ valueFrom?: {
4942
+ secretKeyRef?: {
4943
+ key: string;
4944
+ name: string;
4945
+ } | undefined;
4946
+ configMapKeyRef?: {
4947
+ key: string;
4948
+ name: string;
4949
+ } | undefined;
4950
+ } | undefined;
4951
+ }[] | undefined;
4952
+ envFrom?: {
4953
+ secretRef?: {
4954
+ name: string;
4955
+ } | undefined;
4956
+ configMapRef?: {
4957
+ name: string;
4958
+ } | undefined;
4959
+ prefix?: string | undefined;
4960
+ }[] | undefined;
4961
+ annotations?: Record<string, string> | undefined;
4962
+ dind?: {
4963
+ enabled?: boolean | undefined;
4964
+ image?: string | undefined;
4965
+ dns?: string[] | undefined;
4966
+ dnsSearch?: string[] | undefined;
4967
+ resources?: {
4968
+ requests?: {
4969
+ cpu?: string | undefined;
4970
+ memory?: string | undefined;
4971
+ } | undefined;
4972
+ limits?: {
4973
+ cpu?: string | undefined;
4974
+ memory?: string | undefined;
4975
+ } | undefined;
4976
+ } | undefined;
4977
+ } | undefined;
4978
+ } | undefined;
4979
+ isDefault?: boolean | undefined;
4980
+ }>;
4981
+ export type PodTemplateUpdate = z.infer<typeof PodTemplateUpdateSchema>;
4982
+ /**
4983
+ * Check if a string is a valid UUID v4 format
4984
+ */
4985
+ export declare function isValidUUID(str: string): boolean;
4986
+ //# sourceMappingURL=index.d.ts.map