qovery-ws-typescript-axios 0.1.371 → 0.1.373
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/api.ts +34 -35
- package/dist/api.d.ts +26 -29
- package/dist/api.js +22 -8
- package/dist/esm/api.d.ts +26 -29
- package/dist/esm/api.js +22 -8
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1443,33 +1443,6 @@ export interface PvcInfoDto {
|
|
|
1443
1443
|
*/
|
|
1444
1444
|
export type QoveryClusterKubeVersionStatus = { type: 'DRIFT' } & KubeVersionStatusDriftValue | { type: 'OK' } & KubeVersionStatusOkValue | { type: 'UNKNOWN' } & KubeVersionStatusUnknownValue;
|
|
1445
1445
|
|
|
1446
|
-
/**
|
|
1447
|
-
*
|
|
1448
|
-
* @export
|
|
1449
|
-
* @interface QoveryComponentContainerStatusIssue
|
|
1450
|
-
*/
|
|
1451
|
-
export interface QoveryComponentContainerStatusIssue {
|
|
1452
|
-
/**
|
|
1453
|
-
*
|
|
1454
|
-
* @type {QoveryComponentContainerStatusLevel}
|
|
1455
|
-
* @memberof QoveryComponentContainerStatusIssue
|
|
1456
|
-
*/
|
|
1457
|
-
'level': QoveryComponentContainerStatusLevel;
|
|
1458
|
-
/**
|
|
1459
|
-
*
|
|
1460
|
-
* @type {string}
|
|
1461
|
-
* @memberof QoveryComponentContainerStatusIssue
|
|
1462
|
-
*/
|
|
1463
|
-
'message'?: string | null;
|
|
1464
|
-
/**
|
|
1465
|
-
*
|
|
1466
|
-
* @type {string}
|
|
1467
|
-
* @memberof QoveryComponentContainerStatusIssue
|
|
1468
|
-
*/
|
|
1469
|
-
'reason'?: string | null;
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
1446
|
/**
|
|
1474
1447
|
*
|
|
1475
1448
|
* @export
|
|
@@ -1652,6 +1625,12 @@ export interface ServiceLogResponseDto {
|
|
|
1652
1625
|
* @memberof ServiceLogResponseDto
|
|
1653
1626
|
*/
|
|
1654
1627
|
'created_at': number;
|
|
1628
|
+
/**
|
|
1629
|
+
*
|
|
1630
|
+
* @type {{ [key: string]: string; }}
|
|
1631
|
+
* @memberof ServiceLogResponseDto
|
|
1632
|
+
*/
|
|
1633
|
+
'labels': { [key: string]: string; };
|
|
1655
1634
|
/**
|
|
1656
1635
|
*
|
|
1657
1636
|
* @type {string}
|
|
@@ -1664,6 +1643,12 @@ export interface ServiceLogResponseDto {
|
|
|
1664
1643
|
* @memberof ServiceLogResponseDto
|
|
1665
1644
|
*/
|
|
1666
1645
|
'pod_name': string;
|
|
1646
|
+
/**
|
|
1647
|
+
*
|
|
1648
|
+
* @type {number}
|
|
1649
|
+
* @memberof ServiceLogResponseDto
|
|
1650
|
+
*/
|
|
1651
|
+
'severity_text': number;
|
|
1667
1652
|
/**
|
|
1668
1653
|
*
|
|
1669
1654
|
* @type {string}
|
|
@@ -2413,10 +2398,12 @@ export const LogsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2413
2398
|
* @param {string} service
|
|
2414
2399
|
* @param {string | null} podName
|
|
2415
2400
|
* @param {string | null} deploymentId
|
|
2401
|
+
* @param {string | null} query
|
|
2402
|
+
* @param {string | null} start
|
|
2416
2403
|
* @param {*} [options] Override http request option.
|
|
2417
2404
|
* @throws {RequiredError}
|
|
2418
2405
|
*/
|
|
2419
|
-
handleServiceLogsRequest: async (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2406
|
+
handleServiceLogsRequest: async (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2420
2407
|
// verify required parameter 'organization' is not null or undefined
|
|
2421
2408
|
assertParamExists('handleServiceLogsRequest', 'organization', organization)
|
|
2422
2409
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -2431,6 +2418,10 @@ export const LogsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2431
2418
|
assertParamExists('handleServiceLogsRequest', 'podName', podName)
|
|
2432
2419
|
// verify required parameter 'deploymentId' is not null or undefined
|
|
2433
2420
|
assertParamExists('handleServiceLogsRequest', 'deploymentId', deploymentId)
|
|
2421
|
+
// verify required parameter 'query' is not null or undefined
|
|
2422
|
+
assertParamExists('handleServiceLogsRequest', 'query', query)
|
|
2423
|
+
// verify required parameter 'start' is not null or undefined
|
|
2424
|
+
assertParamExists('handleServiceLogsRequest', 'start', start)
|
|
2434
2425
|
const localVarPath = `/service/logs`
|
|
2435
2426
|
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
2436
2427
|
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
@@ -2438,7 +2429,9 @@ export const LogsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2438
2429
|
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
|
|
2439
2430
|
.replace(`{${"service"}}`, encodeURIComponent(String(service)))
|
|
2440
2431
|
.replace(`{${"pod_name"}}`, encodeURIComponent(String(podName)))
|
|
2441
|
-
.replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId)))
|
|
2432
|
+
.replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId)))
|
|
2433
|
+
.replace(`{${"query"}}`, encodeURIComponent(String(query)))
|
|
2434
|
+
.replace(`{${"start"}}`, encodeURIComponent(String(start)));
|
|
2442
2435
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2443
2436
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2444
2437
|
let baseOptions;
|
|
@@ -2497,11 +2490,13 @@ export const LogsApiFp = function(configuration?: Configuration) {
|
|
|
2497
2490
|
* @param {string} service
|
|
2498
2491
|
* @param {string | null} podName
|
|
2499
2492
|
* @param {string | null} deploymentId
|
|
2493
|
+
* @param {string | null} query
|
|
2494
|
+
* @param {string | null} start
|
|
2500
2495
|
* @param {*} [options] Override http request option.
|
|
2501
2496
|
* @throws {RequiredError}
|
|
2502
2497
|
*/
|
|
2503
|
-
async handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>> {
|
|
2504
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options);
|
|
2498
|
+
async handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>> {
|
|
2499
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options);
|
|
2505
2500
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2506
2501
|
const localVarOperationServerBasePath = operationServerMap['LogsApi.handleServiceLogsRequest']?.[localVarOperationServerIndex]?.url;
|
|
2507
2502
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2539,11 +2534,13 @@ export const LogsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
2539
2534
|
* @param {string} service
|
|
2540
2535
|
* @param {string | null} podName
|
|
2541
2536
|
* @param {string | null} deploymentId
|
|
2537
|
+
* @param {string | null} query
|
|
2538
|
+
* @param {string | null} start
|
|
2542
2539
|
* @param {*} [options] Override http request option.
|
|
2543
2540
|
* @throws {RequiredError}
|
|
2544
2541
|
*/
|
|
2545
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto> {
|
|
2546
|
-
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options).then((request) => request(axios, basePath));
|
|
2542
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto> {
|
|
2543
|
+
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options).then((request) => request(axios, basePath));
|
|
2547
2544
|
},
|
|
2548
2545
|
};
|
|
2549
2546
|
};
|
|
@@ -2580,12 +2577,14 @@ export class LogsApi extends BaseAPI {
|
|
|
2580
2577
|
* @param {string} service
|
|
2581
2578
|
* @param {string | null} podName
|
|
2582
2579
|
* @param {string | null} deploymentId
|
|
2580
|
+
* @param {string | null} query
|
|
2581
|
+
* @param {string | null} start
|
|
2583
2582
|
* @param {*} [options] Override http request option.
|
|
2584
2583
|
* @throws {RequiredError}
|
|
2585
2584
|
* @memberof LogsApi
|
|
2586
2585
|
*/
|
|
2587
|
-
public handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig) {
|
|
2588
|
-
return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options).then((request) => request(this.axios, this.basePath));
|
|
2586
|
+
public handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig) {
|
|
2587
|
+
return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options).then((request) => request(this.axios, this.basePath));
|
|
2589
2588
|
}
|
|
2590
2589
|
}
|
|
2591
2590
|
|
package/dist/api.d.ts
CHANGED
|
@@ -1416,31 +1416,6 @@ export type QoveryClusterKubeVersionStatus = {
|
|
|
1416
1416
|
} & KubeVersionStatusOkValue | {
|
|
1417
1417
|
type: 'UNKNOWN';
|
|
1418
1418
|
} & KubeVersionStatusUnknownValue;
|
|
1419
|
-
/**
|
|
1420
|
-
*
|
|
1421
|
-
* @export
|
|
1422
|
-
* @interface QoveryComponentContainerStatusIssue
|
|
1423
|
-
*/
|
|
1424
|
-
export interface QoveryComponentContainerStatusIssue {
|
|
1425
|
-
/**
|
|
1426
|
-
*
|
|
1427
|
-
* @type {QoveryComponentContainerStatusLevel}
|
|
1428
|
-
* @memberof QoveryComponentContainerStatusIssue
|
|
1429
|
-
*/
|
|
1430
|
-
'level': QoveryComponentContainerStatusLevel;
|
|
1431
|
-
/**
|
|
1432
|
-
*
|
|
1433
|
-
* @type {string}
|
|
1434
|
-
* @memberof QoveryComponentContainerStatusIssue
|
|
1435
|
-
*/
|
|
1436
|
-
'message'?: string | null;
|
|
1437
|
-
/**
|
|
1438
|
-
*
|
|
1439
|
-
* @type {string}
|
|
1440
|
-
* @memberof QoveryComponentContainerStatusIssue
|
|
1441
|
-
*/
|
|
1442
|
-
'reason'?: string | null;
|
|
1443
|
-
}
|
|
1444
1419
|
/**
|
|
1445
1420
|
*
|
|
1446
1421
|
* @export
|
|
@@ -1612,6 +1587,14 @@ export interface ServiceLogResponseDto {
|
|
|
1612
1587
|
* @memberof ServiceLogResponseDto
|
|
1613
1588
|
*/
|
|
1614
1589
|
'created_at': number;
|
|
1590
|
+
/**
|
|
1591
|
+
*
|
|
1592
|
+
* @type {{ [key: string]: string; }}
|
|
1593
|
+
* @memberof ServiceLogResponseDto
|
|
1594
|
+
*/
|
|
1595
|
+
'labels': {
|
|
1596
|
+
[key: string]: string;
|
|
1597
|
+
};
|
|
1615
1598
|
/**
|
|
1616
1599
|
*
|
|
1617
1600
|
* @type {string}
|
|
@@ -1624,6 +1607,12 @@ export interface ServiceLogResponseDto {
|
|
|
1624
1607
|
* @memberof ServiceLogResponseDto
|
|
1625
1608
|
*/
|
|
1626
1609
|
'pod_name': string;
|
|
1610
|
+
/**
|
|
1611
|
+
*
|
|
1612
|
+
* @type {number}
|
|
1613
|
+
* @memberof ServiceLogResponseDto
|
|
1614
|
+
*/
|
|
1615
|
+
'severity_text': number;
|
|
1627
1616
|
/**
|
|
1628
1617
|
*
|
|
1629
1618
|
* @type {string}
|
|
@@ -2053,10 +2042,12 @@ export declare const LogsApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
2053
2042
|
* @param {string} service
|
|
2054
2043
|
* @param {string | null} podName
|
|
2055
2044
|
* @param {string | null} deploymentId
|
|
2045
|
+
* @param {string | null} query
|
|
2046
|
+
* @param {string | null} start
|
|
2056
2047
|
* @param {*} [options] Override http request option.
|
|
2057
2048
|
* @throws {RequiredError}
|
|
2058
2049
|
*/
|
|
2059
|
-
handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2050
|
+
handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2060
2051
|
};
|
|
2061
2052
|
/**
|
|
2062
2053
|
* LogsApi - functional programming interface
|
|
@@ -2084,10 +2075,12 @@ export declare const LogsApiFp: (configuration?: Configuration) => {
|
|
|
2084
2075
|
* @param {string} service
|
|
2085
2076
|
* @param {string | null} podName
|
|
2086
2077
|
* @param {string | null} deploymentId
|
|
2078
|
+
* @param {string | null} query
|
|
2079
|
+
* @param {string | null} start
|
|
2087
2080
|
* @param {*} [options] Override http request option.
|
|
2088
2081
|
* @throws {RequiredError}
|
|
2089
2082
|
*/
|
|
2090
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
|
|
2083
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
|
|
2091
2084
|
};
|
|
2092
2085
|
/**
|
|
2093
2086
|
* LogsApi - factory interface
|
|
@@ -2115,10 +2108,12 @@ export declare const LogsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2115
2108
|
* @param {string} service
|
|
2116
2109
|
* @param {string | null} podName
|
|
2117
2110
|
* @param {string | null} deploymentId
|
|
2111
|
+
* @param {string | null} query
|
|
2112
|
+
* @param {string | null} start
|
|
2118
2113
|
* @param {*} [options] Override http request option.
|
|
2119
2114
|
* @throws {RequiredError}
|
|
2120
2115
|
*/
|
|
2121
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
|
|
2116
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
|
|
2122
2117
|
};
|
|
2123
2118
|
/**
|
|
2124
2119
|
* LogsApi - object-oriented interface
|
|
@@ -2149,11 +2144,13 @@ export declare class LogsApi extends BaseAPI {
|
|
|
2149
2144
|
* @param {string} service
|
|
2150
2145
|
* @param {string | null} podName
|
|
2151
2146
|
* @param {string | null} deploymentId
|
|
2147
|
+
* @param {string | null} query
|
|
2148
|
+
* @param {string | null} start
|
|
2152
2149
|
* @param {*} [options] Override http request option.
|
|
2153
2150
|
* @throws {RequiredError}
|
|
2154
2151
|
* @memberof LogsApi
|
|
2155
2152
|
*/
|
|
2156
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any>>;
|
|
2153
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any>>;
|
|
2157
2154
|
}
|
|
2158
2155
|
/**
|
|
2159
2156
|
* RemoteDebugApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -727,10 +727,12 @@ const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
727
727
|
* @param {string} service
|
|
728
728
|
* @param {string | null} podName
|
|
729
729
|
* @param {string | null} deploymentId
|
|
730
|
+
* @param {string | null} query
|
|
731
|
+
* @param {string | null} start
|
|
730
732
|
* @param {*} [options] Override http request option.
|
|
731
733
|
* @throws {RequiredError}
|
|
732
734
|
*/
|
|
733
|
-
handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, deploymentId, options = {}) {
|
|
735
|
+
handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, deploymentId, query, start, options = {}) {
|
|
734
736
|
// verify required parameter 'organization' is not null or undefined
|
|
735
737
|
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'organization', organization);
|
|
736
738
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -745,6 +747,10 @@ const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
745
747
|
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'podName', podName);
|
|
746
748
|
// verify required parameter 'deploymentId' is not null or undefined
|
|
747
749
|
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'deploymentId', deploymentId);
|
|
750
|
+
// verify required parameter 'query' is not null or undefined
|
|
751
|
+
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'query', query);
|
|
752
|
+
// verify required parameter 'start' is not null or undefined
|
|
753
|
+
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'start', start);
|
|
748
754
|
const localVarPath = `/service/logs`
|
|
749
755
|
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
750
756
|
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
@@ -752,7 +758,9 @@ const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
752
758
|
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
|
|
753
759
|
.replace(`{${"service"}}`, encodeURIComponent(String(service)))
|
|
754
760
|
.replace(`{${"pod_name"}}`, encodeURIComponent(String(podName)))
|
|
755
|
-
.replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId)))
|
|
761
|
+
.replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId)))
|
|
762
|
+
.replace(`{${"query"}}`, encodeURIComponent(String(query)))
|
|
763
|
+
.replace(`{${"start"}}`, encodeURIComponent(String(start)));
|
|
756
764
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
757
765
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
758
766
|
let baseOptions;
|
|
@@ -809,13 +817,15 @@ const LogsApiFp = function (configuration) {
|
|
|
809
817
|
* @param {string} service
|
|
810
818
|
* @param {string | null} podName
|
|
811
819
|
* @param {string | null} deploymentId
|
|
820
|
+
* @param {string | null} query
|
|
821
|
+
* @param {string | null} start
|
|
812
822
|
* @param {*} [options] Override http request option.
|
|
813
823
|
* @throws {RequiredError}
|
|
814
824
|
*/
|
|
815
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options) {
|
|
825
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options) {
|
|
816
826
|
return __awaiter(this, void 0, void 0, function* () {
|
|
817
827
|
var _a, _b, _c;
|
|
818
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options);
|
|
828
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options);
|
|
819
829
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
820
830
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['LogsApi.handleServiceLogsRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
821
831
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -854,11 +864,13 @@ const LogsApiFactory = function (configuration, basePath, axios) {
|
|
|
854
864
|
* @param {string} service
|
|
855
865
|
* @param {string | null} podName
|
|
856
866
|
* @param {string | null} deploymentId
|
|
867
|
+
* @param {string | null} query
|
|
868
|
+
* @param {string | null} start
|
|
857
869
|
* @param {*} [options] Override http request option.
|
|
858
870
|
* @throws {RequiredError}
|
|
859
871
|
*/
|
|
860
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options) {
|
|
861
|
-
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options).then((request) => request(axios, basePath));
|
|
872
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options) {
|
|
873
|
+
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options).then((request) => request(axios, basePath));
|
|
862
874
|
},
|
|
863
875
|
};
|
|
864
876
|
};
|
|
@@ -894,12 +906,14 @@ class LogsApi extends base_1.BaseAPI {
|
|
|
894
906
|
* @param {string} service
|
|
895
907
|
* @param {string | null} podName
|
|
896
908
|
* @param {string | null} deploymentId
|
|
909
|
+
* @param {string | null} query
|
|
910
|
+
* @param {string | null} start
|
|
897
911
|
* @param {*} [options] Override http request option.
|
|
898
912
|
* @throws {RequiredError}
|
|
899
913
|
* @memberof LogsApi
|
|
900
914
|
*/
|
|
901
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options) {
|
|
902
|
-
return (0, exports.LogsApiFp)(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options).then((request) => request(this.axios, this.basePath));
|
|
915
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options) {
|
|
916
|
+
return (0, exports.LogsApiFp)(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options).then((request) => request(this.axios, this.basePath));
|
|
903
917
|
}
|
|
904
918
|
}
|
|
905
919
|
exports.LogsApi = LogsApi;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1416,31 +1416,6 @@ export type QoveryClusterKubeVersionStatus = {
|
|
|
1416
1416
|
} & KubeVersionStatusOkValue | {
|
|
1417
1417
|
type: 'UNKNOWN';
|
|
1418
1418
|
} & KubeVersionStatusUnknownValue;
|
|
1419
|
-
/**
|
|
1420
|
-
*
|
|
1421
|
-
* @export
|
|
1422
|
-
* @interface QoveryComponentContainerStatusIssue
|
|
1423
|
-
*/
|
|
1424
|
-
export interface QoveryComponentContainerStatusIssue {
|
|
1425
|
-
/**
|
|
1426
|
-
*
|
|
1427
|
-
* @type {QoveryComponentContainerStatusLevel}
|
|
1428
|
-
* @memberof QoveryComponentContainerStatusIssue
|
|
1429
|
-
*/
|
|
1430
|
-
'level': QoveryComponentContainerStatusLevel;
|
|
1431
|
-
/**
|
|
1432
|
-
*
|
|
1433
|
-
* @type {string}
|
|
1434
|
-
* @memberof QoveryComponentContainerStatusIssue
|
|
1435
|
-
*/
|
|
1436
|
-
'message'?: string | null;
|
|
1437
|
-
/**
|
|
1438
|
-
*
|
|
1439
|
-
* @type {string}
|
|
1440
|
-
* @memberof QoveryComponentContainerStatusIssue
|
|
1441
|
-
*/
|
|
1442
|
-
'reason'?: string | null;
|
|
1443
|
-
}
|
|
1444
1419
|
/**
|
|
1445
1420
|
*
|
|
1446
1421
|
* @export
|
|
@@ -1612,6 +1587,14 @@ export interface ServiceLogResponseDto {
|
|
|
1612
1587
|
* @memberof ServiceLogResponseDto
|
|
1613
1588
|
*/
|
|
1614
1589
|
'created_at': number;
|
|
1590
|
+
/**
|
|
1591
|
+
*
|
|
1592
|
+
* @type {{ [key: string]: string; }}
|
|
1593
|
+
* @memberof ServiceLogResponseDto
|
|
1594
|
+
*/
|
|
1595
|
+
'labels': {
|
|
1596
|
+
[key: string]: string;
|
|
1597
|
+
};
|
|
1615
1598
|
/**
|
|
1616
1599
|
*
|
|
1617
1600
|
* @type {string}
|
|
@@ -1624,6 +1607,12 @@ export interface ServiceLogResponseDto {
|
|
|
1624
1607
|
* @memberof ServiceLogResponseDto
|
|
1625
1608
|
*/
|
|
1626
1609
|
'pod_name': string;
|
|
1610
|
+
/**
|
|
1611
|
+
*
|
|
1612
|
+
* @type {number}
|
|
1613
|
+
* @memberof ServiceLogResponseDto
|
|
1614
|
+
*/
|
|
1615
|
+
'severity_text': number;
|
|
1627
1616
|
/**
|
|
1628
1617
|
*
|
|
1629
1618
|
* @type {string}
|
|
@@ -2053,10 +2042,12 @@ export declare const LogsApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
2053
2042
|
* @param {string} service
|
|
2054
2043
|
* @param {string | null} podName
|
|
2055
2044
|
* @param {string | null} deploymentId
|
|
2045
|
+
* @param {string | null} query
|
|
2046
|
+
* @param {string | null} start
|
|
2056
2047
|
* @param {*} [options] Override http request option.
|
|
2057
2048
|
* @throws {RequiredError}
|
|
2058
2049
|
*/
|
|
2059
|
-
handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2050
|
+
handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2060
2051
|
};
|
|
2061
2052
|
/**
|
|
2062
2053
|
* LogsApi - functional programming interface
|
|
@@ -2084,10 +2075,12 @@ export declare const LogsApiFp: (configuration?: Configuration) => {
|
|
|
2084
2075
|
* @param {string} service
|
|
2085
2076
|
* @param {string | null} podName
|
|
2086
2077
|
* @param {string | null} deploymentId
|
|
2078
|
+
* @param {string | null} query
|
|
2079
|
+
* @param {string | null} start
|
|
2087
2080
|
* @param {*} [options] Override http request option.
|
|
2088
2081
|
* @throws {RequiredError}
|
|
2089
2082
|
*/
|
|
2090
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
|
|
2083
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
|
|
2091
2084
|
};
|
|
2092
2085
|
/**
|
|
2093
2086
|
* LogsApi - factory interface
|
|
@@ -2115,10 +2108,12 @@ export declare const LogsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2115
2108
|
* @param {string} service
|
|
2116
2109
|
* @param {string | null} podName
|
|
2117
2110
|
* @param {string | null} deploymentId
|
|
2111
|
+
* @param {string | null} query
|
|
2112
|
+
* @param {string | null} start
|
|
2118
2113
|
* @param {*} [options] Override http request option.
|
|
2119
2114
|
* @throws {RequiredError}
|
|
2120
2115
|
*/
|
|
2121
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
|
|
2116
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
|
|
2122
2117
|
};
|
|
2123
2118
|
/**
|
|
2124
2119
|
* LogsApi - object-oriented interface
|
|
@@ -2149,11 +2144,13 @@ export declare class LogsApi extends BaseAPI {
|
|
|
2149
2144
|
* @param {string} service
|
|
2150
2145
|
* @param {string | null} podName
|
|
2151
2146
|
* @param {string | null} deploymentId
|
|
2147
|
+
* @param {string | null} query
|
|
2148
|
+
* @param {string | null} start
|
|
2152
2149
|
* @param {*} [options] Override http request option.
|
|
2153
2150
|
* @throws {RequiredError}
|
|
2154
2151
|
* @memberof LogsApi
|
|
2155
2152
|
*/
|
|
2156
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any>>;
|
|
2153
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any>>;
|
|
2157
2154
|
}
|
|
2158
2155
|
/**
|
|
2159
2156
|
* RemoteDebugApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -708,10 +708,12 @@ export const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
708
708
|
* @param {string} service
|
|
709
709
|
* @param {string | null} podName
|
|
710
710
|
* @param {string | null} deploymentId
|
|
711
|
+
* @param {string | null} query
|
|
712
|
+
* @param {string | null} start
|
|
711
713
|
* @param {*} [options] Override http request option.
|
|
712
714
|
* @throws {RequiredError}
|
|
713
715
|
*/
|
|
714
|
-
handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, deploymentId, options = {}) {
|
|
716
|
+
handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, deploymentId, query, start, options = {}) {
|
|
715
717
|
// verify required parameter 'organization' is not null or undefined
|
|
716
718
|
assertParamExists('handleServiceLogsRequest', 'organization', organization);
|
|
717
719
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -726,6 +728,10 @@ export const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
726
728
|
assertParamExists('handleServiceLogsRequest', 'podName', podName);
|
|
727
729
|
// verify required parameter 'deploymentId' is not null or undefined
|
|
728
730
|
assertParamExists('handleServiceLogsRequest', 'deploymentId', deploymentId);
|
|
731
|
+
// verify required parameter 'query' is not null or undefined
|
|
732
|
+
assertParamExists('handleServiceLogsRequest', 'query', query);
|
|
733
|
+
// verify required parameter 'start' is not null or undefined
|
|
734
|
+
assertParamExists('handleServiceLogsRequest', 'start', start);
|
|
729
735
|
const localVarPath = `/service/logs`
|
|
730
736
|
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
731
737
|
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
@@ -733,7 +739,9 @@ export const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
733
739
|
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
|
|
734
740
|
.replace(`{${"service"}}`, encodeURIComponent(String(service)))
|
|
735
741
|
.replace(`{${"pod_name"}}`, encodeURIComponent(String(podName)))
|
|
736
|
-
.replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId)))
|
|
742
|
+
.replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId)))
|
|
743
|
+
.replace(`{${"query"}}`, encodeURIComponent(String(query)))
|
|
744
|
+
.replace(`{${"start"}}`, encodeURIComponent(String(start)));
|
|
737
745
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
738
746
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
739
747
|
let baseOptions;
|
|
@@ -789,13 +797,15 @@ export const LogsApiFp = function (configuration) {
|
|
|
789
797
|
* @param {string} service
|
|
790
798
|
* @param {string | null} podName
|
|
791
799
|
* @param {string | null} deploymentId
|
|
800
|
+
* @param {string | null} query
|
|
801
|
+
* @param {string | null} start
|
|
792
802
|
* @param {*} [options] Override http request option.
|
|
793
803
|
* @throws {RequiredError}
|
|
794
804
|
*/
|
|
795
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options) {
|
|
805
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options) {
|
|
796
806
|
return __awaiter(this, void 0, void 0, function* () {
|
|
797
807
|
var _a, _b, _c;
|
|
798
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options);
|
|
808
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options);
|
|
799
809
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
800
810
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LogsApi.handleServiceLogsRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
801
811
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -833,11 +843,13 @@ export const LogsApiFactory = function (configuration, basePath, axios) {
|
|
|
833
843
|
* @param {string} service
|
|
834
844
|
* @param {string | null} podName
|
|
835
845
|
* @param {string | null} deploymentId
|
|
846
|
+
* @param {string | null} query
|
|
847
|
+
* @param {string | null} start
|
|
836
848
|
* @param {*} [options] Override http request option.
|
|
837
849
|
* @throws {RequiredError}
|
|
838
850
|
*/
|
|
839
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options) {
|
|
840
|
-
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options).then((request) => request(axios, basePath));
|
|
851
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options) {
|
|
852
|
+
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options).then((request) => request(axios, basePath));
|
|
841
853
|
},
|
|
842
854
|
};
|
|
843
855
|
};
|
|
@@ -872,12 +884,14 @@ export class LogsApi extends BaseAPI {
|
|
|
872
884
|
* @param {string} service
|
|
873
885
|
* @param {string | null} podName
|
|
874
886
|
* @param {string | null} deploymentId
|
|
887
|
+
* @param {string | null} query
|
|
888
|
+
* @param {string | null} start
|
|
875
889
|
* @param {*} [options] Override http request option.
|
|
876
890
|
* @throws {RequiredError}
|
|
877
891
|
* @memberof LogsApi
|
|
878
892
|
*/
|
|
879
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options) {
|
|
880
|
-
return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options).then((request) => request(this.axios, this.basePath));
|
|
893
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options) {
|
|
894
|
+
return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options).then((request) => request(this.axios, this.basePath));
|
|
881
895
|
}
|
|
882
896
|
}
|
|
883
897
|
/**
|