@xemahq/workload-runtime-api-client 0.1.1

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.
Files changed (100) hide show
  1. package/LICENSE +1 -0
  2. package/dist/custom-fetch.d.ts +52 -0
  3. package/dist/custom-fetch.js +175 -0
  4. package/dist/endpoints/health/health.d.ts +15 -0
  5. package/dist/endpoints/health/health.js +53 -0
  6. package/dist/endpoints/internal/internal.d.ts +6 -0
  7. package/dist/endpoints/internal/internal.js +26 -0
  8. package/dist/endpoints/internal-/342/200/224-build-container-image/internal-/342/200/224-build-container-image.d.ts +14 -0
  9. package/dist/endpoints/internal-/342/200/224-build-container-image/internal-/342/200/224-build-container-image.js +21 -0
  10. package/dist/endpoints/runner-jobs/runner-jobs.d.ts +37 -0
  11. package/dist/endpoints/runner-jobs/runner-jobs.js +101 -0
  12. package/dist/endpoints/workloads/workloads.d.ts +45 -0
  13. package/dist/endpoints/workloads/workloads.js +125 -0
  14. package/dist/index.d.ts +7 -0
  15. package/dist/index.js +29 -0
  16. package/dist/models/createRunnerJobDto.d.ts +27 -0
  17. package/dist/models/createRunnerJobDto.js +9 -0
  18. package/dist/models/index.d.ts +41 -0
  19. package/dist/models/index.js +58 -0
  20. package/dist/models/paginationMeta.d.ts +18 -0
  21. package/dist/models/paginationMeta.js +9 -0
  22. package/dist/models/runKanikoRequestDto.d.ts +30 -0
  23. package/dist/models/runKanikoRequestDto.js +2 -0
  24. package/dist/models/runKanikoRequestDtoBuildArgs.d.ts +10 -0
  25. package/dist/models/runKanikoRequestDtoBuildArgs.js +9 -0
  26. package/dist/models/runKanikoResponseDto.d.ts +13 -0
  27. package/dist/models/runKanikoResponseDto.js +9 -0
  28. package/dist/models/runnerJobDto.d.ts +30 -0
  29. package/dist/models/runnerJobDto.js +2 -0
  30. package/dist/models/runnerJobDtoOutput.d.ts +14 -0
  31. package/dist/models/runnerJobDtoOutput.js +9 -0
  32. package/dist/models/runnerJobDtoPaginatedEnvelope.d.ts +13 -0
  33. package/dist/models/runnerJobDtoPaginatedEnvelope.js +2 -0
  34. package/dist/models/runnerJobReportDto.d.ts +23 -0
  35. package/dist/models/runnerJobReportDto.js +2 -0
  36. package/dist/models/runnerJobReportDtoOutput.d.ts +13 -0
  37. package/dist/models/runnerJobReportDtoOutput.js +9 -0
  38. package/dist/models/runnerJobState.d.ts +17 -0
  39. package/dist/models/runnerJobState.js +19 -0
  40. package/dist/models/runnerJobsControllerListParams.d.ts +14 -0
  41. package/dist/models/runnerJobsControllerListParams.js +2 -0
  42. package/dist/models/runnerJobsControllerListState.d.ts +17 -0
  43. package/dist/models/runnerJobsControllerListState.js +19 -0
  44. package/dist/models/workloadConnectionInfoDto.d.ts +12 -0
  45. package/dist/models/workloadConnectionInfoDto.js +9 -0
  46. package/dist/models/workloadDescriptorDto.d.ts +33 -0
  47. package/dist/models/workloadDescriptorDto.js +2 -0
  48. package/dist/models/workloadDescriptorDtoCapabilitiesItem.d.ts +12 -0
  49. package/dist/models/workloadDescriptorDtoCapabilitiesItem.js +2 -0
  50. package/dist/models/workloadDescriptorDtoCapabilitiesItemKind.d.ts +14 -0
  51. package/dist/models/workloadDescriptorDtoCapabilitiesItemKind.js +16 -0
  52. package/dist/models/workloadDescriptorDtoSpec.d.ts +13 -0
  53. package/dist/models/workloadDescriptorDtoSpec.js +9 -0
  54. package/dist/models/workloadEndpointDto.d.ts +11 -0
  55. package/dist/models/workloadEndpointDto.js +9 -0
  56. package/dist/models/workloadGatewayRouteDto.d.ts +22 -0
  57. package/dist/models/workloadGatewayRouteDto.js +2 -0
  58. package/dist/models/workloadGatewayRouteDtoAuthParams.d.ts +13 -0
  59. package/dist/models/workloadGatewayRouteDtoAuthParams.js +9 -0
  60. package/dist/models/workloadGatewayRouteDtoAuthScheme.d.ts +14 -0
  61. package/dist/models/workloadGatewayRouteDtoAuthScheme.js +13 -0
  62. package/dist/models/workloadHealthConditionDto.d.ts +16 -0
  63. package/dist/models/workloadHealthConditionDto.js +2 -0
  64. package/dist/models/workloadHealthConditionDtoStatus.d.ts +13 -0
  65. package/dist/models/workloadHealthConditionDtoStatus.js +15 -0
  66. package/dist/models/workloadHealthSnapshotDto.d.ts +13 -0
  67. package/dist/models/workloadHealthSnapshotDto.js +2 -0
  68. package/dist/models/workloadIngressSourceDto.d.ts +11 -0
  69. package/dist/models/workloadIngressSourceDto.js +9 -0
  70. package/dist/models/workloadInstanceDto.d.ts +36 -0
  71. package/dist/models/workloadInstanceDto.js +2 -0
  72. package/dist/models/workloadInstanceDtoPaginatedEnvelope.d.ts +13 -0
  73. package/dist/models/workloadInstanceDtoPaginatedEnvelope.js +2 -0
  74. package/dist/models/workloadInstanceDtoSubjectLabels.d.ts +10 -0
  75. package/dist/models/workloadInstanceDtoSubjectLabels.js +9 -0
  76. package/dist/models/workloadKind.d.ts +16 -0
  77. package/dist/models/workloadKind.js +18 -0
  78. package/dist/models/workloadLifecycleDto.d.ts +12 -0
  79. package/dist/models/workloadLifecycleDto.js +9 -0
  80. package/dist/models/workloadNetworkDto.d.ts +12 -0
  81. package/dist/models/workloadNetworkDto.js +2 -0
  82. package/dist/models/workloadNodeAffinityDto.d.ts +10 -0
  83. package/dist/models/workloadNodeAffinityDto.js +9 -0
  84. package/dist/models/workloadState.d.ts +17 -0
  85. package/dist/models/workloadState.js +19 -0
  86. package/dist/models/workloadTarget.d.ts +11 -0
  87. package/dist/models/workloadTarget.js +13 -0
  88. package/dist/models/workloadTenancyDto.d.ts +15 -0
  89. package/dist/models/workloadTenancyDto.js +2 -0
  90. package/dist/models/workloadTenancyDtoSubjectLabels.d.ts +10 -0
  91. package/dist/models/workloadTenancyDtoSubjectLabels.js +9 -0
  92. package/dist/models/workloadVolumeMountDto.d.ts +16 -0
  93. package/dist/models/workloadVolumeMountDto.js +9 -0
  94. package/dist/models/workloadsControllerListKind.d.ts +16 -0
  95. package/dist/models/workloadsControllerListKind.js +18 -0
  96. package/dist/models/workloadsControllerListParams.d.ts +18 -0
  97. package/dist/models/workloadsControllerListParams.js +2 -0
  98. package/dist/models/workloadsControllerListState.d.ts +17 -0
  99. package/dist/models/workloadsControllerListState.js +19 -0
  100. package/package.json +18 -0
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export interface WorkloadConnectionInfoDto {
9
+ schemaName: string;
10
+ roleName: string;
11
+ secretRef: string;
12
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Workload Runtime API
6
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { WorkloadDescriptorDtoCapabilitiesItem } from './workloadDescriptorDtoCapabilitiesItem';
9
+ import type { WorkloadDescriptorDtoSpec } from './workloadDescriptorDtoSpec';
10
+ import type { WorkloadGatewayRouteDto } from './workloadGatewayRouteDto';
11
+ import type { WorkloadKind } from './workloadKind';
12
+ import type { WorkloadLifecycleDto } from './workloadLifecycleDto';
13
+ import type { WorkloadNetworkDto } from './workloadNetworkDto';
14
+ import type { WorkloadNodeAffinityDto } from './workloadNodeAffinityDto';
15
+ import type { WorkloadTarget } from './workloadTarget';
16
+ import type { WorkloadTenancyDto } from './workloadTenancyDto';
17
+ import type { WorkloadVolumeMountDto } from './workloadVolumeMountDto';
18
+ export interface WorkloadDescriptorDto {
19
+ kind: WorkloadKind;
20
+ /** Idempotency key — workloads with same (kind, ownerKey) deduplicate. */
21
+ ownerKey: string;
22
+ displayName: string;
23
+ target: WorkloadTarget;
24
+ tenancy: WorkloadTenancyDto;
25
+ /** Kind-specific spec. ContainerService/HttpApi/PoolWorker/PreviewDeployment expect WorkloadContainerSpecDto; PostgresSchema expects WorkloadPostgresSchemaSpecDto. */
26
+ spec: WorkloadDescriptorDtoSpec;
27
+ network: WorkloadNetworkDto;
28
+ lifecycle: WorkloadLifecycleDto;
29
+ gatewayRoute?: WorkloadGatewayRouteDto | null;
30
+ volumes?: WorkloadVolumeMountDto[];
31
+ nodeAffinity?: WorkloadNodeAffinityDto;
32
+ capabilities?: WorkloadDescriptorDtoCapabilitiesItem[];
33
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { WorkloadDescriptorDtoCapabilitiesItemKind } from './workloadDescriptorDtoCapabilitiesItemKind';
9
+ export type WorkloadDescriptorDtoCapabilitiesItem = {
10
+ kind: WorkloadDescriptorDtoCapabilitiesItemKind;
11
+ optional: boolean;
12
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type WorkloadDescriptorDtoCapabilitiesItemKind = typeof WorkloadDescriptorDtoCapabilitiesItemKind[keyof typeof WorkloadDescriptorDtoCapabilitiesItemKind];
9
+ export declare const WorkloadDescriptorDtoCapabilitiesItemKind: {
10
+ readonly autoRestart: "autoRestart";
11
+ readonly healthCheck: "healthCheck";
12
+ readonly hpa: "hpa";
13
+ readonly networkPolicy: "networkPolicy";
14
+ };
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Workload Runtime API
6
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.WorkloadDescriptorDtoCapabilitiesItemKind = void 0;
11
+ exports.WorkloadDescriptorDtoCapabilitiesItemKind = {
12
+ autoRestart: 'autoRestart',
13
+ healthCheck: 'healthCheck',
14
+ hpa: 'hpa',
15
+ networkPolicy: 'networkPolicy',
16
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * Kind-specific spec. ContainerService/HttpApi/PoolWorker/PreviewDeployment expect WorkloadContainerSpecDto; PostgresSchema expects WorkloadPostgresSchemaSpecDto.
10
+ */
11
+ export type WorkloadDescriptorDtoSpec = {
12
+ [key: string]: unknown;
13
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Workload Runtime API
6
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export interface WorkloadEndpointDto {
9
+ clusterDns: string;
10
+ port: number;
11
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Workload Runtime API
6
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { WorkloadGatewayRouteDtoAuthParams } from './workloadGatewayRouteDtoAuthParams';
9
+ import type { WorkloadGatewayRouteDtoAuthScheme } from './workloadGatewayRouteDtoAuthScheme';
10
+ export interface WorkloadGatewayRouteDto {
11
+ /** Subdomain (host) the public-gateway-api should match on incoming requests for this workload. */
12
+ subdomain: string;
13
+ /** Authentication scheme the gateway enforces before forwarding. */
14
+ authScheme: WorkloadGatewayRouteDtoAuthScheme;
15
+ /** Auth-scheme parameters the gateway interprets (e.g. `biomeId` for keycloak_jwt). */
16
+ authParams: WorkloadGatewayRouteDtoAuthParams;
17
+ /**
18
+ * Optional URL prefix the gateway strips before forwarding upstream.
19
+ * @nullable
20
+ */
21
+ stripPrefix?: string | null;
22
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * Auth-scheme parameters the gateway interprets (e.g. `biomeId` for keycloak_jwt).
10
+ */
11
+ export type WorkloadGatewayRouteDtoAuthParams = {
12
+ [key: string]: string;
13
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Workload Runtime API
6
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * Authentication scheme the gateway enforces before forwarding.
10
+ */
11
+ export type WorkloadGatewayRouteDtoAuthScheme = typeof WorkloadGatewayRouteDtoAuthScheme[keyof typeof WorkloadGatewayRouteDtoAuthScheme];
12
+ export declare const WorkloadGatewayRouteDtoAuthScheme: {
13
+ readonly keycloak_jwt: "keycloak_jwt";
14
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Workload Runtime API
6
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.WorkloadGatewayRouteDtoAuthScheme = void 0;
11
+ exports.WorkloadGatewayRouteDtoAuthScheme = {
12
+ keycloak_jwt: 'keycloak_jwt',
13
+ };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { WorkloadHealthConditionDtoStatus } from './workloadHealthConditionDtoStatus';
9
+ export interface WorkloadHealthConditionDto {
10
+ type: string;
11
+ status: WorkloadHealthConditionDtoStatus;
12
+ /** @nullable */
13
+ reason: string | null;
14
+ /** @nullable */
15
+ message: string | null;
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type WorkloadHealthConditionDtoStatus = typeof WorkloadHealthConditionDtoStatus[keyof typeof WorkloadHealthConditionDtoStatus];
9
+ export declare const WorkloadHealthConditionDtoStatus: {
10
+ readonly True: "True";
11
+ readonly False: "False";
12
+ readonly Unknown: "Unknown";
13
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Workload Runtime API
6
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.WorkloadHealthConditionDtoStatus = void 0;
11
+ exports.WorkloadHealthConditionDtoStatus = {
12
+ True: 'True',
13
+ False: 'False',
14
+ Unknown: 'Unknown',
15
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { WorkloadHealthConditionDto } from './workloadHealthConditionDto';
9
+ export interface WorkloadHealthSnapshotDto {
10
+ replicasReady: number;
11
+ replicasDesired: number;
12
+ conditions: WorkloadHealthConditionDto[];
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export interface WorkloadIngressSourceDto {
9
+ app: string;
10
+ namespace: string;
11
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Workload Runtime API
6
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { WorkloadConnectionInfoDto } from './workloadConnectionInfoDto';
9
+ import type { WorkloadEndpointDto } from './workloadEndpointDto';
10
+ import type { WorkloadHealthSnapshotDto } from './workloadHealthSnapshotDto';
11
+ import type { WorkloadInstanceDtoSubjectLabels } from './workloadInstanceDtoSubjectLabels';
12
+ import type { WorkloadKind } from './workloadKind';
13
+ import type { WorkloadState } from './workloadState';
14
+ import type { WorkloadTarget } from './workloadTarget';
15
+ export interface WorkloadInstanceDto {
16
+ id: string;
17
+ kind: WorkloadKind;
18
+ ownerKey: string;
19
+ target: WorkloadTarget;
20
+ state: WorkloadState;
21
+ /** @nullable */
22
+ orgId: string | null;
23
+ /** @nullable */
24
+ projectId: string | null;
25
+ subjectLabels: WorkloadInstanceDtoSubjectLabels;
26
+ endpoint: WorkloadEndpointDto | null;
27
+ connectionInfo: WorkloadConnectionInfoDto | null;
28
+ health: WorkloadHealthSnapshotDto | null;
29
+ applyFailures: number;
30
+ createdAt: string;
31
+ updatedAt: string;
32
+ /** @nullable */
33
+ expiresAt: string | null;
34
+ /** @nullable */
35
+ terminalAt: string | null;
36
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { PaginationMeta } from './paginationMeta';
9
+ import type { WorkloadInstanceDto } from './workloadInstanceDto';
10
+ export interface WorkloadInstanceDtoPaginatedEnvelope {
11
+ data: WorkloadInstanceDto[];
12
+ pagination?: PaginationMeta;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type WorkloadInstanceDtoSubjectLabels = {
9
+ [key: string]: string;
10
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Workload Runtime API
6
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type WorkloadKind = typeof WorkloadKind[keyof typeof WorkloadKind];
9
+ export declare const WorkloadKind: {
10
+ readonly container_service: "container_service";
11
+ readonly http_api: "http_api";
12
+ readonly pool_worker: "pool_worker";
13
+ readonly preview_deployment: "preview_deployment";
14
+ readonly postgres_schema: "postgres_schema";
15
+ readonly image_builder: "image_builder";
16
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Workload Runtime API
6
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.WorkloadKind = void 0;
11
+ exports.WorkloadKind = {
12
+ container_service: 'container_service',
13
+ http_api: 'http_api',
14
+ pool_worker: 'pool_worker',
15
+ preview_deployment: 'preview_deployment',
16
+ postgres_schema: 'postgres_schema',
17
+ image_builder: 'image_builder',
18
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export interface WorkloadLifecycleDto {
9
+ /** @nullable */
10
+ ttlSeconds: number | null;
11
+ drainGraceSeconds: number;
12
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Workload Runtime API
6
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { WorkloadIngressSourceDto } from './workloadIngressSourceDto';
9
+ export interface WorkloadNetworkDto {
10
+ egressAllowList: string[];
11
+ ingressFrom: WorkloadIngressSourceDto[];
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export interface WorkloadNodeAffinityDto {
9
+ region: string;
10
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Workload Runtime API
6
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type WorkloadState = typeof WorkloadState[keyof typeof WorkloadState];
9
+ export declare const WorkloadState: {
10
+ readonly pending: "pending";
11
+ readonly scheduling: "scheduling";
12
+ readonly ready: "ready";
13
+ readonly degraded: "degraded";
14
+ readonly draining: "draining";
15
+ readonly deleted: "deleted";
16
+ readonly failed: "failed";
17
+ };
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Workload Runtime API
6
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.WorkloadState = void 0;
11
+ exports.WorkloadState = {
12
+ pending: 'pending',
13
+ scheduling: 'scheduling',
14
+ ready: 'ready',
15
+ degraded: 'degraded',
16
+ draining: 'draining',
17
+ deleted: 'deleted',
18
+ failed: 'failed',
19
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type WorkloadTarget = typeof WorkloadTarget[keyof typeof WorkloadTarget];
9
+ export declare const WorkloadTarget: {
10
+ readonly in_cluster: "in_cluster";
11
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Workload Runtime API
6
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.WorkloadTarget = void 0;
11
+ exports.WorkloadTarget = {
12
+ in_cluster: 'in_cluster',
13
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { WorkloadTenancyDtoSubjectLabels } from './workloadTenancyDtoSubjectLabels';
9
+ export interface WorkloadTenancyDto {
10
+ /** @nullable */
11
+ orgId: string | null;
12
+ /** @nullable */
13
+ projectId: string | null;
14
+ subjectLabels: WorkloadTenancyDtoSubjectLabels;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Workload Runtime API
5
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type WorkloadTenancyDtoSubjectLabels = {
9
+ [key: string]: string;
10
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Workload Runtime API
6
+ * Declarative workload scheduling for biome sidecars, biome APIs, opencode workers, previews, and DB schemas.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });