qovery-typescript-axios 1.1.552 → 1.1.553
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 +163 -0
- package/dist/api.d.ts +107 -0
- package/dist/api.js +93 -0
- package/dist/esm/api.d.ts +107 -0
- package/dist/esm/api.js +93 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -8328,6 +8328,68 @@ export interface GenericObjectCurrentCost {
|
|
|
8328
8328
|
*/
|
|
8329
8329
|
'cost': Cost;
|
|
8330
8330
|
}
|
|
8331
|
+
/**
|
|
8332
|
+
*
|
|
8333
|
+
* @export
|
|
8334
|
+
* @interface GetClusterKubernetesEvents200Response
|
|
8335
|
+
*/
|
|
8336
|
+
export interface GetClusterKubernetesEvents200Response {
|
|
8337
|
+
/**
|
|
8338
|
+
*
|
|
8339
|
+
* @type {Array<GetClusterKubernetesEvents200ResponseResultsInner>}
|
|
8340
|
+
* @memberof GetClusterKubernetesEvents200Response
|
|
8341
|
+
*/
|
|
8342
|
+
'results'?: Array<GetClusterKubernetesEvents200ResponseResultsInner>;
|
|
8343
|
+
}
|
|
8344
|
+
/**
|
|
8345
|
+
*
|
|
8346
|
+
* @export
|
|
8347
|
+
* @interface GetClusterKubernetesEvents200ResponseResultsInner
|
|
8348
|
+
*/
|
|
8349
|
+
export interface GetClusterKubernetesEvents200ResponseResultsInner {
|
|
8350
|
+
/**
|
|
8351
|
+
* The created date following ISO-8601 format
|
|
8352
|
+
* @type {string}
|
|
8353
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8354
|
+
*/
|
|
8355
|
+
'created_at'?: string;
|
|
8356
|
+
/**
|
|
8357
|
+
* The source kubernetes object related to the Event
|
|
8358
|
+
* @type {string}
|
|
8359
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8360
|
+
*/
|
|
8361
|
+
'kind'?: string;
|
|
8362
|
+
/**
|
|
8363
|
+
* The namespace of the kubernetes object related to the Event (optional)
|
|
8364
|
+
* @type {string}
|
|
8365
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8366
|
+
*/
|
|
8367
|
+
'namespace'?: string;
|
|
8368
|
+
/**
|
|
8369
|
+
* The name of the Event
|
|
8370
|
+
* @type {string}
|
|
8371
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8372
|
+
*/
|
|
8373
|
+
'name'?: string;
|
|
8374
|
+
/**
|
|
8375
|
+
* The action that triggered the Event
|
|
8376
|
+
* @type {string}
|
|
8377
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8378
|
+
*/
|
|
8379
|
+
'reason'?: string;
|
|
8380
|
+
/**
|
|
8381
|
+
* A description of the Event
|
|
8382
|
+
* @type {string}
|
|
8383
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8384
|
+
*/
|
|
8385
|
+
'message'?: string;
|
|
8386
|
+
/**
|
|
8387
|
+
* As of today it can be either Warning or Normal (can evolve in the next releases)
|
|
8388
|
+
* @type {string}
|
|
8389
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8390
|
+
*/
|
|
8391
|
+
'type'?: string;
|
|
8392
|
+
}
|
|
8331
8393
|
/**
|
|
8332
8394
|
*
|
|
8333
8395
|
* @export
|
|
@@ -26241,6 +26303,65 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
26241
26303
|
|
|
26242
26304
|
|
|
26243
26305
|
|
|
26306
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26307
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26308
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26309
|
+
|
|
26310
|
+
return {
|
|
26311
|
+
url: toPathString(localVarUrlObj),
|
|
26312
|
+
options: localVarRequestOptions,
|
|
26313
|
+
};
|
|
26314
|
+
},
|
|
26315
|
+
/**
|
|
26316
|
+
* List Cluster Kubernetes Events
|
|
26317
|
+
* @summary List Cluster Kubernetes Events
|
|
26318
|
+
* @param {string} clusterId Cluster ID
|
|
26319
|
+
* @param {string} nodeName
|
|
26320
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
26321
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
26322
|
+
* @param {*} [options] Override http request option.
|
|
26323
|
+
* @throws {RequiredError}
|
|
26324
|
+
*/
|
|
26325
|
+
getClusterKubernetesEvents: async (clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26326
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
26327
|
+
assertParamExists('getClusterKubernetesEvents', 'clusterId', clusterId)
|
|
26328
|
+
// verify required parameter 'nodeName' is not null or undefined
|
|
26329
|
+
assertParamExists('getClusterKubernetesEvents', 'nodeName', nodeName)
|
|
26330
|
+
// verify required parameter 'fromDateTime' is not null or undefined
|
|
26331
|
+
assertParamExists('getClusterKubernetesEvents', 'fromDateTime', fromDateTime)
|
|
26332
|
+
// verify required parameter 'toDateTime' is not null or undefined
|
|
26333
|
+
assertParamExists('getClusterKubernetesEvents', 'toDateTime', toDateTime)
|
|
26334
|
+
const localVarPath = `/cluster/{clusterId}/events/{nodeName}`
|
|
26335
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
|
|
26336
|
+
.replace(`{${"nodeName"}}`, encodeURIComponent(String(nodeName)));
|
|
26337
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26338
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26339
|
+
let baseOptions;
|
|
26340
|
+
if (configuration) {
|
|
26341
|
+
baseOptions = configuration.baseOptions;
|
|
26342
|
+
}
|
|
26343
|
+
|
|
26344
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26345
|
+
const localVarHeaderParameter = {} as any;
|
|
26346
|
+
const localVarQueryParameter = {} as any;
|
|
26347
|
+
|
|
26348
|
+
// authentication ApiKeyAuth required
|
|
26349
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26350
|
+
|
|
26351
|
+
// authentication bearerAuth required
|
|
26352
|
+
// http bearer authentication required
|
|
26353
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26354
|
+
|
|
26355
|
+
if (fromDateTime !== undefined) {
|
|
26356
|
+
localVarQueryParameter['from_date_time'] = fromDateTime;
|
|
26357
|
+
}
|
|
26358
|
+
|
|
26359
|
+
if (toDateTime !== undefined) {
|
|
26360
|
+
localVarQueryParameter['to_date_time'] = toDateTime;
|
|
26361
|
+
}
|
|
26362
|
+
|
|
26363
|
+
|
|
26364
|
+
|
|
26244
26365
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26245
26366
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26246
26367
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -27034,6 +27155,20 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
27034
27155
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options);
|
|
27035
27156
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27036
27157
|
},
|
|
27158
|
+
/**
|
|
27159
|
+
* List Cluster Kubernetes Events
|
|
27160
|
+
* @summary List Cluster Kubernetes Events
|
|
27161
|
+
* @param {string} clusterId Cluster ID
|
|
27162
|
+
* @param {string} nodeName
|
|
27163
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
27164
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
27165
|
+
* @param {*} [options] Override http request option.
|
|
27166
|
+
* @throws {RequiredError}
|
|
27167
|
+
*/
|
|
27168
|
+
async getClusterKubernetesEvents(clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterKubernetesEvents200Response>> {
|
|
27169
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options);
|
|
27170
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27171
|
+
},
|
|
27037
27172
|
/**
|
|
27038
27173
|
*
|
|
27039
27174
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -27326,6 +27461,19 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
27326
27461
|
getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: any): AxiosPromise<string> {
|
|
27327
27462
|
return localVarFp.getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(axios, basePath));
|
|
27328
27463
|
},
|
|
27464
|
+
/**
|
|
27465
|
+
* List Cluster Kubernetes Events
|
|
27466
|
+
* @summary List Cluster Kubernetes Events
|
|
27467
|
+
* @param {string} clusterId Cluster ID
|
|
27468
|
+
* @param {string} nodeName
|
|
27469
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
27470
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
27471
|
+
* @param {*} [options] Override http request option.
|
|
27472
|
+
* @throws {RequiredError}
|
|
27473
|
+
*/
|
|
27474
|
+
getClusterKubernetesEvents(clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: any): AxiosPromise<GetClusterKubernetesEvents200Response> {
|
|
27475
|
+
return localVarFp.getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options).then((request) => request(axios, basePath));
|
|
27476
|
+
},
|
|
27329
27477
|
/**
|
|
27330
27478
|
*
|
|
27331
27479
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -27621,6 +27769,21 @@ export class ClustersApi extends BaseAPI {
|
|
|
27621
27769
|
return ClustersApiFp(this.configuration).getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(this.axios, this.basePath));
|
|
27622
27770
|
}
|
|
27623
27771
|
|
|
27772
|
+
/**
|
|
27773
|
+
* List Cluster Kubernetes Events
|
|
27774
|
+
* @summary List Cluster Kubernetes Events
|
|
27775
|
+
* @param {string} clusterId Cluster ID
|
|
27776
|
+
* @param {string} nodeName
|
|
27777
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
27778
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
27779
|
+
* @param {*} [options] Override http request option.
|
|
27780
|
+
* @throws {RequiredError}
|
|
27781
|
+
* @memberof ClustersApi
|
|
27782
|
+
*/
|
|
27783
|
+
public getClusterKubernetesEvents(clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: AxiosRequestConfig) {
|
|
27784
|
+
return ClustersApiFp(this.configuration).getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options).then((request) => request(this.axios, this.basePath));
|
|
27785
|
+
}
|
|
27786
|
+
|
|
27624
27787
|
/**
|
|
27625
27788
|
*
|
|
27626
27789
|
* @summary Know if a cluster is ready to be deployed or not
|
package/dist/api.d.ts
CHANGED
|
@@ -8079,6 +8079,68 @@ export interface GenericObjectCurrentCost {
|
|
|
8079
8079
|
*/
|
|
8080
8080
|
'cost': Cost;
|
|
8081
8081
|
}
|
|
8082
|
+
/**
|
|
8083
|
+
*
|
|
8084
|
+
* @export
|
|
8085
|
+
* @interface GetClusterKubernetesEvents200Response
|
|
8086
|
+
*/
|
|
8087
|
+
export interface GetClusterKubernetesEvents200Response {
|
|
8088
|
+
/**
|
|
8089
|
+
*
|
|
8090
|
+
* @type {Array<GetClusterKubernetesEvents200ResponseResultsInner>}
|
|
8091
|
+
* @memberof GetClusterKubernetesEvents200Response
|
|
8092
|
+
*/
|
|
8093
|
+
'results'?: Array<GetClusterKubernetesEvents200ResponseResultsInner>;
|
|
8094
|
+
}
|
|
8095
|
+
/**
|
|
8096
|
+
*
|
|
8097
|
+
* @export
|
|
8098
|
+
* @interface GetClusterKubernetesEvents200ResponseResultsInner
|
|
8099
|
+
*/
|
|
8100
|
+
export interface GetClusterKubernetesEvents200ResponseResultsInner {
|
|
8101
|
+
/**
|
|
8102
|
+
* The created date following ISO-8601 format
|
|
8103
|
+
* @type {string}
|
|
8104
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8105
|
+
*/
|
|
8106
|
+
'created_at'?: string;
|
|
8107
|
+
/**
|
|
8108
|
+
* The source kubernetes object related to the Event
|
|
8109
|
+
* @type {string}
|
|
8110
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8111
|
+
*/
|
|
8112
|
+
'kind'?: string;
|
|
8113
|
+
/**
|
|
8114
|
+
* The namespace of the kubernetes object related to the Event (optional)
|
|
8115
|
+
* @type {string}
|
|
8116
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8117
|
+
*/
|
|
8118
|
+
'namespace'?: string;
|
|
8119
|
+
/**
|
|
8120
|
+
* The name of the Event
|
|
8121
|
+
* @type {string}
|
|
8122
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8123
|
+
*/
|
|
8124
|
+
'name'?: string;
|
|
8125
|
+
/**
|
|
8126
|
+
* The action that triggered the Event
|
|
8127
|
+
* @type {string}
|
|
8128
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8129
|
+
*/
|
|
8130
|
+
'reason'?: string;
|
|
8131
|
+
/**
|
|
8132
|
+
* A description of the Event
|
|
8133
|
+
* @type {string}
|
|
8134
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8135
|
+
*/
|
|
8136
|
+
'message'?: string;
|
|
8137
|
+
/**
|
|
8138
|
+
* As of today it can be either Warning or Normal (can evolve in the next releases)
|
|
8139
|
+
* @type {string}
|
|
8140
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8141
|
+
*/
|
|
8142
|
+
'type'?: string;
|
|
8143
|
+
}
|
|
8082
8144
|
/**
|
|
8083
8145
|
*
|
|
8084
8146
|
* @export
|
|
@@ -20680,6 +20742,17 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
20680
20742
|
* @throws {RequiredError}
|
|
20681
20743
|
*/
|
|
20682
20744
|
getClusterKubeconfig: (organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20745
|
+
/**
|
|
20746
|
+
* List Cluster Kubernetes Events
|
|
20747
|
+
* @summary List Cluster Kubernetes Events
|
|
20748
|
+
* @param {string} clusterId Cluster ID
|
|
20749
|
+
* @param {string} nodeName
|
|
20750
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
20751
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
20752
|
+
* @param {*} [options] Override http request option.
|
|
20753
|
+
* @throws {RequiredError}
|
|
20754
|
+
*/
|
|
20755
|
+
getClusterKubernetesEvents: (clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20683
20756
|
/**
|
|
20684
20757
|
*
|
|
20685
20758
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -20905,6 +20978,17 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
20905
20978
|
* @throws {RequiredError}
|
|
20906
20979
|
*/
|
|
20907
20980
|
getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
20981
|
+
/**
|
|
20982
|
+
* List Cluster Kubernetes Events
|
|
20983
|
+
* @summary List Cluster Kubernetes Events
|
|
20984
|
+
* @param {string} clusterId Cluster ID
|
|
20985
|
+
* @param {string} nodeName
|
|
20986
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
20987
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
20988
|
+
* @param {*} [options] Override http request option.
|
|
20989
|
+
* @throws {RequiredError}
|
|
20990
|
+
*/
|
|
20991
|
+
getClusterKubernetesEvents(clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterKubernetesEvents200Response>>;
|
|
20908
20992
|
/**
|
|
20909
20993
|
*
|
|
20910
20994
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -21130,6 +21214,17 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
21130
21214
|
* @throws {RequiredError}
|
|
21131
21215
|
*/
|
|
21132
21216
|
getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: any): AxiosPromise<string>;
|
|
21217
|
+
/**
|
|
21218
|
+
* List Cluster Kubernetes Events
|
|
21219
|
+
* @summary List Cluster Kubernetes Events
|
|
21220
|
+
* @param {string} clusterId Cluster ID
|
|
21221
|
+
* @param {string} nodeName
|
|
21222
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21223
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21224
|
+
* @param {*} [options] Override http request option.
|
|
21225
|
+
* @throws {RequiredError}
|
|
21226
|
+
*/
|
|
21227
|
+
getClusterKubernetesEvents(clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: any): AxiosPromise<GetClusterKubernetesEvents200Response>;
|
|
21133
21228
|
/**
|
|
21134
21229
|
*
|
|
21135
21230
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -21366,6 +21461,18 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
21366
21461
|
* @memberof ClustersApi
|
|
21367
21462
|
*/
|
|
21368
21463
|
getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
21464
|
+
/**
|
|
21465
|
+
* List Cluster Kubernetes Events
|
|
21466
|
+
* @summary List Cluster Kubernetes Events
|
|
21467
|
+
* @param {string} clusterId Cluster ID
|
|
21468
|
+
* @param {string} nodeName
|
|
21469
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21470
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21471
|
+
* @param {*} [options] Override http request option.
|
|
21472
|
+
* @throws {RequiredError}
|
|
21473
|
+
* @memberof ClustersApi
|
|
21474
|
+
*/
|
|
21475
|
+
getClusterKubernetesEvents(clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterKubernetesEvents200Response, any>>;
|
|
21369
21476
|
/**
|
|
21370
21477
|
*
|
|
21371
21478
|
* @summary Know if a cluster is ready to be deployed or not
|
package/dist/api.js
CHANGED
|
@@ -9383,6 +9383,56 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
9383
9383
|
options: localVarRequestOptions,
|
|
9384
9384
|
};
|
|
9385
9385
|
}),
|
|
9386
|
+
/**
|
|
9387
|
+
* List Cluster Kubernetes Events
|
|
9388
|
+
* @summary List Cluster Kubernetes Events
|
|
9389
|
+
* @param {string} clusterId Cluster ID
|
|
9390
|
+
* @param {string} nodeName
|
|
9391
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
9392
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
9393
|
+
* @param {*} [options] Override http request option.
|
|
9394
|
+
* @throws {RequiredError}
|
|
9395
|
+
*/
|
|
9396
|
+
getClusterKubernetesEvents: (clusterId, nodeName, fromDateTime, toDateTime, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
9397
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
9398
|
+
(0, common_1.assertParamExists)('getClusterKubernetesEvents', 'clusterId', clusterId);
|
|
9399
|
+
// verify required parameter 'nodeName' is not null or undefined
|
|
9400
|
+
(0, common_1.assertParamExists)('getClusterKubernetesEvents', 'nodeName', nodeName);
|
|
9401
|
+
// verify required parameter 'fromDateTime' is not null or undefined
|
|
9402
|
+
(0, common_1.assertParamExists)('getClusterKubernetesEvents', 'fromDateTime', fromDateTime);
|
|
9403
|
+
// verify required parameter 'toDateTime' is not null or undefined
|
|
9404
|
+
(0, common_1.assertParamExists)('getClusterKubernetesEvents', 'toDateTime', toDateTime);
|
|
9405
|
+
const localVarPath = `/cluster/{clusterId}/events/{nodeName}`
|
|
9406
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
|
|
9407
|
+
.replace(`{${"nodeName"}}`, encodeURIComponent(String(nodeName)));
|
|
9408
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9409
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9410
|
+
let baseOptions;
|
|
9411
|
+
if (configuration) {
|
|
9412
|
+
baseOptions = configuration.baseOptions;
|
|
9413
|
+
}
|
|
9414
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9415
|
+
const localVarHeaderParameter = {};
|
|
9416
|
+
const localVarQueryParameter = {};
|
|
9417
|
+
// authentication ApiKeyAuth required
|
|
9418
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9419
|
+
// authentication bearerAuth required
|
|
9420
|
+
// http bearer authentication required
|
|
9421
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9422
|
+
if (fromDateTime !== undefined) {
|
|
9423
|
+
localVarQueryParameter['from_date_time'] = fromDateTime;
|
|
9424
|
+
}
|
|
9425
|
+
if (toDateTime !== undefined) {
|
|
9426
|
+
localVarQueryParameter['to_date_time'] = toDateTime;
|
|
9427
|
+
}
|
|
9428
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9429
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9430
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9431
|
+
return {
|
|
9432
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9433
|
+
options: localVarRequestOptions,
|
|
9434
|
+
};
|
|
9435
|
+
}),
|
|
9386
9436
|
/**
|
|
9387
9437
|
*
|
|
9388
9438
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -10077,6 +10127,22 @@ const ClustersApiFp = function (configuration) {
|
|
|
10077
10127
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
10078
10128
|
});
|
|
10079
10129
|
},
|
|
10130
|
+
/**
|
|
10131
|
+
* List Cluster Kubernetes Events
|
|
10132
|
+
* @summary List Cluster Kubernetes Events
|
|
10133
|
+
* @param {string} clusterId Cluster ID
|
|
10134
|
+
* @param {string} nodeName
|
|
10135
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10136
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10137
|
+
* @param {*} [options] Override http request option.
|
|
10138
|
+
* @throws {RequiredError}
|
|
10139
|
+
*/
|
|
10140
|
+
getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options) {
|
|
10141
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10142
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options);
|
|
10143
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
10144
|
+
});
|
|
10145
|
+
},
|
|
10080
10146
|
/**
|
|
10081
10147
|
*
|
|
10082
10148
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -10399,6 +10465,19 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
10399
10465
|
getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options) {
|
|
10400
10466
|
return localVarFp.getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(axios, basePath));
|
|
10401
10467
|
},
|
|
10468
|
+
/**
|
|
10469
|
+
* List Cluster Kubernetes Events
|
|
10470
|
+
* @summary List Cluster Kubernetes Events
|
|
10471
|
+
* @param {string} clusterId Cluster ID
|
|
10472
|
+
* @param {string} nodeName
|
|
10473
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10474
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10475
|
+
* @param {*} [options] Override http request option.
|
|
10476
|
+
* @throws {RequiredError}
|
|
10477
|
+
*/
|
|
10478
|
+
getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options) {
|
|
10479
|
+
return localVarFp.getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options).then((request) => request(axios, basePath));
|
|
10480
|
+
},
|
|
10402
10481
|
/**
|
|
10403
10482
|
*
|
|
10404
10483
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -10685,6 +10764,20 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
10685
10764
|
getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options) {
|
|
10686
10765
|
return (0, exports.ClustersApiFp)(this.configuration).getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(this.axios, this.basePath));
|
|
10687
10766
|
}
|
|
10767
|
+
/**
|
|
10768
|
+
* List Cluster Kubernetes Events
|
|
10769
|
+
* @summary List Cluster Kubernetes Events
|
|
10770
|
+
* @param {string} clusterId Cluster ID
|
|
10771
|
+
* @param {string} nodeName
|
|
10772
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10773
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10774
|
+
* @param {*} [options] Override http request option.
|
|
10775
|
+
* @throws {RequiredError}
|
|
10776
|
+
* @memberof ClustersApi
|
|
10777
|
+
*/
|
|
10778
|
+
getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options) {
|
|
10779
|
+
return (0, exports.ClustersApiFp)(this.configuration).getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options).then((request) => request(this.axios, this.basePath));
|
|
10780
|
+
}
|
|
10688
10781
|
/**
|
|
10689
10782
|
*
|
|
10690
10783
|
* @summary Know if a cluster is ready to be deployed or not
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -8079,6 +8079,68 @@ export interface GenericObjectCurrentCost {
|
|
|
8079
8079
|
*/
|
|
8080
8080
|
'cost': Cost;
|
|
8081
8081
|
}
|
|
8082
|
+
/**
|
|
8083
|
+
*
|
|
8084
|
+
* @export
|
|
8085
|
+
* @interface GetClusterKubernetesEvents200Response
|
|
8086
|
+
*/
|
|
8087
|
+
export interface GetClusterKubernetesEvents200Response {
|
|
8088
|
+
/**
|
|
8089
|
+
*
|
|
8090
|
+
* @type {Array<GetClusterKubernetesEvents200ResponseResultsInner>}
|
|
8091
|
+
* @memberof GetClusterKubernetesEvents200Response
|
|
8092
|
+
*/
|
|
8093
|
+
'results'?: Array<GetClusterKubernetesEvents200ResponseResultsInner>;
|
|
8094
|
+
}
|
|
8095
|
+
/**
|
|
8096
|
+
*
|
|
8097
|
+
* @export
|
|
8098
|
+
* @interface GetClusterKubernetesEvents200ResponseResultsInner
|
|
8099
|
+
*/
|
|
8100
|
+
export interface GetClusterKubernetesEvents200ResponseResultsInner {
|
|
8101
|
+
/**
|
|
8102
|
+
* The created date following ISO-8601 format
|
|
8103
|
+
* @type {string}
|
|
8104
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8105
|
+
*/
|
|
8106
|
+
'created_at'?: string;
|
|
8107
|
+
/**
|
|
8108
|
+
* The source kubernetes object related to the Event
|
|
8109
|
+
* @type {string}
|
|
8110
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8111
|
+
*/
|
|
8112
|
+
'kind'?: string;
|
|
8113
|
+
/**
|
|
8114
|
+
* The namespace of the kubernetes object related to the Event (optional)
|
|
8115
|
+
* @type {string}
|
|
8116
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8117
|
+
*/
|
|
8118
|
+
'namespace'?: string;
|
|
8119
|
+
/**
|
|
8120
|
+
* The name of the Event
|
|
8121
|
+
* @type {string}
|
|
8122
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8123
|
+
*/
|
|
8124
|
+
'name'?: string;
|
|
8125
|
+
/**
|
|
8126
|
+
* The action that triggered the Event
|
|
8127
|
+
* @type {string}
|
|
8128
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8129
|
+
*/
|
|
8130
|
+
'reason'?: string;
|
|
8131
|
+
/**
|
|
8132
|
+
* A description of the Event
|
|
8133
|
+
* @type {string}
|
|
8134
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8135
|
+
*/
|
|
8136
|
+
'message'?: string;
|
|
8137
|
+
/**
|
|
8138
|
+
* As of today it can be either Warning or Normal (can evolve in the next releases)
|
|
8139
|
+
* @type {string}
|
|
8140
|
+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
|
|
8141
|
+
*/
|
|
8142
|
+
'type'?: string;
|
|
8143
|
+
}
|
|
8082
8144
|
/**
|
|
8083
8145
|
*
|
|
8084
8146
|
* @export
|
|
@@ -20680,6 +20742,17 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
20680
20742
|
* @throws {RequiredError}
|
|
20681
20743
|
*/
|
|
20682
20744
|
getClusterKubeconfig: (organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20745
|
+
/**
|
|
20746
|
+
* List Cluster Kubernetes Events
|
|
20747
|
+
* @summary List Cluster Kubernetes Events
|
|
20748
|
+
* @param {string} clusterId Cluster ID
|
|
20749
|
+
* @param {string} nodeName
|
|
20750
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
20751
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
20752
|
+
* @param {*} [options] Override http request option.
|
|
20753
|
+
* @throws {RequiredError}
|
|
20754
|
+
*/
|
|
20755
|
+
getClusterKubernetesEvents: (clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20683
20756
|
/**
|
|
20684
20757
|
*
|
|
20685
20758
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -20905,6 +20978,17 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
20905
20978
|
* @throws {RequiredError}
|
|
20906
20979
|
*/
|
|
20907
20980
|
getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
20981
|
+
/**
|
|
20982
|
+
* List Cluster Kubernetes Events
|
|
20983
|
+
* @summary List Cluster Kubernetes Events
|
|
20984
|
+
* @param {string} clusterId Cluster ID
|
|
20985
|
+
* @param {string} nodeName
|
|
20986
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
20987
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
20988
|
+
* @param {*} [options] Override http request option.
|
|
20989
|
+
* @throws {RequiredError}
|
|
20990
|
+
*/
|
|
20991
|
+
getClusterKubernetesEvents(clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterKubernetesEvents200Response>>;
|
|
20908
20992
|
/**
|
|
20909
20993
|
*
|
|
20910
20994
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -21130,6 +21214,17 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
21130
21214
|
* @throws {RequiredError}
|
|
21131
21215
|
*/
|
|
21132
21216
|
getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: any): AxiosPromise<string>;
|
|
21217
|
+
/**
|
|
21218
|
+
* List Cluster Kubernetes Events
|
|
21219
|
+
* @summary List Cluster Kubernetes Events
|
|
21220
|
+
* @param {string} clusterId Cluster ID
|
|
21221
|
+
* @param {string} nodeName
|
|
21222
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21223
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21224
|
+
* @param {*} [options] Override http request option.
|
|
21225
|
+
* @throws {RequiredError}
|
|
21226
|
+
*/
|
|
21227
|
+
getClusterKubernetesEvents(clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: any): AxiosPromise<GetClusterKubernetesEvents200Response>;
|
|
21133
21228
|
/**
|
|
21134
21229
|
*
|
|
21135
21230
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -21366,6 +21461,18 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
21366
21461
|
* @memberof ClustersApi
|
|
21367
21462
|
*/
|
|
21368
21463
|
getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
21464
|
+
/**
|
|
21465
|
+
* List Cluster Kubernetes Events
|
|
21466
|
+
* @summary List Cluster Kubernetes Events
|
|
21467
|
+
* @param {string} clusterId Cluster ID
|
|
21468
|
+
* @param {string} nodeName
|
|
21469
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21470
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
21471
|
+
* @param {*} [options] Override http request option.
|
|
21472
|
+
* @throws {RequiredError}
|
|
21473
|
+
* @memberof ClustersApi
|
|
21474
|
+
*/
|
|
21475
|
+
getClusterKubernetesEvents(clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterKubernetesEvents200Response, any>>;
|
|
21369
21476
|
/**
|
|
21370
21477
|
*
|
|
21371
21478
|
* @summary Know if a cluster is ready to be deployed or not
|
package/dist/esm/api.js
CHANGED
|
@@ -9312,6 +9312,56 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
9312
9312
|
options: localVarRequestOptions,
|
|
9313
9313
|
};
|
|
9314
9314
|
}),
|
|
9315
|
+
/**
|
|
9316
|
+
* List Cluster Kubernetes Events
|
|
9317
|
+
* @summary List Cluster Kubernetes Events
|
|
9318
|
+
* @param {string} clusterId Cluster ID
|
|
9319
|
+
* @param {string} nodeName
|
|
9320
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
9321
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
9322
|
+
* @param {*} [options] Override http request option.
|
|
9323
|
+
* @throws {RequiredError}
|
|
9324
|
+
*/
|
|
9325
|
+
getClusterKubernetesEvents: (clusterId, nodeName, fromDateTime, toDateTime, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
9326
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
9327
|
+
assertParamExists('getClusterKubernetesEvents', 'clusterId', clusterId);
|
|
9328
|
+
// verify required parameter 'nodeName' is not null or undefined
|
|
9329
|
+
assertParamExists('getClusterKubernetesEvents', 'nodeName', nodeName);
|
|
9330
|
+
// verify required parameter 'fromDateTime' is not null or undefined
|
|
9331
|
+
assertParamExists('getClusterKubernetesEvents', 'fromDateTime', fromDateTime);
|
|
9332
|
+
// verify required parameter 'toDateTime' is not null or undefined
|
|
9333
|
+
assertParamExists('getClusterKubernetesEvents', 'toDateTime', toDateTime);
|
|
9334
|
+
const localVarPath = `/cluster/{clusterId}/events/{nodeName}`
|
|
9335
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
|
|
9336
|
+
.replace(`{${"nodeName"}}`, encodeURIComponent(String(nodeName)));
|
|
9337
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9338
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9339
|
+
let baseOptions;
|
|
9340
|
+
if (configuration) {
|
|
9341
|
+
baseOptions = configuration.baseOptions;
|
|
9342
|
+
}
|
|
9343
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9344
|
+
const localVarHeaderParameter = {};
|
|
9345
|
+
const localVarQueryParameter = {};
|
|
9346
|
+
// authentication ApiKeyAuth required
|
|
9347
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
9348
|
+
// authentication bearerAuth required
|
|
9349
|
+
// http bearer authentication required
|
|
9350
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9351
|
+
if (fromDateTime !== undefined) {
|
|
9352
|
+
localVarQueryParameter['from_date_time'] = fromDateTime;
|
|
9353
|
+
}
|
|
9354
|
+
if (toDateTime !== undefined) {
|
|
9355
|
+
localVarQueryParameter['to_date_time'] = toDateTime;
|
|
9356
|
+
}
|
|
9357
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9358
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9359
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9360
|
+
return {
|
|
9361
|
+
url: toPathString(localVarUrlObj),
|
|
9362
|
+
options: localVarRequestOptions,
|
|
9363
|
+
};
|
|
9364
|
+
}),
|
|
9315
9365
|
/**
|
|
9316
9366
|
*
|
|
9317
9367
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -10005,6 +10055,22 @@ export const ClustersApiFp = function (configuration) {
|
|
|
10005
10055
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10006
10056
|
});
|
|
10007
10057
|
},
|
|
10058
|
+
/**
|
|
10059
|
+
* List Cluster Kubernetes Events
|
|
10060
|
+
* @summary List Cluster Kubernetes Events
|
|
10061
|
+
* @param {string} clusterId Cluster ID
|
|
10062
|
+
* @param {string} nodeName
|
|
10063
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10064
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10065
|
+
* @param {*} [options] Override http request option.
|
|
10066
|
+
* @throws {RequiredError}
|
|
10067
|
+
*/
|
|
10068
|
+
getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options) {
|
|
10069
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10070
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options);
|
|
10071
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10072
|
+
});
|
|
10073
|
+
},
|
|
10008
10074
|
/**
|
|
10009
10075
|
*
|
|
10010
10076
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -10326,6 +10392,19 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
10326
10392
|
getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options) {
|
|
10327
10393
|
return localVarFp.getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(axios, basePath));
|
|
10328
10394
|
},
|
|
10395
|
+
/**
|
|
10396
|
+
* List Cluster Kubernetes Events
|
|
10397
|
+
* @summary List Cluster Kubernetes Events
|
|
10398
|
+
* @param {string} clusterId Cluster ID
|
|
10399
|
+
* @param {string} nodeName
|
|
10400
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10401
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10402
|
+
* @param {*} [options] Override http request option.
|
|
10403
|
+
* @throws {RequiredError}
|
|
10404
|
+
*/
|
|
10405
|
+
getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options) {
|
|
10406
|
+
return localVarFp.getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options).then((request) => request(axios, basePath));
|
|
10407
|
+
},
|
|
10329
10408
|
/**
|
|
10330
10409
|
*
|
|
10331
10410
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -10611,6 +10690,20 @@ export class ClustersApi extends BaseAPI {
|
|
|
10611
10690
|
getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options) {
|
|
10612
10691
|
return ClustersApiFp(this.configuration).getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(this.axios, this.basePath));
|
|
10613
10692
|
}
|
|
10693
|
+
/**
|
|
10694
|
+
* List Cluster Kubernetes Events
|
|
10695
|
+
* @summary List Cluster Kubernetes Events
|
|
10696
|
+
* @param {string} clusterId Cluster ID
|
|
10697
|
+
* @param {string} nodeName
|
|
10698
|
+
* @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10699
|
+
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
|
|
10700
|
+
* @param {*} [options] Override http request option.
|
|
10701
|
+
* @throws {RequiredError}
|
|
10702
|
+
* @memberof ClustersApi
|
|
10703
|
+
*/
|
|
10704
|
+
getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options) {
|
|
10705
|
+
return ClustersApiFp(this.configuration).getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options).then((request) => request(this.axios, this.basePath));
|
|
10706
|
+
}
|
|
10614
10707
|
/**
|
|
10615
10708
|
*
|
|
10616
10709
|
* @summary Know if a cluster is ready to be deployed or not
|