|
1 | 1 | /* auto-generated */ |
2 | 2 |
|
3 | | -import { Regex, Kind, Tags, Links } from './base.js'; |
4 | 3 | import { EnvVar } from './env.js'; |
| 4 | +import { Regex, Kind, Tags, Links } from './base.js'; |
5 | 5 | import { VolumeSpec } from './volumeSpec.js'; |
6 | 6 | import { DefaultOptions, LocalOptions } from './workloadOptions.js'; |
7 | 7 | import { AccessLog } from './envoyAccessLog.js'; |
8 | 8 | import { Cluster } from './envoyCluster.js'; |
9 | 9 | import { ExcExtAuth, ExcludedRateLimit } from './envoyExcExtAuth.js'; |
10 | 10 | import { HttpFilter } from './envoyHttp.js'; |
11 | 11 |
|
| 12 | +export interface ContainerOverride { |
| 13 | + name: string; |
| 14 | + |
| 15 | + env?: EnvVar[]; |
| 16 | + |
| 17 | + command?: string; |
| 18 | + |
| 19 | + args?: string[]; |
| 20 | + |
| 21 | + memory?: string; |
| 22 | + |
| 23 | + cpu?: string; |
| 24 | + |
| 25 | + image?: string; |
| 26 | + |
| 27 | +} |
| 28 | + |
12 | 29 | export interface ContainerSpec { |
13 | 30 | name?: string; |
14 | 31 |
|
@@ -316,7 +333,9 @@ export interface HealthCheckStatus { |
316 | 333 | } |
317 | 334 |
|
318 | 335 | export interface JobSpec { |
319 | | - schedule: ScheduleType; |
| 336 | + schedule?: string; |
| 337 | + |
| 338 | + schedules?: ScheduleEntry[]; |
320 | 339 |
|
321 | 340 | concurrencyPolicy?: 'Forbid' | 'Replace' | 'Allow'; |
322 | 341 |
|
@@ -448,6 +467,15 @@ export interface RolloutOptionsStateful { |
448 | 467 |
|
449 | 468 | } |
450 | 469 |
|
| 470 | +export interface ScheduleEntry { |
| 471 | + name: string; |
| 472 | + |
| 473 | + schedule: string; |
| 474 | + |
| 475 | + containerOverrides?: ContainerOverride[]; |
| 476 | + |
| 477 | +} |
| 478 | + |
451 | 479 | export type ScheduleType = string; |
452 | 480 |
|
453 | 481 | export interface SecurityOptions { |
@@ -525,7 +553,9 @@ export interface Workload { |
525 | 553 | localOptions?: LocalOptions; |
526 | 554 |
|
527 | 555 | job?: { |
528 | | - schedule: ScheduleType; |
| 556 | + schedule?: string; |
| 557 | + |
| 558 | + schedules?: ScheduleEntry[]; |
529 | 559 |
|
530 | 560 | concurrencyPolicy?: 'Forbid' | 'Replace' | 'Allow'; |
531 | 561 |
|
@@ -661,6 +691,8 @@ export interface Workload { |
661 | 691 |
|
662 | 692 | loadBalancer?: LoadBalancerStatus[]; |
663 | 693 |
|
| 694 | + suspendedStatus?: string; |
| 695 | + |
664 | 696 | [x: string]: any; |
665 | 697 |
|
666 | 698 | }; |
@@ -714,7 +746,9 @@ export interface WorkloadSpec { |
714 | 746 | localOptions?: LocalOptions; |
715 | 747 |
|
716 | 748 | job?: { |
717 | | - schedule: ScheduleType; |
| 749 | + schedule?: string; |
| 750 | + |
| 751 | + schedules?: ScheduleEntry[]; |
718 | 752 |
|
719 | 753 | concurrencyPolicy?: 'Forbid' | 'Replace' | 'Allow'; |
720 | 754 |
|
@@ -850,6 +884,8 @@ export interface WorkloadStatus { |
850 | 884 |
|
851 | 885 | loadBalancer?: LoadBalancerStatus[]; |
852 | 886 |
|
| 887 | + suspendedStatus?: string; |
| 888 | + |
853 | 889 | [x: string]: any; |
854 | 890 |
|
855 | 891 | } |
|
0 commit comments