qovery-typescript-axios 1.1.953 → 1.1.954
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 +136 -0
- package/dist/api.d.ts +85 -0
- package/dist/api.js +86 -0
- package/dist/esm/api.d.ts +85 -0
- package/dist/esm/api.js +86 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -8028,6 +8028,50 @@ export interface ClusterOperatorStatusResponse {
|
|
|
8028
8028
|
}
|
|
8029
8029
|
|
|
8030
8030
|
|
|
8031
|
+
/**
|
|
8032
|
+
*
|
|
8033
|
+
* @export
|
|
8034
|
+
* @interface ClusterOperatorUpdateRequest
|
|
8035
|
+
*/
|
|
8036
|
+
export interface ClusterOperatorUpdateRequest {
|
|
8037
|
+
/**
|
|
8038
|
+
* Exact Qovery Operator Helm chart version to install.
|
|
8039
|
+
* @type {string}
|
|
8040
|
+
* @memberof ClusterOperatorUpdateRequest
|
|
8041
|
+
*/
|
|
8042
|
+
'chart_version': string;
|
|
8043
|
+
/**
|
|
8044
|
+
* Optional Operator image tag overriding the image target selected by q-core.
|
|
8045
|
+
* @type {string}
|
|
8046
|
+
* @memberof ClusterOperatorUpdateRequest
|
|
8047
|
+
*/
|
|
8048
|
+
'image_version'?: string | null;
|
|
8049
|
+
}
|
|
8050
|
+
/**
|
|
8051
|
+
*
|
|
8052
|
+
* @export
|
|
8053
|
+
* @interface ClusterOperatorUpdateResponse
|
|
8054
|
+
*/
|
|
8055
|
+
export interface ClusterOperatorUpdateResponse {
|
|
8056
|
+
/**
|
|
8057
|
+
* Identifier shared by the queued Engine execution and its infrastructure logs.
|
|
8058
|
+
* @type {string}
|
|
8059
|
+
* @memberof ClusterOperatorUpdateResponse
|
|
8060
|
+
*/
|
|
8061
|
+
'execution_id': string;
|
|
8062
|
+
/**
|
|
8063
|
+
* Operator image tag resolved for this execution.
|
|
8064
|
+
* @type {string}
|
|
8065
|
+
* @memberof ClusterOperatorUpdateResponse
|
|
8066
|
+
*/
|
|
8067
|
+
'image_version': string;
|
|
8068
|
+
/**
|
|
8069
|
+
* Operator Helm chart version resolved for this execution.
|
|
8070
|
+
* @type {string}
|
|
8071
|
+
* @memberof ClusterOperatorUpdateResponse
|
|
8072
|
+
*/
|
|
8073
|
+
'chart_version': string;
|
|
8074
|
+
}
|
|
8031
8075
|
/**
|
|
8032
8076
|
*
|
|
8033
8077
|
* @export
|
|
@@ -40310,6 +40354,57 @@ export const ClusterOperatorApiAxiosParamCreator = function (configuration?: Con
|
|
|
40310
40354
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40311
40355
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
40312
40356
|
|
|
40357
|
+
return {
|
|
40358
|
+
url: toPathString(localVarUrlObj),
|
|
40359
|
+
options: localVarRequestOptions,
|
|
40360
|
+
};
|
|
40361
|
+
},
|
|
40362
|
+
/**
|
|
40363
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
40364
|
+
* @summary Update the Qovery Operator on a cluster
|
|
40365
|
+
* @param {string} organizationId Organization ID
|
|
40366
|
+
* @param {string} clusterId Cluster ID
|
|
40367
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
40368
|
+
* @param {*} [options] Override http request option.
|
|
40369
|
+
* @throws {RequiredError}
|
|
40370
|
+
*/
|
|
40371
|
+
updateClusterOperator: async (organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40372
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
40373
|
+
assertParamExists('updateClusterOperator', 'organizationId', organizationId)
|
|
40374
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
40375
|
+
assertParamExists('updateClusterOperator', 'clusterId', clusterId)
|
|
40376
|
+
// verify required parameter 'clusterOperatorUpdateRequest' is not null or undefined
|
|
40377
|
+
assertParamExists('updateClusterOperator', 'clusterOperatorUpdateRequest', clusterOperatorUpdateRequest)
|
|
40378
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/operator/update`
|
|
40379
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
40380
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
40381
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40382
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40383
|
+
let baseOptions;
|
|
40384
|
+
if (configuration) {
|
|
40385
|
+
baseOptions = configuration.baseOptions;
|
|
40386
|
+
}
|
|
40387
|
+
|
|
40388
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
40389
|
+
const localVarHeaderParameter = {} as any;
|
|
40390
|
+
const localVarQueryParameter = {} as any;
|
|
40391
|
+
|
|
40392
|
+
// authentication ApiKeyAuth required
|
|
40393
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
40394
|
+
|
|
40395
|
+
// authentication bearerAuth required
|
|
40396
|
+
// http bearer authentication required
|
|
40397
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
40398
|
+
|
|
40399
|
+
|
|
40400
|
+
|
|
40401
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40402
|
+
|
|
40403
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40404
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40405
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
40406
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clusterOperatorUpdateRequest, localVarRequestOptions, configuration)
|
|
40407
|
+
|
|
40313
40408
|
return {
|
|
40314
40409
|
url: toPathString(localVarUrlObj),
|
|
40315
40410
|
options: localVarRequestOptions,
|
|
@@ -40379,6 +40474,21 @@ export const ClusterOperatorApiFp = function(configuration?: Configuration) {
|
|
|
40379
40474
|
const localVarOperationServerBasePath = operationServerMap['ClusterOperatorApi.listClusterOperatorFleet']?.[localVarOperationServerIndex]?.url;
|
|
40380
40475
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40381
40476
|
},
|
|
40477
|
+
/**
|
|
40478
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
40479
|
+
* @summary Update the Qovery Operator on a cluster
|
|
40480
|
+
* @param {string} organizationId Organization ID
|
|
40481
|
+
* @param {string} clusterId Cluster ID
|
|
40482
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
40483
|
+
* @param {*} [options] Override http request option.
|
|
40484
|
+
* @throws {RequiredError}
|
|
40485
|
+
*/
|
|
40486
|
+
async updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterOperatorUpdateResponse>> {
|
|
40487
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options);
|
|
40488
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40489
|
+
const localVarOperationServerBasePath = operationServerMap['ClusterOperatorApi.updateClusterOperator']?.[localVarOperationServerIndex]?.url;
|
|
40490
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40491
|
+
},
|
|
40382
40492
|
}
|
|
40383
40493
|
};
|
|
40384
40494
|
|
|
@@ -40431,6 +40541,18 @@ export const ClusterOperatorApiFactory = function (configuration?: Configuration
|
|
|
40431
40541
|
listClusterOperatorFleet(options?: RawAxiosRequestConfig): AxiosPromise<ClusterOperatorFleetInventoryResponseList> {
|
|
40432
40542
|
return localVarFp.listClusterOperatorFleet(options).then((request) => request(axios, basePath));
|
|
40433
40543
|
},
|
|
40544
|
+
/**
|
|
40545
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
40546
|
+
* @summary Update the Qovery Operator on a cluster
|
|
40547
|
+
* @param {string} organizationId Organization ID
|
|
40548
|
+
* @param {string} clusterId Cluster ID
|
|
40549
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
40550
|
+
* @param {*} [options] Override http request option.
|
|
40551
|
+
* @throws {RequiredError}
|
|
40552
|
+
*/
|
|
40553
|
+
updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterOperatorUpdateResponse> {
|
|
40554
|
+
return localVarFp.updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options).then((request) => request(axios, basePath));
|
|
40555
|
+
},
|
|
40434
40556
|
};
|
|
40435
40557
|
};
|
|
40436
40558
|
|
|
@@ -40490,6 +40612,20 @@ export class ClusterOperatorApi extends BaseAPI {
|
|
|
40490
40612
|
public listClusterOperatorFleet(options?: RawAxiosRequestConfig) {
|
|
40491
40613
|
return ClusterOperatorApiFp(this.configuration).listClusterOperatorFleet(options).then((request) => request(this.axios, this.basePath));
|
|
40492
40614
|
}
|
|
40615
|
+
|
|
40616
|
+
/**
|
|
40617
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
40618
|
+
* @summary Update the Qovery Operator on a cluster
|
|
40619
|
+
* @param {string} organizationId Organization ID
|
|
40620
|
+
* @param {string} clusterId Cluster ID
|
|
40621
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
40622
|
+
* @param {*} [options] Override http request option.
|
|
40623
|
+
* @throws {RequiredError}
|
|
40624
|
+
* @memberof ClusterOperatorApi
|
|
40625
|
+
*/
|
|
40626
|
+
public updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig) {
|
|
40627
|
+
return ClusterOperatorApiFp(this.configuration).updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
40628
|
+
}
|
|
40493
40629
|
}
|
|
40494
40630
|
|
|
40495
40631
|
|
package/dist/api.d.ts
CHANGED
|
@@ -7818,6 +7818,50 @@ export interface ClusterOperatorStatusResponse {
|
|
|
7818
7818
|
*/
|
|
7819
7819
|
'reported_identity'?: ReportedClusterOperatorIdentity | null;
|
|
7820
7820
|
}
|
|
7821
|
+
/**
|
|
7822
|
+
*
|
|
7823
|
+
* @export
|
|
7824
|
+
* @interface ClusterOperatorUpdateRequest
|
|
7825
|
+
*/
|
|
7826
|
+
export interface ClusterOperatorUpdateRequest {
|
|
7827
|
+
/**
|
|
7828
|
+
* Exact Qovery Operator Helm chart version to install.
|
|
7829
|
+
* @type {string}
|
|
7830
|
+
* @memberof ClusterOperatorUpdateRequest
|
|
7831
|
+
*/
|
|
7832
|
+
'chart_version': string;
|
|
7833
|
+
/**
|
|
7834
|
+
* Optional Operator image tag overriding the image target selected by q-core.
|
|
7835
|
+
* @type {string}
|
|
7836
|
+
* @memberof ClusterOperatorUpdateRequest
|
|
7837
|
+
*/
|
|
7838
|
+
'image_version'?: string | null;
|
|
7839
|
+
}
|
|
7840
|
+
/**
|
|
7841
|
+
*
|
|
7842
|
+
* @export
|
|
7843
|
+
* @interface ClusterOperatorUpdateResponse
|
|
7844
|
+
*/
|
|
7845
|
+
export interface ClusterOperatorUpdateResponse {
|
|
7846
|
+
/**
|
|
7847
|
+
* Identifier shared by the queued Engine execution and its infrastructure logs.
|
|
7848
|
+
* @type {string}
|
|
7849
|
+
* @memberof ClusterOperatorUpdateResponse
|
|
7850
|
+
*/
|
|
7851
|
+
'execution_id': string;
|
|
7852
|
+
/**
|
|
7853
|
+
* Operator image tag resolved for this execution.
|
|
7854
|
+
* @type {string}
|
|
7855
|
+
* @memberof ClusterOperatorUpdateResponse
|
|
7856
|
+
*/
|
|
7857
|
+
'image_version': string;
|
|
7858
|
+
/**
|
|
7859
|
+
* Operator Helm chart version resolved for this execution.
|
|
7860
|
+
* @type {string}
|
|
7861
|
+
* @memberof ClusterOperatorUpdateResponse
|
|
7862
|
+
*/
|
|
7863
|
+
'chart_version': string;
|
|
7864
|
+
}
|
|
7821
7865
|
/**
|
|
7822
7866
|
*
|
|
7823
7867
|
* @export
|
|
@@ -32387,6 +32431,16 @@ export declare const ClusterOperatorApiAxiosParamCreator: (configuration?: Confi
|
|
|
32387
32431
|
* @throws {RequiredError}
|
|
32388
32432
|
*/
|
|
32389
32433
|
listClusterOperatorFleet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32434
|
+
/**
|
|
32435
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
32436
|
+
* @summary Update the Qovery Operator on a cluster
|
|
32437
|
+
* @param {string} organizationId Organization ID
|
|
32438
|
+
* @param {string} clusterId Cluster ID
|
|
32439
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
32440
|
+
* @param {*} [options] Override http request option.
|
|
32441
|
+
* @throws {RequiredError}
|
|
32442
|
+
*/
|
|
32443
|
+
updateClusterOperator: (organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32390
32444
|
};
|
|
32391
32445
|
/**
|
|
32392
32446
|
* ClusterOperatorApi - functional programming interface
|
|
@@ -32427,6 +32481,16 @@ export declare const ClusterOperatorApiFp: (configuration?: Configuration) => {
|
|
|
32427
32481
|
* @throws {RequiredError}
|
|
32428
32482
|
*/
|
|
32429
32483
|
listClusterOperatorFleet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterOperatorFleetInventoryResponseList>>;
|
|
32484
|
+
/**
|
|
32485
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
32486
|
+
* @summary Update the Qovery Operator on a cluster
|
|
32487
|
+
* @param {string} organizationId Organization ID
|
|
32488
|
+
* @param {string} clusterId Cluster ID
|
|
32489
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
32490
|
+
* @param {*} [options] Override http request option.
|
|
32491
|
+
* @throws {RequiredError}
|
|
32492
|
+
*/
|
|
32493
|
+
updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterOperatorUpdateResponse>>;
|
|
32430
32494
|
};
|
|
32431
32495
|
/**
|
|
32432
32496
|
* ClusterOperatorApi - factory interface
|
|
@@ -32467,6 +32531,16 @@ export declare const ClusterOperatorApiFactory: (configuration?: Configuration,
|
|
|
32467
32531
|
* @throws {RequiredError}
|
|
32468
32532
|
*/
|
|
32469
32533
|
listClusterOperatorFleet(options?: RawAxiosRequestConfig): AxiosPromise<ClusterOperatorFleetInventoryResponseList>;
|
|
32534
|
+
/**
|
|
32535
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
32536
|
+
* @summary Update the Qovery Operator on a cluster
|
|
32537
|
+
* @param {string} organizationId Organization ID
|
|
32538
|
+
* @param {string} clusterId Cluster ID
|
|
32539
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
32540
|
+
* @param {*} [options] Override http request option.
|
|
32541
|
+
* @throws {RequiredError}
|
|
32542
|
+
*/
|
|
32543
|
+
updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterOperatorUpdateResponse>;
|
|
32470
32544
|
};
|
|
32471
32545
|
/**
|
|
32472
32546
|
* ClusterOperatorApi - object-oriented interface
|
|
@@ -32513,6 +32587,17 @@ export declare class ClusterOperatorApi extends BaseAPI {
|
|
|
32513
32587
|
* @memberof ClusterOperatorApi
|
|
32514
32588
|
*/
|
|
32515
32589
|
listClusterOperatorFleet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterOperatorFleetInventoryResponseList, any, {}>>;
|
|
32590
|
+
/**
|
|
32591
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
32592
|
+
* @summary Update the Qovery Operator on a cluster
|
|
32593
|
+
* @param {string} organizationId Organization ID
|
|
32594
|
+
* @param {string} clusterId Cluster ID
|
|
32595
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
32596
|
+
* @param {*} [options] Override http request option.
|
|
32597
|
+
* @throws {RequiredError}
|
|
32598
|
+
* @memberof ClusterOperatorApi
|
|
32599
|
+
*/
|
|
32600
|
+
updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterOperatorUpdateResponse, any, {}>>;
|
|
32516
32601
|
}
|
|
32517
32602
|
/**
|
|
32518
32603
|
* ClustersApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -13748,6 +13748,49 @@ const ClusterOperatorApiAxiosParamCreator = function (configuration) {
|
|
|
13748
13748
|
options: localVarRequestOptions,
|
|
13749
13749
|
};
|
|
13750
13750
|
}),
|
|
13751
|
+
/**
|
|
13752
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
13753
|
+
* @summary Update the Qovery Operator on a cluster
|
|
13754
|
+
* @param {string} organizationId Organization ID
|
|
13755
|
+
* @param {string} clusterId Cluster ID
|
|
13756
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
13757
|
+
* @param {*} [options] Override http request option.
|
|
13758
|
+
* @throws {RequiredError}
|
|
13759
|
+
*/
|
|
13760
|
+
updateClusterOperator: (organizationId_1, clusterId_1, clusterOperatorUpdateRequest_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, clusterOperatorUpdateRequest_1, ...args_1], void 0, function* (organizationId, clusterId, clusterOperatorUpdateRequest, options = {}) {
|
|
13761
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
13762
|
+
(0, common_1.assertParamExists)('updateClusterOperator', 'organizationId', organizationId);
|
|
13763
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
13764
|
+
(0, common_1.assertParamExists)('updateClusterOperator', 'clusterId', clusterId);
|
|
13765
|
+
// verify required parameter 'clusterOperatorUpdateRequest' is not null or undefined
|
|
13766
|
+
(0, common_1.assertParamExists)('updateClusterOperator', 'clusterOperatorUpdateRequest', clusterOperatorUpdateRequest);
|
|
13767
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/operator/update`
|
|
13768
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
13769
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
13770
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13771
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13772
|
+
let baseOptions;
|
|
13773
|
+
if (configuration) {
|
|
13774
|
+
baseOptions = configuration.baseOptions;
|
|
13775
|
+
}
|
|
13776
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
13777
|
+
const localVarHeaderParameter = {};
|
|
13778
|
+
const localVarQueryParameter = {};
|
|
13779
|
+
// authentication ApiKeyAuth required
|
|
13780
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
13781
|
+
// authentication bearerAuth required
|
|
13782
|
+
// http bearer authentication required
|
|
13783
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
13784
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13785
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13786
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13787
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13788
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clusterOperatorUpdateRequest, localVarRequestOptions, configuration);
|
|
13789
|
+
return {
|
|
13790
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13791
|
+
options: localVarRequestOptions,
|
|
13792
|
+
};
|
|
13793
|
+
}),
|
|
13751
13794
|
};
|
|
13752
13795
|
};
|
|
13753
13796
|
exports.ClusterOperatorApiAxiosParamCreator = ClusterOperatorApiAxiosParamCreator;
|
|
@@ -13824,6 +13867,24 @@ const ClusterOperatorApiFp = function (configuration) {
|
|
|
13824
13867
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13825
13868
|
});
|
|
13826
13869
|
},
|
|
13870
|
+
/**
|
|
13871
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
13872
|
+
* @summary Update the Qovery Operator on a cluster
|
|
13873
|
+
* @param {string} organizationId Organization ID
|
|
13874
|
+
* @param {string} clusterId Cluster ID
|
|
13875
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
13876
|
+
* @param {*} [options] Override http request option.
|
|
13877
|
+
* @throws {RequiredError}
|
|
13878
|
+
*/
|
|
13879
|
+
updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options) {
|
|
13880
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13881
|
+
var _a, _b, _c;
|
|
13882
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options);
|
|
13883
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13884
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClusterOperatorApi.updateClusterOperator']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13885
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13886
|
+
});
|
|
13887
|
+
},
|
|
13827
13888
|
};
|
|
13828
13889
|
};
|
|
13829
13890
|
exports.ClusterOperatorApiFp = ClusterOperatorApiFp;
|
|
@@ -13876,6 +13937,18 @@ const ClusterOperatorApiFactory = function (configuration, basePath, axios) {
|
|
|
13876
13937
|
listClusterOperatorFleet(options) {
|
|
13877
13938
|
return localVarFp.listClusterOperatorFleet(options).then((request) => request(axios, basePath));
|
|
13878
13939
|
},
|
|
13940
|
+
/**
|
|
13941
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
13942
|
+
* @summary Update the Qovery Operator on a cluster
|
|
13943
|
+
* @param {string} organizationId Organization ID
|
|
13944
|
+
* @param {string} clusterId Cluster ID
|
|
13945
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
13946
|
+
* @param {*} [options] Override http request option.
|
|
13947
|
+
* @throws {RequiredError}
|
|
13948
|
+
*/
|
|
13949
|
+
updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options) {
|
|
13950
|
+
return localVarFp.updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options).then((request) => request(axios, basePath));
|
|
13951
|
+
},
|
|
13879
13952
|
};
|
|
13880
13953
|
};
|
|
13881
13954
|
exports.ClusterOperatorApiFactory = ClusterOperatorApiFactory;
|
|
@@ -13932,6 +14005,19 @@ class ClusterOperatorApi extends base_1.BaseAPI {
|
|
|
13932
14005
|
listClusterOperatorFleet(options) {
|
|
13933
14006
|
return (0, exports.ClusterOperatorApiFp)(this.configuration).listClusterOperatorFleet(options).then((request) => request(this.axios, this.basePath));
|
|
13934
14007
|
}
|
|
14008
|
+
/**
|
|
14009
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
14010
|
+
* @summary Update the Qovery Operator on a cluster
|
|
14011
|
+
* @param {string} organizationId Organization ID
|
|
14012
|
+
* @param {string} clusterId Cluster ID
|
|
14013
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
14014
|
+
* @param {*} [options] Override http request option.
|
|
14015
|
+
* @throws {RequiredError}
|
|
14016
|
+
* @memberof ClusterOperatorApi
|
|
14017
|
+
*/
|
|
14018
|
+
updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options) {
|
|
14019
|
+
return (0, exports.ClusterOperatorApiFp)(this.configuration).updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14020
|
+
}
|
|
13935
14021
|
}
|
|
13936
14022
|
exports.ClusterOperatorApi = ClusterOperatorApi;
|
|
13937
14023
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -7818,6 +7818,50 @@ export interface ClusterOperatorStatusResponse {
|
|
|
7818
7818
|
*/
|
|
7819
7819
|
'reported_identity'?: ReportedClusterOperatorIdentity | null;
|
|
7820
7820
|
}
|
|
7821
|
+
/**
|
|
7822
|
+
*
|
|
7823
|
+
* @export
|
|
7824
|
+
* @interface ClusterOperatorUpdateRequest
|
|
7825
|
+
*/
|
|
7826
|
+
export interface ClusterOperatorUpdateRequest {
|
|
7827
|
+
/**
|
|
7828
|
+
* Exact Qovery Operator Helm chart version to install.
|
|
7829
|
+
* @type {string}
|
|
7830
|
+
* @memberof ClusterOperatorUpdateRequest
|
|
7831
|
+
*/
|
|
7832
|
+
'chart_version': string;
|
|
7833
|
+
/**
|
|
7834
|
+
* Optional Operator image tag overriding the image target selected by q-core.
|
|
7835
|
+
* @type {string}
|
|
7836
|
+
* @memberof ClusterOperatorUpdateRequest
|
|
7837
|
+
*/
|
|
7838
|
+
'image_version'?: string | null;
|
|
7839
|
+
}
|
|
7840
|
+
/**
|
|
7841
|
+
*
|
|
7842
|
+
* @export
|
|
7843
|
+
* @interface ClusterOperatorUpdateResponse
|
|
7844
|
+
*/
|
|
7845
|
+
export interface ClusterOperatorUpdateResponse {
|
|
7846
|
+
/**
|
|
7847
|
+
* Identifier shared by the queued Engine execution and its infrastructure logs.
|
|
7848
|
+
* @type {string}
|
|
7849
|
+
* @memberof ClusterOperatorUpdateResponse
|
|
7850
|
+
*/
|
|
7851
|
+
'execution_id': string;
|
|
7852
|
+
/**
|
|
7853
|
+
* Operator image tag resolved for this execution.
|
|
7854
|
+
* @type {string}
|
|
7855
|
+
* @memberof ClusterOperatorUpdateResponse
|
|
7856
|
+
*/
|
|
7857
|
+
'image_version': string;
|
|
7858
|
+
/**
|
|
7859
|
+
* Operator Helm chart version resolved for this execution.
|
|
7860
|
+
* @type {string}
|
|
7861
|
+
* @memberof ClusterOperatorUpdateResponse
|
|
7862
|
+
*/
|
|
7863
|
+
'chart_version': string;
|
|
7864
|
+
}
|
|
7821
7865
|
/**
|
|
7822
7866
|
*
|
|
7823
7867
|
* @export
|
|
@@ -32387,6 +32431,16 @@ export declare const ClusterOperatorApiAxiosParamCreator: (configuration?: Confi
|
|
|
32387
32431
|
* @throws {RequiredError}
|
|
32388
32432
|
*/
|
|
32389
32433
|
listClusterOperatorFleet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32434
|
+
/**
|
|
32435
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
32436
|
+
* @summary Update the Qovery Operator on a cluster
|
|
32437
|
+
* @param {string} organizationId Organization ID
|
|
32438
|
+
* @param {string} clusterId Cluster ID
|
|
32439
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
32440
|
+
* @param {*} [options] Override http request option.
|
|
32441
|
+
* @throws {RequiredError}
|
|
32442
|
+
*/
|
|
32443
|
+
updateClusterOperator: (organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32390
32444
|
};
|
|
32391
32445
|
/**
|
|
32392
32446
|
* ClusterOperatorApi - functional programming interface
|
|
@@ -32427,6 +32481,16 @@ export declare const ClusterOperatorApiFp: (configuration?: Configuration) => {
|
|
|
32427
32481
|
* @throws {RequiredError}
|
|
32428
32482
|
*/
|
|
32429
32483
|
listClusterOperatorFleet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterOperatorFleetInventoryResponseList>>;
|
|
32484
|
+
/**
|
|
32485
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
32486
|
+
* @summary Update the Qovery Operator on a cluster
|
|
32487
|
+
* @param {string} organizationId Organization ID
|
|
32488
|
+
* @param {string} clusterId Cluster ID
|
|
32489
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
32490
|
+
* @param {*} [options] Override http request option.
|
|
32491
|
+
* @throws {RequiredError}
|
|
32492
|
+
*/
|
|
32493
|
+
updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterOperatorUpdateResponse>>;
|
|
32430
32494
|
};
|
|
32431
32495
|
/**
|
|
32432
32496
|
* ClusterOperatorApi - factory interface
|
|
@@ -32467,6 +32531,16 @@ export declare const ClusterOperatorApiFactory: (configuration?: Configuration,
|
|
|
32467
32531
|
* @throws {RequiredError}
|
|
32468
32532
|
*/
|
|
32469
32533
|
listClusterOperatorFleet(options?: RawAxiosRequestConfig): AxiosPromise<ClusterOperatorFleetInventoryResponseList>;
|
|
32534
|
+
/**
|
|
32535
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
32536
|
+
* @summary Update the Qovery Operator on a cluster
|
|
32537
|
+
* @param {string} organizationId Organization ID
|
|
32538
|
+
* @param {string} clusterId Cluster ID
|
|
32539
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
32540
|
+
* @param {*} [options] Override http request option.
|
|
32541
|
+
* @throws {RequiredError}
|
|
32542
|
+
*/
|
|
32543
|
+
updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterOperatorUpdateResponse>;
|
|
32470
32544
|
};
|
|
32471
32545
|
/**
|
|
32472
32546
|
* ClusterOperatorApi - object-oriented interface
|
|
@@ -32513,6 +32587,17 @@ export declare class ClusterOperatorApi extends BaseAPI {
|
|
|
32513
32587
|
* @memberof ClusterOperatorApi
|
|
32514
32588
|
*/
|
|
32515
32589
|
listClusterOperatorFleet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterOperatorFleetInventoryResponseList, any, {}>>;
|
|
32590
|
+
/**
|
|
32591
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
32592
|
+
* @summary Update the Qovery Operator on a cluster
|
|
32593
|
+
* @param {string} organizationId Organization ID
|
|
32594
|
+
* @param {string} clusterId Cluster ID
|
|
32595
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
32596
|
+
* @param {*} [options] Override http request option.
|
|
32597
|
+
* @throws {RequiredError}
|
|
32598
|
+
* @memberof ClusterOperatorApi
|
|
32599
|
+
*/
|
|
32600
|
+
updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterOperatorUpdateResponse, any, {}>>;
|
|
32516
32601
|
}
|
|
32517
32602
|
/**
|
|
32518
32603
|
* ClustersApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -13650,6 +13650,49 @@ export const ClusterOperatorApiAxiosParamCreator = function (configuration) {
|
|
|
13650
13650
|
options: localVarRequestOptions,
|
|
13651
13651
|
};
|
|
13652
13652
|
}),
|
|
13653
|
+
/**
|
|
13654
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
13655
|
+
* @summary Update the Qovery Operator on a cluster
|
|
13656
|
+
* @param {string} organizationId Organization ID
|
|
13657
|
+
* @param {string} clusterId Cluster ID
|
|
13658
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
13659
|
+
* @param {*} [options] Override http request option.
|
|
13660
|
+
* @throws {RequiredError}
|
|
13661
|
+
*/
|
|
13662
|
+
updateClusterOperator: (organizationId_1, clusterId_1, clusterOperatorUpdateRequest_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, clusterOperatorUpdateRequest_1, ...args_1], void 0, function* (organizationId, clusterId, clusterOperatorUpdateRequest, options = {}) {
|
|
13663
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
13664
|
+
assertParamExists('updateClusterOperator', 'organizationId', organizationId);
|
|
13665
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
13666
|
+
assertParamExists('updateClusterOperator', 'clusterId', clusterId);
|
|
13667
|
+
// verify required parameter 'clusterOperatorUpdateRequest' is not null or undefined
|
|
13668
|
+
assertParamExists('updateClusterOperator', 'clusterOperatorUpdateRequest', clusterOperatorUpdateRequest);
|
|
13669
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/operator/update`
|
|
13670
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
13671
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
13672
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13673
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13674
|
+
let baseOptions;
|
|
13675
|
+
if (configuration) {
|
|
13676
|
+
baseOptions = configuration.baseOptions;
|
|
13677
|
+
}
|
|
13678
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
13679
|
+
const localVarHeaderParameter = {};
|
|
13680
|
+
const localVarQueryParameter = {};
|
|
13681
|
+
// authentication ApiKeyAuth required
|
|
13682
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
13683
|
+
// authentication bearerAuth required
|
|
13684
|
+
// http bearer authentication required
|
|
13685
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
13686
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13687
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13688
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13689
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13690
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clusterOperatorUpdateRequest, localVarRequestOptions, configuration);
|
|
13691
|
+
return {
|
|
13692
|
+
url: toPathString(localVarUrlObj),
|
|
13693
|
+
options: localVarRequestOptions,
|
|
13694
|
+
};
|
|
13695
|
+
}),
|
|
13653
13696
|
};
|
|
13654
13697
|
};
|
|
13655
13698
|
/**
|
|
@@ -13725,6 +13768,24 @@ export const ClusterOperatorApiFp = function (configuration) {
|
|
|
13725
13768
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13726
13769
|
});
|
|
13727
13770
|
},
|
|
13771
|
+
/**
|
|
13772
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
13773
|
+
* @summary Update the Qovery Operator on a cluster
|
|
13774
|
+
* @param {string} organizationId Organization ID
|
|
13775
|
+
* @param {string} clusterId Cluster ID
|
|
13776
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
13777
|
+
* @param {*} [options] Override http request option.
|
|
13778
|
+
* @throws {RequiredError}
|
|
13779
|
+
*/
|
|
13780
|
+
updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options) {
|
|
13781
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13782
|
+
var _a, _b, _c;
|
|
13783
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options);
|
|
13784
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13785
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClusterOperatorApi.updateClusterOperator']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13786
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13787
|
+
});
|
|
13788
|
+
},
|
|
13728
13789
|
};
|
|
13729
13790
|
};
|
|
13730
13791
|
/**
|
|
@@ -13776,6 +13837,18 @@ export const ClusterOperatorApiFactory = function (configuration, basePath, axio
|
|
|
13776
13837
|
listClusterOperatorFleet(options) {
|
|
13777
13838
|
return localVarFp.listClusterOperatorFleet(options).then((request) => request(axios, basePath));
|
|
13778
13839
|
},
|
|
13840
|
+
/**
|
|
13841
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
13842
|
+
* @summary Update the Qovery Operator on a cluster
|
|
13843
|
+
* @param {string} organizationId Organization ID
|
|
13844
|
+
* @param {string} clusterId Cluster ID
|
|
13845
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
13846
|
+
* @param {*} [options] Override http request option.
|
|
13847
|
+
* @throws {RequiredError}
|
|
13848
|
+
*/
|
|
13849
|
+
updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options) {
|
|
13850
|
+
return localVarFp.updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options).then((request) => request(axios, basePath));
|
|
13851
|
+
},
|
|
13779
13852
|
};
|
|
13780
13853
|
};
|
|
13781
13854
|
/**
|
|
@@ -13831,6 +13904,19 @@ export class ClusterOperatorApi extends BaseAPI {
|
|
|
13831
13904
|
listClusterOperatorFleet(options) {
|
|
13832
13905
|
return ClusterOperatorApiFp(this.configuration).listClusterOperatorFleet(options).then((request) => request(this.axios, this.basePath));
|
|
13833
13906
|
}
|
|
13907
|
+
/**
|
|
13908
|
+
* Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
|
|
13909
|
+
* @summary Update the Qovery Operator on a cluster
|
|
13910
|
+
* @param {string} organizationId Organization ID
|
|
13911
|
+
* @param {string} clusterId Cluster ID
|
|
13912
|
+
* @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
|
|
13913
|
+
* @param {*} [options] Override http request option.
|
|
13914
|
+
* @throws {RequiredError}
|
|
13915
|
+
* @memberof ClusterOperatorApi
|
|
13916
|
+
*/
|
|
13917
|
+
updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options) {
|
|
13918
|
+
return ClusterOperatorApiFp(this.configuration).updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
13919
|
+
}
|
|
13834
13920
|
}
|
|
13835
13921
|
/**
|
|
13836
13922
|
* ClustersApi - axios parameter creator
|