@xemahq/workload-runtime-api-client 0.1.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +175 -1
- package/README.md +62 -0
- package/dist/custom-fetch.d.ts +23 -28
- package/dist/custom-fetch.js +20 -46
- package/dist/endpoints/runner-operations/runner-operations.d.ts +14 -0
- package/dist/endpoints/runner-operations/runner-operations.js +75 -0
- package/dist/index.d.ts +1 -5
- package/dist/index.js +2 -6
- package/dist/models/index.d.ts +11 -34
- package/dist/models/index.js +11 -34
- package/dist/models/paginationMeta.d.ts +2 -2
- package/dist/models/paginationMeta.js +2 -2
- package/dist/models/runnerJobDeliveryState.d.ts +17 -0
- package/dist/models/runnerJobDeliveryState.js +19 -0
- package/dist/models/runnerJobManagementControllerListParams.d.ts +14 -0
- package/dist/models/{runnerJobsControllerListState.d.ts → runnerJobManagementControllerListState.d.ts} +4 -4
- package/dist/models/{runnerJobsControllerListState.js → runnerJobManagementControllerListState.js} +4 -4
- package/dist/models/runnerJobState.d.ts +2 -2
- package/dist/models/runnerJobState.js +2 -2
- package/dist/models/runnerJobSummaryDto.d.ts +27 -0
- package/dist/models/runnerJobSummaryDtoPaginatedEnvelope.d.ts +13 -0
- package/dist/models/{workloadsControllerListKind.d.ts → runnerWorkloadManagementControllerListKind.d.ts} +6 -4
- package/dist/models/{workloadsControllerListKind.js → runnerWorkloadManagementControllerListKind.js} +6 -4
- package/dist/models/runnerWorkloadManagementControllerListParams.d.ts +17 -0
- package/dist/models/{workloadsControllerListState.d.ts → runnerWorkloadManagementControllerListState.d.ts} +4 -4
- package/dist/models/{workloadsControllerListState.js → runnerWorkloadManagementControllerListState.js} +4 -4
- package/dist/models/runnerWorkloadSummaryDto.d.ts +22 -0
- package/dist/models/runnerWorkloadSummaryDtoDataEnvelope.d.ts +11 -0
- package/dist/models/runnerWorkloadSummaryDtoPaginatedEnvelope.d.ts +13 -0
- package/dist/models/workloadHealthConditionDto.d.ts +3 -3
- package/dist/models/workloadHealthConditionDtoStatus.d.ts +2 -2
- package/dist/models/workloadHealthConditionDtoStatus.js +2 -2
- package/dist/models/workloadHealthSnapshotDto.d.ts +3 -3
- package/dist/models/workloadKind.d.ts +4 -2
- package/dist/models/workloadKind.js +4 -2
- package/dist/models/workloadState.d.ts +2 -2
- package/dist/models/workloadState.js +2 -2
- package/package.json +18 -2
- package/dist/endpoints/health/health.d.ts +0 -15
- package/dist/endpoints/health/health.js +0 -53
- package/dist/endpoints/internal/internal.d.ts +0 -6
- package/dist/endpoints/internal/internal.js +0 -26
- package/dist/endpoints/internal-/342/200/224-build-container-image/internal-/342/200/224-build-container-image.d.ts +0 -14
- package/dist/endpoints/internal-/342/200/224-build-container-image/internal-/342/200/224-build-container-image.js +0 -21
- package/dist/endpoints/runner-jobs/runner-jobs.d.ts +0 -37
- package/dist/endpoints/runner-jobs/runner-jobs.js +0 -101
- package/dist/endpoints/workloads/workloads.d.ts +0 -45
- package/dist/endpoints/workloads/workloads.js +0 -125
- package/dist/models/createRunnerJobDto.d.ts +0 -27
- package/dist/models/createRunnerJobDto.js +0 -9
- package/dist/models/runKanikoRequestDto.d.ts +0 -30
- package/dist/models/runKanikoRequestDtoBuildArgs.d.ts +0 -10
- package/dist/models/runKanikoRequestDtoBuildArgs.js +0 -9
- package/dist/models/runKanikoResponseDto.d.ts +0 -13
- package/dist/models/runKanikoResponseDto.js +0 -9
- package/dist/models/runnerJobDto.d.ts +0 -30
- package/dist/models/runnerJobDtoOutput.d.ts +0 -14
- package/dist/models/runnerJobDtoOutput.js +0 -9
- package/dist/models/runnerJobDtoPaginatedEnvelope.d.ts +0 -13
- package/dist/models/runnerJobReportDto.d.ts +0 -23
- package/dist/models/runnerJobReportDtoOutput.d.ts +0 -13
- package/dist/models/runnerJobReportDtoOutput.js +0 -9
- package/dist/models/runnerJobsControllerListParams.d.ts +0 -14
- package/dist/models/workloadConnectionInfoDto.d.ts +0 -12
- package/dist/models/workloadConnectionInfoDto.js +0 -9
- package/dist/models/workloadDescriptorDto.d.ts +0 -33
- package/dist/models/workloadDescriptorDtoCapabilitiesItem.d.ts +0 -12
- package/dist/models/workloadDescriptorDtoCapabilitiesItemKind.d.ts +0 -14
- package/dist/models/workloadDescriptorDtoCapabilitiesItemKind.js +0 -16
- package/dist/models/workloadDescriptorDtoSpec.d.ts +0 -13
- package/dist/models/workloadDescriptorDtoSpec.js +0 -9
- package/dist/models/workloadEndpointDto.d.ts +0 -11
- package/dist/models/workloadEndpointDto.js +0 -9
- package/dist/models/workloadGatewayRouteDto.d.ts +0 -22
- package/dist/models/workloadGatewayRouteDto.js +0 -2
- package/dist/models/workloadGatewayRouteDtoAuthParams.d.ts +0 -13
- package/dist/models/workloadGatewayRouteDtoAuthParams.js +0 -9
- package/dist/models/workloadGatewayRouteDtoAuthScheme.d.ts +0 -14
- package/dist/models/workloadGatewayRouteDtoAuthScheme.js +0 -13
- package/dist/models/workloadIngressSourceDto.d.ts +0 -11
- package/dist/models/workloadIngressSourceDto.js +0 -9
- package/dist/models/workloadInstanceDto.d.ts +0 -36
- package/dist/models/workloadInstanceDto.js +0 -2
- package/dist/models/workloadInstanceDtoPaginatedEnvelope.d.ts +0 -13
- package/dist/models/workloadInstanceDtoPaginatedEnvelope.js +0 -2
- package/dist/models/workloadInstanceDtoSubjectLabels.d.ts +0 -10
- package/dist/models/workloadInstanceDtoSubjectLabels.js +0 -9
- package/dist/models/workloadLifecycleDto.d.ts +0 -12
- package/dist/models/workloadLifecycleDto.js +0 -9
- package/dist/models/workloadNetworkDto.d.ts +0 -12
- package/dist/models/workloadNetworkDto.js +0 -2
- package/dist/models/workloadNodeAffinityDto.d.ts +0 -10
- package/dist/models/workloadNodeAffinityDto.js +0 -9
- package/dist/models/workloadTarget.d.ts +0 -11
- package/dist/models/workloadTarget.js +0 -13
- package/dist/models/workloadTenancyDto.d.ts +0 -15
- package/dist/models/workloadTenancyDto.js +0 -2
- package/dist/models/workloadTenancyDtoSubjectLabels.d.ts +0 -10
- package/dist/models/workloadTenancyDtoSubjectLabels.js +0 -9
- package/dist/models/workloadVolumeMountDto.d.ts +0 -16
- package/dist/models/workloadVolumeMountDto.js +0 -9
- package/dist/models/workloadsControllerListParams.d.ts +0 -18
- package/dist/models/workloadsControllerListParams.js +0 -2
- /package/dist/models/{runKanikoRequestDto.js → runnerJobManagementControllerListParams.js} +0 -0
- /package/dist/models/{runnerJobDto.js → runnerJobSummaryDto.js} +0 -0
- /package/dist/models/{runnerJobDtoPaginatedEnvelope.js → runnerJobSummaryDtoPaginatedEnvelope.js} +0 -0
- /package/dist/models/{runnerJobReportDto.js → runnerWorkloadManagementControllerListParams.js} +0 -0
- /package/dist/models/{runnerJobsControllerListParams.js → runnerWorkloadSummaryDto.js} +0 -0
- /package/dist/models/{workloadDescriptorDto.js → runnerWorkloadSummaryDtoDataEnvelope.js} +0 -0
- /package/dist/models/{workloadDescriptorDtoCapabilitiesItem.js → runnerWorkloadSummaryDtoPaginatedEnvelope.js} +0 -0
|
@@ -1,9 +0,0 @@
|
|
|
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 });
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
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 });
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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 });
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
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 });
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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 });
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
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 });
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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 });
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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 });
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
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 });
|
|
@@ -1,16 +0,0 @@
|
|
|
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 WorkloadVolumeMountDto {
|
|
9
|
-
poolId: string;
|
|
10
|
-
/** Driver-specific storage handle. For the K8s PVC driver this is the PersistentVolumeClaim name used as `volumes[].persistentVolumeClaim.claimName`. */
|
|
11
|
-
driverHandle: string;
|
|
12
|
-
mountPath: string;
|
|
13
|
-
/** Literal subPath inside the PV. Mapped to `volumeMounts[].subPath` — NEVER `subPathExpr` (env-injection CVE class). */
|
|
14
|
-
subPath: string;
|
|
15
|
-
readOnly: boolean;
|
|
16
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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 });
|
|
@@ -1,18 +0,0 @@
|
|
|
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 { WorkloadsControllerListKind } from './workloadsControllerListKind';
|
|
9
|
-
import type { WorkloadsControllerListState } from './workloadsControllerListState';
|
|
10
|
-
export type WorkloadsControllerListParams = {
|
|
11
|
-
orgId?: string;
|
|
12
|
-
projectId?: string;
|
|
13
|
-
ownerKey?: string;
|
|
14
|
-
cursor?: string;
|
|
15
|
-
limit?: number;
|
|
16
|
-
state?: WorkloadsControllerListState;
|
|
17
|
-
kind?: WorkloadsControllerListKind;
|
|
18
|
-
};
|
|
File without changes
|
|
File without changes
|
/package/dist/models/{runnerJobDtoPaginatedEnvelope.js → runnerJobSummaryDtoPaginatedEnvelope.js}
RENAMED
|
File without changes
|
/package/dist/models/{runnerJobReportDto.js → runnerWorkloadManagementControllerListParams.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|