qovery-typescript-axios 1.1.562 → 1.1.564
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 +25 -16
- package/dist/api.d.ts +12 -8
- package/dist/api.js +23 -16
- package/dist/esm/api.d.ts +12 -8
- package/dist/esm/api.js +23 -16
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -26432,24 +26432,22 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
26432
26432
|
* List Cluster Kubernetes Events
|
|
26433
26433
|
* @summary List Cluster Kubernetes Events
|
|
26434
26434
|
* @param {string} clusterId Cluster ID
|
|
26435
|
-
* @param {string} nodeName
|
|
26436
26435
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
26437
26436
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
26437
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
26438
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
26438
26439
|
* @param {*} [options] Override http request option.
|
|
26439
26440
|
* @throws {RequiredError}
|
|
26440
26441
|
*/
|
|
26441
|
-
getClusterKubernetesEvents: async (clusterId: string,
|
|
26442
|
+
getClusterKubernetesEvents: async (clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26442
26443
|
// verify required parameter 'clusterId' is not null or undefined
|
|
26443
26444
|
assertParamExists('getClusterKubernetesEvents', 'clusterId', clusterId)
|
|
26444
|
-
// verify required parameter 'nodeName' is not null or undefined
|
|
26445
|
-
assertParamExists('getClusterKubernetesEvents', 'nodeName', nodeName)
|
|
26446
26445
|
// verify required parameter 'fromDateTime' is not null or undefined
|
|
26447
26446
|
assertParamExists('getClusterKubernetesEvents', 'fromDateTime', fromDateTime)
|
|
26448
26447
|
// verify required parameter 'toDateTime' is not null or undefined
|
|
26449
26448
|
assertParamExists('getClusterKubernetesEvents', 'toDateTime', toDateTime)
|
|
26450
|
-
const localVarPath = `/cluster/{clusterId}/events
|
|
26451
|
-
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
|
|
26452
|
-
.replace(`{${"nodeName"}}`, encodeURIComponent(String(nodeName)));
|
|
26449
|
+
const localVarPath = `/cluster/{clusterId}/events`
|
|
26450
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
26453
26451
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26454
26452
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26455
26453
|
let baseOptions;
|
|
@@ -26476,6 +26474,14 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
26476
26474
|
localVarQueryParameter['to_date_time'] = toDateTime;
|
|
26477
26475
|
}
|
|
26478
26476
|
|
|
26477
|
+
if (nodeName !== undefined) {
|
|
26478
|
+
localVarQueryParameter['node_name'] = nodeName;
|
|
26479
|
+
}
|
|
26480
|
+
|
|
26481
|
+
if (podName !== undefined) {
|
|
26482
|
+
localVarQueryParameter['pod_name'] = podName;
|
|
26483
|
+
}
|
|
26484
|
+
|
|
26479
26485
|
|
|
26480
26486
|
|
|
26481
26487
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -27275,14 +27281,15 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
27275
27281
|
* List Cluster Kubernetes Events
|
|
27276
27282
|
* @summary List Cluster Kubernetes Events
|
|
27277
27283
|
* @param {string} clusterId Cluster ID
|
|
27278
|
-
* @param {string} nodeName
|
|
27279
27284
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
27280
27285
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
27286
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
27287
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
27281
27288
|
* @param {*} [options] Override http request option.
|
|
27282
27289
|
* @throws {RequiredError}
|
|
27283
27290
|
*/
|
|
27284
|
-
async getClusterKubernetesEvents(clusterId: string,
|
|
27285
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterKubernetesEvents(clusterId,
|
|
27291
|
+
async getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterKubernetesEvents200Response>> {
|
|
27292
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options);
|
|
27286
27293
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27287
27294
|
},
|
|
27288
27295
|
/**
|
|
@@ -27581,14 +27588,15 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
27581
27588
|
* List Cluster Kubernetes Events
|
|
27582
27589
|
* @summary List Cluster Kubernetes Events
|
|
27583
27590
|
* @param {string} clusterId Cluster ID
|
|
27584
|
-
* @param {string} nodeName
|
|
27585
27591
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
27586
27592
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
27593
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
27594
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
27587
27595
|
* @param {*} [options] Override http request option.
|
|
27588
27596
|
* @throws {RequiredError}
|
|
27589
27597
|
*/
|
|
27590
|
-
getClusterKubernetesEvents(clusterId: string,
|
|
27591
|
-
return localVarFp.getClusterKubernetesEvents(clusterId,
|
|
27598
|
+
getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: any): AxiosPromise<GetClusterKubernetesEvents200Response> {
|
|
27599
|
+
return localVarFp.getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options).then((request) => request(axios, basePath));
|
|
27592
27600
|
},
|
|
27593
27601
|
/**
|
|
27594
27602
|
*
|
|
@@ -27889,15 +27897,16 @@ export class ClustersApi extends BaseAPI {
|
|
|
27889
27897
|
* List Cluster Kubernetes Events
|
|
27890
27898
|
* @summary List Cluster Kubernetes Events
|
|
27891
27899
|
* @param {string} clusterId Cluster ID
|
|
27892
|
-
* @param {string} nodeName
|
|
27893
27900
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
27894
27901
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
27902
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
27903
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
27895
27904
|
* @param {*} [options] Override http request option.
|
|
27896
27905
|
* @throws {RequiredError}
|
|
27897
27906
|
* @memberof ClustersApi
|
|
27898
27907
|
*/
|
|
27899
|
-
public getClusterKubernetesEvents(clusterId: string,
|
|
27900
|
-
return ClustersApiFp(this.configuration).getClusterKubernetesEvents(clusterId,
|
|
27908
|
+
public getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: AxiosRequestConfig) {
|
|
27909
|
+
return ClustersApiFp(this.configuration).getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options).then((request) => request(this.axios, this.basePath));
|
|
27901
27910
|
}
|
|
27902
27911
|
|
|
27903
27912
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -20856,13 +20856,14 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
20856
20856
|
* List Cluster Kubernetes Events
|
|
20857
20857
|
* @summary List Cluster Kubernetes Events
|
|
20858
20858
|
* @param {string} clusterId Cluster ID
|
|
20859
|
-
* @param {string} nodeName
|
|
20860
20859
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
20861
20860
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
20861
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
20862
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
20862
20863
|
* @param {*} [options] Override http request option.
|
|
20863
20864
|
* @throws {RequiredError}
|
|
20864
20865
|
*/
|
|
20865
|
-
getClusterKubernetesEvents: (clusterId: string,
|
|
20866
|
+
getClusterKubernetesEvents: (clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20866
20867
|
/**
|
|
20867
20868
|
*
|
|
20868
20869
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -21092,13 +21093,14 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
21092
21093
|
* List Cluster Kubernetes Events
|
|
21093
21094
|
* @summary List Cluster Kubernetes Events
|
|
21094
21095
|
* @param {string} clusterId Cluster ID
|
|
21095
|
-
* @param {string} nodeName
|
|
21096
21096
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21097
21097
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21098
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
21099
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
21098
21100
|
* @param {*} [options] Override http request option.
|
|
21099
21101
|
* @throws {RequiredError}
|
|
21100
21102
|
*/
|
|
21101
|
-
getClusterKubernetesEvents(clusterId: string,
|
|
21103
|
+
getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterKubernetesEvents200Response>>;
|
|
21102
21104
|
/**
|
|
21103
21105
|
*
|
|
21104
21106
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -21328,13 +21330,14 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
21328
21330
|
* List Cluster Kubernetes Events
|
|
21329
21331
|
* @summary List Cluster Kubernetes Events
|
|
21330
21332
|
* @param {string} clusterId Cluster ID
|
|
21331
|
-
* @param {string} nodeName
|
|
21332
21333
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21333
21334
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21335
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
21336
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
21334
21337
|
* @param {*} [options] Override http request option.
|
|
21335
21338
|
* @throws {RequiredError}
|
|
21336
21339
|
*/
|
|
21337
|
-
getClusterKubernetesEvents(clusterId: string,
|
|
21340
|
+
getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: any): AxiosPromise<GetClusterKubernetesEvents200Response>;
|
|
21338
21341
|
/**
|
|
21339
21342
|
*
|
|
21340
21343
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -21575,14 +21578,15 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
21575
21578
|
* List Cluster Kubernetes Events
|
|
21576
21579
|
* @summary List Cluster Kubernetes Events
|
|
21577
21580
|
* @param {string} clusterId Cluster ID
|
|
21578
|
-
* @param {string} nodeName
|
|
21579
21581
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21580
21582
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21583
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
21584
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
21581
21585
|
* @param {*} [options] Override http request option.
|
|
21582
21586
|
* @throws {RequiredError}
|
|
21583
21587
|
* @memberof ClustersApi
|
|
21584
21588
|
*/
|
|
21585
|
-
getClusterKubernetesEvents(clusterId: string,
|
|
21589
|
+
getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterKubernetesEvents200Response, any>>;
|
|
21586
21590
|
/**
|
|
21587
21591
|
*
|
|
21588
21592
|
* @summary Know if a cluster is ready to be deployed or not
|
package/dist/api.js
CHANGED
|
@@ -9408,24 +9408,22 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
9408
9408
|
* List Cluster Kubernetes Events
|
|
9409
9409
|
* @summary List Cluster Kubernetes Events
|
|
9410
9410
|
* @param {string} clusterId Cluster ID
|
|
9411
|
-
* @param {string} nodeName
|
|
9412
9411
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
9413
9412
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
9413
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
9414
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
9414
9415
|
* @param {*} [options] Override http request option.
|
|
9415
9416
|
* @throws {RequiredError}
|
|
9416
9417
|
*/
|
|
9417
|
-
getClusterKubernetesEvents: (clusterId,
|
|
9418
|
+
getClusterKubernetesEvents: (clusterId, fromDateTime, toDateTime, nodeName, podName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
9418
9419
|
// verify required parameter 'clusterId' is not null or undefined
|
|
9419
9420
|
(0, common_1.assertParamExists)('getClusterKubernetesEvents', 'clusterId', clusterId);
|
|
9420
|
-
// verify required parameter 'nodeName' is not null or undefined
|
|
9421
|
-
(0, common_1.assertParamExists)('getClusterKubernetesEvents', 'nodeName', nodeName);
|
|
9422
9421
|
// verify required parameter 'fromDateTime' is not null or undefined
|
|
9423
9422
|
(0, common_1.assertParamExists)('getClusterKubernetesEvents', 'fromDateTime', fromDateTime);
|
|
9424
9423
|
// verify required parameter 'toDateTime' is not null or undefined
|
|
9425
9424
|
(0, common_1.assertParamExists)('getClusterKubernetesEvents', 'toDateTime', toDateTime);
|
|
9426
|
-
const localVarPath = `/cluster/{clusterId}/events
|
|
9427
|
-
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
|
|
9428
|
-
.replace(`{${"nodeName"}}`, encodeURIComponent(String(nodeName)));
|
|
9425
|
+
const localVarPath = `/cluster/{clusterId}/events`
|
|
9426
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
9429
9427
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9430
9428
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9431
9429
|
let baseOptions;
|
|
@@ -9446,6 +9444,12 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
9446
9444
|
if (toDateTime !== undefined) {
|
|
9447
9445
|
localVarQueryParameter['to_date_time'] = toDateTime;
|
|
9448
9446
|
}
|
|
9447
|
+
if (nodeName !== undefined) {
|
|
9448
|
+
localVarQueryParameter['node_name'] = nodeName;
|
|
9449
|
+
}
|
|
9450
|
+
if (podName !== undefined) {
|
|
9451
|
+
localVarQueryParameter['pod_name'] = podName;
|
|
9452
|
+
}
|
|
9449
9453
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9450
9454
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9451
9455
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10152,15 +10156,16 @@ const ClustersApiFp = function (configuration) {
|
|
|
10152
10156
|
* List Cluster Kubernetes Events
|
|
10153
10157
|
* @summary List Cluster Kubernetes Events
|
|
10154
10158
|
* @param {string} clusterId Cluster ID
|
|
10155
|
-
* @param {string} nodeName
|
|
10156
10159
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10157
10160
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10161
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
10162
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
10158
10163
|
* @param {*} [options] Override http request option.
|
|
10159
10164
|
* @throws {RequiredError}
|
|
10160
10165
|
*/
|
|
10161
|
-
getClusterKubernetesEvents(clusterId,
|
|
10166
|
+
getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options) {
|
|
10162
10167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10163
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterKubernetesEvents(clusterId,
|
|
10168
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options);
|
|
10164
10169
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
10165
10170
|
});
|
|
10166
10171
|
},
|
|
@@ -10490,14 +10495,15 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
10490
10495
|
* List Cluster Kubernetes Events
|
|
10491
10496
|
* @summary List Cluster Kubernetes Events
|
|
10492
10497
|
* @param {string} clusterId Cluster ID
|
|
10493
|
-
* @param {string} nodeName
|
|
10494
10498
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10495
10499
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10500
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
10501
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
10496
10502
|
* @param {*} [options] Override http request option.
|
|
10497
10503
|
* @throws {RequiredError}
|
|
10498
10504
|
*/
|
|
10499
|
-
getClusterKubernetesEvents(clusterId,
|
|
10500
|
-
return localVarFp.getClusterKubernetesEvents(clusterId,
|
|
10505
|
+
getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options) {
|
|
10506
|
+
return localVarFp.getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options).then((request) => request(axios, basePath));
|
|
10501
10507
|
},
|
|
10502
10508
|
/**
|
|
10503
10509
|
*
|
|
@@ -10789,15 +10795,16 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
10789
10795
|
* List Cluster Kubernetes Events
|
|
10790
10796
|
* @summary List Cluster Kubernetes Events
|
|
10791
10797
|
* @param {string} clusterId Cluster ID
|
|
10792
|
-
* @param {string} nodeName
|
|
10793
10798
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10794
10799
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10800
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
10801
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
10795
10802
|
* @param {*} [options] Override http request option.
|
|
10796
10803
|
* @throws {RequiredError}
|
|
10797
10804
|
* @memberof ClustersApi
|
|
10798
10805
|
*/
|
|
10799
|
-
getClusterKubernetesEvents(clusterId,
|
|
10800
|
-
return (0, exports.ClustersApiFp)(this.configuration).getClusterKubernetesEvents(clusterId,
|
|
10806
|
+
getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options) {
|
|
10807
|
+
return (0, exports.ClustersApiFp)(this.configuration).getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options).then((request) => request(this.axios, this.basePath));
|
|
10801
10808
|
}
|
|
10802
10809
|
/**
|
|
10803
10810
|
*
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -20856,13 +20856,14 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
20856
20856
|
* List Cluster Kubernetes Events
|
|
20857
20857
|
* @summary List Cluster Kubernetes Events
|
|
20858
20858
|
* @param {string} clusterId Cluster ID
|
|
20859
|
-
* @param {string} nodeName
|
|
20860
20859
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
20861
20860
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
20861
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
20862
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
20862
20863
|
* @param {*} [options] Override http request option.
|
|
20863
20864
|
* @throws {RequiredError}
|
|
20864
20865
|
*/
|
|
20865
|
-
getClusterKubernetesEvents: (clusterId: string,
|
|
20866
|
+
getClusterKubernetesEvents: (clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20866
20867
|
/**
|
|
20867
20868
|
*
|
|
20868
20869
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -21092,13 +21093,14 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
21092
21093
|
* List Cluster Kubernetes Events
|
|
21093
21094
|
* @summary List Cluster Kubernetes Events
|
|
21094
21095
|
* @param {string} clusterId Cluster ID
|
|
21095
|
-
* @param {string} nodeName
|
|
21096
21096
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21097
21097
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21098
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
21099
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
21098
21100
|
* @param {*} [options] Override http request option.
|
|
21099
21101
|
* @throws {RequiredError}
|
|
21100
21102
|
*/
|
|
21101
|
-
getClusterKubernetesEvents(clusterId: string,
|
|
21103
|
+
getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterKubernetesEvents200Response>>;
|
|
21102
21104
|
/**
|
|
21103
21105
|
*
|
|
21104
21106
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -21328,13 +21330,14 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
21328
21330
|
* List Cluster Kubernetes Events
|
|
21329
21331
|
* @summary List Cluster Kubernetes Events
|
|
21330
21332
|
* @param {string} clusterId Cluster ID
|
|
21331
|
-
* @param {string} nodeName
|
|
21332
21333
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21333
21334
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21335
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
21336
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
21334
21337
|
* @param {*} [options] Override http request option.
|
|
21335
21338
|
* @throws {RequiredError}
|
|
21336
21339
|
*/
|
|
21337
|
-
getClusterKubernetesEvents(clusterId: string,
|
|
21340
|
+
getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: any): AxiosPromise<GetClusterKubernetesEvents200Response>;
|
|
21338
21341
|
/**
|
|
21339
21342
|
*
|
|
21340
21343
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -21575,14 +21578,15 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
21575
21578
|
* List Cluster Kubernetes Events
|
|
21576
21579
|
* @summary List Cluster Kubernetes Events
|
|
21577
21580
|
* @param {string} clusterId Cluster ID
|
|
21578
|
-
* @param {string} nodeName
|
|
21579
21581
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21580
21582
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21583
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
21584
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
21581
21585
|
* @param {*} [options] Override http request option.
|
|
21582
21586
|
* @throws {RequiredError}
|
|
21583
21587
|
* @memberof ClustersApi
|
|
21584
21588
|
*/
|
|
21585
|
-
getClusterKubernetesEvents(clusterId: string,
|
|
21589
|
+
getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterKubernetesEvents200Response, any>>;
|
|
21586
21590
|
/**
|
|
21587
21591
|
*
|
|
21588
21592
|
* @summary Know if a cluster is ready to be deployed or not
|
package/dist/esm/api.js
CHANGED
|
@@ -9337,24 +9337,22 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
9337
9337
|
* List Cluster Kubernetes Events
|
|
9338
9338
|
* @summary List Cluster Kubernetes Events
|
|
9339
9339
|
* @param {string} clusterId Cluster ID
|
|
9340
|
-
* @param {string} nodeName
|
|
9341
9340
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
9342
9341
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
9342
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
9343
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
9343
9344
|
* @param {*} [options] Override http request option.
|
|
9344
9345
|
* @throws {RequiredError}
|
|
9345
9346
|
*/
|
|
9346
|
-
getClusterKubernetesEvents: (clusterId,
|
|
9347
|
+
getClusterKubernetesEvents: (clusterId, fromDateTime, toDateTime, nodeName, podName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
9347
9348
|
// verify required parameter 'clusterId' is not null or undefined
|
|
9348
9349
|
assertParamExists('getClusterKubernetesEvents', 'clusterId', clusterId);
|
|
9349
|
-
// verify required parameter 'nodeName' is not null or undefined
|
|
9350
|
-
assertParamExists('getClusterKubernetesEvents', 'nodeName', nodeName);
|
|
9351
9350
|
// verify required parameter 'fromDateTime' is not null or undefined
|
|
9352
9351
|
assertParamExists('getClusterKubernetesEvents', 'fromDateTime', fromDateTime);
|
|
9353
9352
|
// verify required parameter 'toDateTime' is not null or undefined
|
|
9354
9353
|
assertParamExists('getClusterKubernetesEvents', 'toDateTime', toDateTime);
|
|
9355
|
-
const localVarPath = `/cluster/{clusterId}/events
|
|
9356
|
-
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
|
|
9357
|
-
.replace(`{${"nodeName"}}`, encodeURIComponent(String(nodeName)));
|
|
9354
|
+
const localVarPath = `/cluster/{clusterId}/events`
|
|
9355
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
9358
9356
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9359
9357
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9360
9358
|
let baseOptions;
|
|
@@ -9375,6 +9373,12 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
9375
9373
|
if (toDateTime !== undefined) {
|
|
9376
9374
|
localVarQueryParameter['to_date_time'] = toDateTime;
|
|
9377
9375
|
}
|
|
9376
|
+
if (nodeName !== undefined) {
|
|
9377
|
+
localVarQueryParameter['node_name'] = nodeName;
|
|
9378
|
+
}
|
|
9379
|
+
if (podName !== undefined) {
|
|
9380
|
+
localVarQueryParameter['pod_name'] = podName;
|
|
9381
|
+
}
|
|
9378
9382
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9379
9383
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9380
9384
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -10080,15 +10084,16 @@ export const ClustersApiFp = function (configuration) {
|
|
|
10080
10084
|
* List Cluster Kubernetes Events
|
|
10081
10085
|
* @summary List Cluster Kubernetes Events
|
|
10082
10086
|
* @param {string} clusterId Cluster ID
|
|
10083
|
-
* @param {string} nodeName
|
|
10084
10087
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10085
10088
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10089
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
10090
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
10086
10091
|
* @param {*} [options] Override http request option.
|
|
10087
10092
|
* @throws {RequiredError}
|
|
10088
10093
|
*/
|
|
10089
|
-
getClusterKubernetesEvents(clusterId,
|
|
10094
|
+
getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options) {
|
|
10090
10095
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10091
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterKubernetesEvents(clusterId,
|
|
10096
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options);
|
|
10092
10097
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10093
10098
|
});
|
|
10094
10099
|
},
|
|
@@ -10417,14 +10422,15 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
10417
10422
|
* List Cluster Kubernetes Events
|
|
10418
10423
|
* @summary List Cluster Kubernetes Events
|
|
10419
10424
|
* @param {string} clusterId Cluster ID
|
|
10420
|
-
* @param {string} nodeName
|
|
10421
10425
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10422
10426
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10427
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
10428
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
10423
10429
|
* @param {*} [options] Override http request option.
|
|
10424
10430
|
* @throws {RequiredError}
|
|
10425
10431
|
*/
|
|
10426
|
-
getClusterKubernetesEvents(clusterId,
|
|
10427
|
-
return localVarFp.getClusterKubernetesEvents(clusterId,
|
|
10432
|
+
getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options) {
|
|
10433
|
+
return localVarFp.getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options).then((request) => request(axios, basePath));
|
|
10428
10434
|
},
|
|
10429
10435
|
/**
|
|
10430
10436
|
*
|
|
@@ -10715,15 +10721,16 @@ export class ClustersApi extends BaseAPI {
|
|
|
10715
10721
|
* List Cluster Kubernetes Events
|
|
10716
10722
|
* @summary List Cluster Kubernetes Events
|
|
10717
10723
|
* @param {string} clusterId Cluster ID
|
|
10718
|
-
* @param {string} nodeName
|
|
10719
10724
|
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10720
10725
|
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10726
|
+
* @param {string} [nodeName] The name of the node to fetch event from
|
|
10727
|
+
* @param {string} [podName] The name of the pod to fetch event from
|
|
10721
10728
|
* @param {*} [options] Override http request option.
|
|
10722
10729
|
* @throws {RequiredError}
|
|
10723
10730
|
* @memberof ClustersApi
|
|
10724
10731
|
*/
|
|
10725
|
-
getClusterKubernetesEvents(clusterId,
|
|
10726
|
-
return ClustersApiFp(this.configuration).getClusterKubernetesEvents(clusterId,
|
|
10732
|
+
getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options) {
|
|
10733
|
+
return ClustersApiFp(this.configuration).getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options).then((request) => request(this.axios, this.basePath));
|
|
10727
10734
|
}
|
|
10728
10735
|
/**
|
|
10729
10736
|
*
|