qovery-typescript-axios 1.1.504 → 1.1.506
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 +15 -88
- package/dist/api.d.ts +8 -41
- package/dist/api.js +14 -81
- package/dist/esm/api.d.ts +8 -41
- package/dist/esm/api.js +14 -81
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -25201,10 +25201,11 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
25201
25201
|
* @summary Deploy a cluster
|
|
25202
25202
|
* @param {string} organizationId Organization ID
|
|
25203
25203
|
* @param {string} clusterId Cluster ID
|
|
25204
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
25204
25205
|
* @param {*} [options] Override http request option.
|
|
25205
25206
|
* @throws {RequiredError}
|
|
25206
25207
|
*/
|
|
25207
|
-
deployCluster: async (organizationId: string, clusterId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25208
|
+
deployCluster: async (organizationId: string, clusterId: string, dryRun?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25208
25209
|
// verify required parameter 'organizationId' is not null or undefined
|
|
25209
25210
|
assertParamExists('deployCluster', 'organizationId', organizationId)
|
|
25210
25211
|
// verify required parameter 'clusterId' is not null or undefined
|
|
@@ -25230,6 +25231,10 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
25230
25231
|
// http bearer authentication required
|
|
25231
25232
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
25232
25233
|
|
|
25234
|
+
if (dryRun !== undefined) {
|
|
25235
|
+
localVarQueryParameter['dry_run'] = dryRun;
|
|
25236
|
+
}
|
|
25237
|
+
|
|
25233
25238
|
|
|
25234
25239
|
|
|
25235
25240
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -26145,11 +26150,12 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
26145
26150
|
* @summary Deploy a cluster
|
|
26146
26151
|
* @param {string} organizationId Organization ID
|
|
26147
26152
|
* @param {string} clusterId Cluster ID
|
|
26153
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
26148
26154
|
* @param {*} [options] Override http request option.
|
|
26149
26155
|
* @throws {RequiredError}
|
|
26150
26156
|
*/
|
|
26151
|
-
async deployCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>> {
|
|
26152
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deployCluster(organizationId, clusterId, options);
|
|
26157
|
+
async deployCluster(organizationId: string, clusterId: string, dryRun?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>> {
|
|
26158
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deployCluster(organizationId, clusterId, dryRun, options);
|
|
26153
26159
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26154
26160
|
},
|
|
26155
26161
|
/**
|
|
@@ -26420,11 +26426,12 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
26420
26426
|
* @summary Deploy a cluster
|
|
26421
26427
|
* @param {string} organizationId Organization ID
|
|
26422
26428
|
* @param {string} clusterId Cluster ID
|
|
26429
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
26423
26430
|
* @param {*} [options] Override http request option.
|
|
26424
26431
|
* @throws {RequiredError}
|
|
26425
26432
|
*/
|
|
26426
|
-
deployCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus> {
|
|
26427
|
-
return localVarFp.deployCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
26433
|
+
deployCluster(organizationId: string, clusterId: string, dryRun?: boolean, options?: any): AxiosPromise<ClusterStatus> {
|
|
26434
|
+
return localVarFp.deployCluster(organizationId, clusterId, dryRun, options).then((request) => request(axios, basePath));
|
|
26428
26435
|
},
|
|
26429
26436
|
/**
|
|
26430
26437
|
*
|
|
@@ -26679,12 +26686,13 @@ export class ClustersApi extends BaseAPI {
|
|
|
26679
26686
|
* @summary Deploy a cluster
|
|
26680
26687
|
* @param {string} organizationId Organization ID
|
|
26681
26688
|
* @param {string} clusterId Cluster ID
|
|
26689
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
26682
26690
|
* @param {*} [options] Override http request option.
|
|
26683
26691
|
* @throws {RequiredError}
|
|
26684
26692
|
* @memberof ClustersApi
|
|
26685
26693
|
*/
|
|
26686
|
-
public deployCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig) {
|
|
26687
|
-
return ClustersApiFp(this.configuration).deployCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
26694
|
+
public deployCluster(organizationId: string, clusterId: string, dryRun?: boolean, options?: AxiosRequestConfig) {
|
|
26695
|
+
return ClustersApiFp(this.configuration).deployCluster(organizationId, clusterId, dryRun, options).then((request) => request(this.axios, this.basePath));
|
|
26688
26696
|
}
|
|
26689
26697
|
|
|
26690
26698
|
/**
|
|
@@ -34054,51 +34062,6 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34054
34062
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34055
34063
|
localVarRequestOptions.data = serializeDataIfNeeded(helmCheckRequest, localVarRequestOptions, configuration)
|
|
34056
34064
|
|
|
34057
|
-
return {
|
|
34058
|
-
url: toPathString(localVarUrlObj),
|
|
34059
|
-
options: localVarRequestOptions,
|
|
34060
|
-
};
|
|
34061
|
-
},
|
|
34062
|
-
/**
|
|
34063
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
34064
|
-
* @summary Deploy applications
|
|
34065
|
-
* @param {string} environmentId Environment ID
|
|
34066
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
34067
|
-
* @param {*} [options] Override http request option.
|
|
34068
|
-
* @throws {RequiredError}
|
|
34069
|
-
*/
|
|
34070
|
-
deployAllApplications: async (environmentId: string, deployAllRequest?: DeployAllRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34071
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
34072
|
-
assertParamExists('deployAllApplications', 'environmentId', environmentId)
|
|
34073
|
-
const localVarPath = `/environment/{environmentId}/application/deploy`
|
|
34074
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
34075
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34076
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34077
|
-
let baseOptions;
|
|
34078
|
-
if (configuration) {
|
|
34079
|
-
baseOptions = configuration.baseOptions;
|
|
34080
|
-
}
|
|
34081
|
-
|
|
34082
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
34083
|
-
const localVarHeaderParameter = {} as any;
|
|
34084
|
-
const localVarQueryParameter = {} as any;
|
|
34085
|
-
|
|
34086
|
-
// authentication ApiKeyAuth required
|
|
34087
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
34088
|
-
|
|
34089
|
-
// authentication bearerAuth required
|
|
34090
|
-
// http bearer authentication required
|
|
34091
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34092
|
-
|
|
34093
|
-
|
|
34094
|
-
|
|
34095
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34096
|
-
|
|
34097
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34098
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34099
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34100
|
-
localVarRequestOptions.data = serializeDataIfNeeded(deployAllRequest, localVarRequestOptions, configuration)
|
|
34101
|
-
|
|
34102
34065
|
return {
|
|
34103
34066
|
url: toPathString(localVarUrlObj),
|
|
34104
34067
|
options: localVarRequestOptions,
|
|
@@ -34162,18 +34125,6 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
34162
34125
|
const localVarAxiosArgs = await localVarAxiosParamCreator.checkHelmRepository(environmentId, helmCheckRequest, options);
|
|
34163
34126
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34164
34127
|
},
|
|
34165
|
-
/**
|
|
34166
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
34167
|
-
* @summary Deploy applications
|
|
34168
|
-
* @param {string} environmentId Environment ID
|
|
34169
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
34170
|
-
* @param {*} [options] Override http request option.
|
|
34171
|
-
* @throws {RequiredError}
|
|
34172
|
-
*/
|
|
34173
|
-
async deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
34174
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllApplications(environmentId, deployAllRequest, options);
|
|
34175
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34176
|
-
},
|
|
34177
34128
|
}
|
|
34178
34129
|
};
|
|
34179
34130
|
|
|
@@ -34228,17 +34179,6 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
34228
34179
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: any): AxiosPromise<object> {
|
|
34229
34180
|
return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
|
|
34230
34181
|
},
|
|
34231
|
-
/**
|
|
34232
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
34233
|
-
* @summary Deploy applications
|
|
34234
|
-
* @param {string} environmentId Environment ID
|
|
34235
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
34236
|
-
* @param {*} [options] Override http request option.
|
|
34237
|
-
* @throws {RequiredError}
|
|
34238
|
-
*/
|
|
34239
|
-
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status> {
|
|
34240
|
-
return localVarFp.deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
34241
|
-
},
|
|
34242
34182
|
};
|
|
34243
34183
|
};
|
|
34244
34184
|
|
|
@@ -34300,19 +34240,6 @@ export class EnvironmentApi extends BaseAPI {
|
|
|
34300
34240
|
public checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig) {
|
|
34301
34241
|
return EnvironmentApiFp(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34302
34242
|
}
|
|
34303
|
-
|
|
34304
|
-
/**
|
|
34305
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
34306
|
-
* @summary Deploy applications
|
|
34307
|
-
* @param {string} environmentId Environment ID
|
|
34308
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
34309
|
-
* @param {*} [options] Override http request option.
|
|
34310
|
-
* @throws {RequiredError}
|
|
34311
|
-
* @memberof EnvironmentApi
|
|
34312
|
-
*/
|
|
34313
|
-
public deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) {
|
|
34314
|
-
return EnvironmentApiFp(this.configuration).deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34315
|
-
}
|
|
34316
34243
|
}
|
|
34317
34244
|
|
|
34318
34245
|
|
package/dist/api.d.ts
CHANGED
|
@@ -19909,10 +19909,11 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
19909
19909
|
* @summary Deploy a cluster
|
|
19910
19910
|
* @param {string} organizationId Organization ID
|
|
19911
19911
|
* @param {string} clusterId Cluster ID
|
|
19912
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
19912
19913
|
* @param {*} [options] Override http request option.
|
|
19913
19914
|
* @throws {RequiredError}
|
|
19914
19915
|
*/
|
|
19915
|
-
deployCluster: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19916
|
+
deployCluster: (organizationId: string, clusterId: string, dryRun?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19916
19917
|
/**
|
|
19917
19918
|
*
|
|
19918
19919
|
* @summary Edit a cluster
|
|
@@ -20116,10 +20117,11 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
20116
20117
|
* @summary Deploy a cluster
|
|
20117
20118
|
* @param {string} organizationId Organization ID
|
|
20118
20119
|
* @param {string} clusterId Cluster ID
|
|
20120
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
20119
20121
|
* @param {*} [options] Override http request option.
|
|
20120
20122
|
* @throws {RequiredError}
|
|
20121
20123
|
*/
|
|
20122
|
-
deployCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>>;
|
|
20124
|
+
deployCluster(organizationId: string, clusterId: string, dryRun?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>>;
|
|
20123
20125
|
/**
|
|
20124
20126
|
*
|
|
20125
20127
|
* @summary Edit a cluster
|
|
@@ -20323,10 +20325,11 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
20323
20325
|
* @summary Deploy a cluster
|
|
20324
20326
|
* @param {string} organizationId Organization ID
|
|
20325
20327
|
* @param {string} clusterId Cluster ID
|
|
20328
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
20326
20329
|
* @param {*} [options] Override http request option.
|
|
20327
20330
|
* @throws {RequiredError}
|
|
20328
20331
|
*/
|
|
20329
|
-
deployCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus>;
|
|
20332
|
+
deployCluster(organizationId: string, clusterId: string, dryRun?: boolean, options?: any): AxiosPromise<ClusterStatus>;
|
|
20330
20333
|
/**
|
|
20331
20334
|
*
|
|
20332
20335
|
* @summary Edit a cluster
|
|
@@ -20534,11 +20537,12 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
20534
20537
|
* @summary Deploy a cluster
|
|
20535
20538
|
* @param {string} organizationId Organization ID
|
|
20536
20539
|
* @param {string} clusterId Cluster ID
|
|
20540
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
20537
20541
|
* @param {*} [options] Override http request option.
|
|
20538
20542
|
* @throws {RequiredError}
|
|
20539
20543
|
* @memberof ClustersApi
|
|
20540
20544
|
*/
|
|
20541
|
-
deployCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterStatus, any>>;
|
|
20545
|
+
deployCluster(organizationId: string, clusterId: string, dryRun?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterStatus, any>>;
|
|
20542
20546
|
/**
|
|
20543
20547
|
*
|
|
20544
20548
|
* @summary Edit a cluster
|
|
@@ -24051,15 +24055,6 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
|
|
|
24051
24055
|
* @throws {RequiredError}
|
|
24052
24056
|
*/
|
|
24053
24057
|
checkHelmRepository: (environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24054
|
-
/**
|
|
24055
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24056
|
-
* @summary Deploy applications
|
|
24057
|
-
* @param {string} environmentId Environment ID
|
|
24058
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24059
|
-
* @param {*} [options] Override http request option.
|
|
24060
|
-
* @throws {RequiredError}
|
|
24061
|
-
*/
|
|
24062
|
-
deployAllApplications: (environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24063
24058
|
};
|
|
24064
24059
|
/**
|
|
24065
24060
|
* EnvironmentApi - functional programming interface
|
|
@@ -24102,15 +24097,6 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
|
24102
24097
|
* @throws {RequiredError}
|
|
24103
24098
|
*/
|
|
24104
24099
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
24105
|
-
/**
|
|
24106
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24107
|
-
* @summary Deploy applications
|
|
24108
|
-
* @param {string} environmentId Environment ID
|
|
24109
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24110
|
-
* @param {*} [options] Override http request option.
|
|
24111
|
-
* @throws {RequiredError}
|
|
24112
|
-
*/
|
|
24113
|
-
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
24114
24100
|
};
|
|
24115
24101
|
/**
|
|
24116
24102
|
* EnvironmentApi - factory interface
|
|
@@ -24153,15 +24139,6 @@ export declare const EnvironmentApiFactory: (configuration?: Configuration, base
|
|
|
24153
24139
|
* @throws {RequiredError}
|
|
24154
24140
|
*/
|
|
24155
24141
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: any): AxiosPromise<object>;
|
|
24156
|
-
/**
|
|
24157
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24158
|
-
* @summary Deploy applications
|
|
24159
|
-
* @param {string} environmentId Environment ID
|
|
24160
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24161
|
-
* @param {*} [options] Override http request option.
|
|
24162
|
-
* @throws {RequiredError}
|
|
24163
|
-
*/
|
|
24164
|
-
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status>;
|
|
24165
24142
|
};
|
|
24166
24143
|
/**
|
|
24167
24144
|
* EnvironmentApi - object-oriented interface
|
|
@@ -24210,16 +24187,6 @@ export declare class EnvironmentApi extends BaseAPI {
|
|
|
24210
24187
|
* @memberof EnvironmentApi
|
|
24211
24188
|
*/
|
|
24212
24189
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
24213
|
-
/**
|
|
24214
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24215
|
-
* @summary Deploy applications
|
|
24216
|
-
* @param {string} environmentId Environment ID
|
|
24217
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24218
|
-
* @param {*} [options] Override http request option.
|
|
24219
|
-
* @throws {RequiredError}
|
|
24220
|
-
* @memberof EnvironmentApi
|
|
24221
|
-
*/
|
|
24222
|
-
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
|
|
24223
24190
|
}
|
|
24224
24191
|
/**
|
|
24225
24192
|
* EnvironmentActionsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -9127,10 +9127,11 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
9127
9127
|
* @summary Deploy a cluster
|
|
9128
9128
|
* @param {string} organizationId Organization ID
|
|
9129
9129
|
* @param {string} clusterId Cluster ID
|
|
9130
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
9130
9131
|
* @param {*} [options] Override http request option.
|
|
9131
9132
|
* @throws {RequiredError}
|
|
9132
9133
|
*/
|
|
9133
|
-
deployCluster: (organizationId, clusterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
9134
|
+
deployCluster: (organizationId, clusterId, dryRun, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
9134
9135
|
// verify required parameter 'organizationId' is not null or undefined
|
|
9135
9136
|
(0, common_1.assertParamExists)('deployCluster', 'organizationId', organizationId);
|
|
9136
9137
|
// verify required parameter 'clusterId' is not null or undefined
|
|
@@ -9152,6 +9153,9 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
9152
9153
|
// authentication bearerAuth required
|
|
9153
9154
|
// http bearer authentication required
|
|
9154
9155
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9156
|
+
if (dryRun !== undefined) {
|
|
9157
|
+
localVarQueryParameter['dry_run'] = dryRun;
|
|
9158
|
+
}
|
|
9155
9159
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9156
9160
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9157
9161
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9928,12 +9932,13 @@ const ClustersApiFp = function (configuration) {
|
|
|
9928
9932
|
* @summary Deploy a cluster
|
|
9929
9933
|
* @param {string} organizationId Organization ID
|
|
9930
9934
|
* @param {string} clusterId Cluster ID
|
|
9935
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
9931
9936
|
* @param {*} [options] Override http request option.
|
|
9932
9937
|
* @throws {RequiredError}
|
|
9933
9938
|
*/
|
|
9934
|
-
deployCluster(organizationId, clusterId, options) {
|
|
9939
|
+
deployCluster(organizationId, clusterId, dryRun, options) {
|
|
9935
9940
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9936
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployCluster(organizationId, clusterId, options);
|
|
9941
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployCluster(organizationId, clusterId, dryRun, options);
|
|
9937
9942
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
9938
9943
|
});
|
|
9939
9944
|
},
|
|
@@ -10243,11 +10248,12 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
10243
10248
|
* @summary Deploy a cluster
|
|
10244
10249
|
* @param {string} organizationId Organization ID
|
|
10245
10250
|
* @param {string} clusterId Cluster ID
|
|
10251
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
10246
10252
|
* @param {*} [options] Override http request option.
|
|
10247
10253
|
* @throws {RequiredError}
|
|
10248
10254
|
*/
|
|
10249
|
-
deployCluster(organizationId, clusterId, options) {
|
|
10250
|
-
return localVarFp.deployCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
10255
|
+
deployCluster(organizationId, clusterId, dryRun, options) {
|
|
10256
|
+
return localVarFp.deployCluster(organizationId, clusterId, dryRun, options).then((request) => request(axios, basePath));
|
|
10251
10257
|
},
|
|
10252
10258
|
/**
|
|
10253
10259
|
*
|
|
@@ -10500,12 +10506,13 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
10500
10506
|
* @summary Deploy a cluster
|
|
10501
10507
|
* @param {string} organizationId Organization ID
|
|
10502
10508
|
* @param {string} clusterId Cluster ID
|
|
10509
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
10503
10510
|
* @param {*} [options] Override http request option.
|
|
10504
10511
|
* @throws {RequiredError}
|
|
10505
10512
|
* @memberof ClustersApi
|
|
10506
10513
|
*/
|
|
10507
|
-
deployCluster(organizationId, clusterId, options) {
|
|
10508
|
-
return (0, exports.ClustersApiFp)(this.configuration).deployCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
10514
|
+
deployCluster(organizationId, clusterId, dryRun, options) {
|
|
10515
|
+
return (0, exports.ClustersApiFp)(this.configuration).deployCluster(organizationId, clusterId, dryRun, options).then((request) => request(this.axios, this.basePath));
|
|
10509
10516
|
}
|
|
10510
10517
|
/**
|
|
10511
10518
|
*
|
|
@@ -17299,43 +17306,6 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
17299
17306
|
options: localVarRequestOptions,
|
|
17300
17307
|
};
|
|
17301
17308
|
}),
|
|
17302
|
-
/**
|
|
17303
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17304
|
-
* @summary Deploy applications
|
|
17305
|
-
* @param {string} environmentId Environment ID
|
|
17306
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17307
|
-
* @param {*} [options] Override http request option.
|
|
17308
|
-
* @throws {RequiredError}
|
|
17309
|
-
*/
|
|
17310
|
-
deployAllApplications: (environmentId, deployAllRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
17311
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
17312
|
-
(0, common_1.assertParamExists)('deployAllApplications', 'environmentId', environmentId);
|
|
17313
|
-
const localVarPath = `/environment/{environmentId}/application/deploy`
|
|
17314
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
17315
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17316
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17317
|
-
let baseOptions;
|
|
17318
|
-
if (configuration) {
|
|
17319
|
-
baseOptions = configuration.baseOptions;
|
|
17320
|
-
}
|
|
17321
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
17322
|
-
const localVarHeaderParameter = {};
|
|
17323
|
-
const localVarQueryParameter = {};
|
|
17324
|
-
// authentication ApiKeyAuth required
|
|
17325
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
17326
|
-
// authentication bearerAuth required
|
|
17327
|
-
// http bearer authentication required
|
|
17328
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
17329
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17330
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17331
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17332
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17333
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deployAllRequest, localVarRequestOptions, configuration);
|
|
17334
|
-
return {
|
|
17335
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17336
|
-
options: localVarRequestOptions,
|
|
17337
|
-
};
|
|
17338
|
-
}),
|
|
17339
17309
|
};
|
|
17340
17310
|
};
|
|
17341
17311
|
exports.EnvironmentApiAxiosParamCreator = EnvironmentApiAxiosParamCreator;
|
|
@@ -17402,20 +17372,6 @@ const EnvironmentApiFp = function (configuration) {
|
|
|
17402
17372
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17403
17373
|
});
|
|
17404
17374
|
},
|
|
17405
|
-
/**
|
|
17406
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17407
|
-
* @summary Deploy applications
|
|
17408
|
-
* @param {string} environmentId Environment ID
|
|
17409
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17410
|
-
* @param {*} [options] Override http request option.
|
|
17411
|
-
* @throws {RequiredError}
|
|
17412
|
-
*/
|
|
17413
|
-
deployAllApplications(environmentId, deployAllRequest, options) {
|
|
17414
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
17415
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployAllApplications(environmentId, deployAllRequest, options);
|
|
17416
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17417
|
-
});
|
|
17418
|
-
},
|
|
17419
17375
|
};
|
|
17420
17376
|
};
|
|
17421
17377
|
exports.EnvironmentApiFp = EnvironmentApiFp;
|
|
@@ -17470,17 +17426,6 @@ const EnvironmentApiFactory = function (configuration, basePath, axios) {
|
|
|
17470
17426
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
17471
17427
|
return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
|
|
17472
17428
|
},
|
|
17473
|
-
/**
|
|
17474
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17475
|
-
* @summary Deploy applications
|
|
17476
|
-
* @param {string} environmentId Environment ID
|
|
17477
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17478
|
-
* @param {*} [options] Override http request option.
|
|
17479
|
-
* @throws {RequiredError}
|
|
17480
|
-
*/
|
|
17481
|
-
deployAllApplications(environmentId, deployAllRequest, options) {
|
|
17482
|
-
return localVarFp.deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
17483
|
-
},
|
|
17484
17429
|
};
|
|
17485
17430
|
};
|
|
17486
17431
|
exports.EnvironmentApiFactory = EnvironmentApiFactory;
|
|
@@ -17539,18 +17484,6 @@ class EnvironmentApi extends base_1.BaseAPI {
|
|
|
17539
17484
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
17540
17485
|
return (0, exports.EnvironmentApiFp)(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17541
17486
|
}
|
|
17542
|
-
/**
|
|
17543
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17544
|
-
* @summary Deploy applications
|
|
17545
|
-
* @param {string} environmentId Environment ID
|
|
17546
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17547
|
-
* @param {*} [options] Override http request option.
|
|
17548
|
-
* @throws {RequiredError}
|
|
17549
|
-
* @memberof EnvironmentApi
|
|
17550
|
-
*/
|
|
17551
|
-
deployAllApplications(environmentId, deployAllRequest, options) {
|
|
17552
|
-
return (0, exports.EnvironmentApiFp)(this.configuration).deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17553
|
-
}
|
|
17554
17487
|
}
|
|
17555
17488
|
exports.EnvironmentApi = EnvironmentApi;
|
|
17556
17489
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -19909,10 +19909,11 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
19909
19909
|
* @summary Deploy a cluster
|
|
19910
19910
|
* @param {string} organizationId Organization ID
|
|
19911
19911
|
* @param {string} clusterId Cluster ID
|
|
19912
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
19912
19913
|
* @param {*} [options] Override http request option.
|
|
19913
19914
|
* @throws {RequiredError}
|
|
19914
19915
|
*/
|
|
19915
|
-
deployCluster: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19916
|
+
deployCluster: (organizationId: string, clusterId: string, dryRun?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19916
19917
|
/**
|
|
19917
19918
|
*
|
|
19918
19919
|
* @summary Edit a cluster
|
|
@@ -20116,10 +20117,11 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
20116
20117
|
* @summary Deploy a cluster
|
|
20117
20118
|
* @param {string} organizationId Organization ID
|
|
20118
20119
|
* @param {string} clusterId Cluster ID
|
|
20120
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
20119
20121
|
* @param {*} [options] Override http request option.
|
|
20120
20122
|
* @throws {RequiredError}
|
|
20121
20123
|
*/
|
|
20122
|
-
deployCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>>;
|
|
20124
|
+
deployCluster(organizationId: string, clusterId: string, dryRun?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>>;
|
|
20123
20125
|
/**
|
|
20124
20126
|
*
|
|
20125
20127
|
* @summary Edit a cluster
|
|
@@ -20323,10 +20325,11 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
20323
20325
|
* @summary Deploy a cluster
|
|
20324
20326
|
* @param {string} organizationId Organization ID
|
|
20325
20327
|
* @param {string} clusterId Cluster ID
|
|
20328
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
20326
20329
|
* @param {*} [options] Override http request option.
|
|
20327
20330
|
* @throws {RequiredError}
|
|
20328
20331
|
*/
|
|
20329
|
-
deployCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus>;
|
|
20332
|
+
deployCluster(organizationId: string, clusterId: string, dryRun?: boolean, options?: any): AxiosPromise<ClusterStatus>;
|
|
20330
20333
|
/**
|
|
20331
20334
|
*
|
|
20332
20335
|
* @summary Edit a cluster
|
|
@@ -20534,11 +20537,12 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
20534
20537
|
* @summary Deploy a cluster
|
|
20535
20538
|
* @param {string} organizationId Organization ID
|
|
20536
20539
|
* @param {string} clusterId Cluster ID
|
|
20540
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
20537
20541
|
* @param {*} [options] Override http request option.
|
|
20538
20542
|
* @throws {RequiredError}
|
|
20539
20543
|
* @memberof ClustersApi
|
|
20540
20544
|
*/
|
|
20541
|
-
deployCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterStatus, any>>;
|
|
20545
|
+
deployCluster(organizationId: string, clusterId: string, dryRun?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterStatus, any>>;
|
|
20542
20546
|
/**
|
|
20543
20547
|
*
|
|
20544
20548
|
* @summary Edit a cluster
|
|
@@ -24051,15 +24055,6 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
|
|
|
24051
24055
|
* @throws {RequiredError}
|
|
24052
24056
|
*/
|
|
24053
24057
|
checkHelmRepository: (environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24054
|
-
/**
|
|
24055
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24056
|
-
* @summary Deploy applications
|
|
24057
|
-
* @param {string} environmentId Environment ID
|
|
24058
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24059
|
-
* @param {*} [options] Override http request option.
|
|
24060
|
-
* @throws {RequiredError}
|
|
24061
|
-
*/
|
|
24062
|
-
deployAllApplications: (environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24063
24058
|
};
|
|
24064
24059
|
/**
|
|
24065
24060
|
* EnvironmentApi - functional programming interface
|
|
@@ -24102,15 +24097,6 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
|
24102
24097
|
* @throws {RequiredError}
|
|
24103
24098
|
*/
|
|
24104
24099
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
24105
|
-
/**
|
|
24106
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24107
|
-
* @summary Deploy applications
|
|
24108
|
-
* @param {string} environmentId Environment ID
|
|
24109
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24110
|
-
* @param {*} [options] Override http request option.
|
|
24111
|
-
* @throws {RequiredError}
|
|
24112
|
-
*/
|
|
24113
|
-
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
24114
24100
|
};
|
|
24115
24101
|
/**
|
|
24116
24102
|
* EnvironmentApi - factory interface
|
|
@@ -24153,15 +24139,6 @@ export declare const EnvironmentApiFactory: (configuration?: Configuration, base
|
|
|
24153
24139
|
* @throws {RequiredError}
|
|
24154
24140
|
*/
|
|
24155
24141
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: any): AxiosPromise<object>;
|
|
24156
|
-
/**
|
|
24157
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24158
|
-
* @summary Deploy applications
|
|
24159
|
-
* @param {string} environmentId Environment ID
|
|
24160
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24161
|
-
* @param {*} [options] Override http request option.
|
|
24162
|
-
* @throws {RequiredError}
|
|
24163
|
-
*/
|
|
24164
|
-
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status>;
|
|
24165
24142
|
};
|
|
24166
24143
|
/**
|
|
24167
24144
|
* EnvironmentApi - object-oriented interface
|
|
@@ -24210,16 +24187,6 @@ export declare class EnvironmentApi extends BaseAPI {
|
|
|
24210
24187
|
* @memberof EnvironmentApi
|
|
24211
24188
|
*/
|
|
24212
24189
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
24213
|
-
/**
|
|
24214
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24215
|
-
* @summary Deploy applications
|
|
24216
|
-
* @param {string} environmentId Environment ID
|
|
24217
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24218
|
-
* @param {*} [options] Override http request option.
|
|
24219
|
-
* @throws {RequiredError}
|
|
24220
|
-
* @memberof EnvironmentApi
|
|
24221
|
-
*/
|
|
24222
|
-
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
|
|
24223
24190
|
}
|
|
24224
24191
|
/**
|
|
24225
24192
|
* EnvironmentActionsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -9057,10 +9057,11 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
9057
9057
|
* @summary Deploy a cluster
|
|
9058
9058
|
* @param {string} organizationId Organization ID
|
|
9059
9059
|
* @param {string} clusterId Cluster ID
|
|
9060
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
9060
9061
|
* @param {*} [options] Override http request option.
|
|
9061
9062
|
* @throws {RequiredError}
|
|
9062
9063
|
*/
|
|
9063
|
-
deployCluster: (organizationId, clusterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
9064
|
+
deployCluster: (organizationId, clusterId, dryRun, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
9064
9065
|
// verify required parameter 'organizationId' is not null or undefined
|
|
9065
9066
|
assertParamExists('deployCluster', 'organizationId', organizationId);
|
|
9066
9067
|
// verify required parameter 'clusterId' is not null or undefined
|
|
@@ -9082,6 +9083,9 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
9082
9083
|
// authentication bearerAuth required
|
|
9083
9084
|
// http bearer authentication required
|
|
9084
9085
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9086
|
+
if (dryRun !== undefined) {
|
|
9087
|
+
localVarQueryParameter['dry_run'] = dryRun;
|
|
9088
|
+
}
|
|
9085
9089
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9086
9090
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9087
9091
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9857,12 +9861,13 @@ export const ClustersApiFp = function (configuration) {
|
|
|
9857
9861
|
* @summary Deploy a cluster
|
|
9858
9862
|
* @param {string} organizationId Organization ID
|
|
9859
9863
|
* @param {string} clusterId Cluster ID
|
|
9864
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
9860
9865
|
* @param {*} [options] Override http request option.
|
|
9861
9866
|
* @throws {RequiredError}
|
|
9862
9867
|
*/
|
|
9863
|
-
deployCluster(organizationId, clusterId, options) {
|
|
9868
|
+
deployCluster(organizationId, clusterId, dryRun, options) {
|
|
9864
9869
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9865
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployCluster(organizationId, clusterId, options);
|
|
9870
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployCluster(organizationId, clusterId, dryRun, options);
|
|
9866
9871
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9867
9872
|
});
|
|
9868
9873
|
},
|
|
@@ -10171,11 +10176,12 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
10171
10176
|
* @summary Deploy a cluster
|
|
10172
10177
|
* @param {string} organizationId Organization ID
|
|
10173
10178
|
* @param {string} clusterId Cluster ID
|
|
10179
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
10174
10180
|
* @param {*} [options] Override http request option.
|
|
10175
10181
|
* @throws {RequiredError}
|
|
10176
10182
|
*/
|
|
10177
|
-
deployCluster(organizationId, clusterId, options) {
|
|
10178
|
-
return localVarFp.deployCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
10183
|
+
deployCluster(organizationId, clusterId, dryRun, options) {
|
|
10184
|
+
return localVarFp.deployCluster(organizationId, clusterId, dryRun, options).then((request) => request(axios, basePath));
|
|
10179
10185
|
},
|
|
10180
10186
|
/**
|
|
10181
10187
|
*
|
|
@@ -10427,12 +10433,13 @@ export class ClustersApi extends BaseAPI {
|
|
|
10427
10433
|
* @summary Deploy a cluster
|
|
10428
10434
|
* @param {string} organizationId Organization ID
|
|
10429
10435
|
* @param {string} clusterId Cluster ID
|
|
10436
|
+
* @param {boolean} [dryRun] default: false. Decide if the deployment of the cluster should be done in dry_run mode. Avoiding any changes
|
|
10430
10437
|
* @param {*} [options] Override http request option.
|
|
10431
10438
|
* @throws {RequiredError}
|
|
10432
10439
|
* @memberof ClustersApi
|
|
10433
10440
|
*/
|
|
10434
|
-
deployCluster(organizationId, clusterId, options) {
|
|
10435
|
-
return ClustersApiFp(this.configuration).deployCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
10441
|
+
deployCluster(organizationId, clusterId, dryRun, options) {
|
|
10442
|
+
return ClustersApiFp(this.configuration).deployCluster(organizationId, clusterId, dryRun, options).then((request) => request(this.axios, this.basePath));
|
|
10436
10443
|
}
|
|
10437
10444
|
/**
|
|
10438
10445
|
*
|
|
@@ -17157,43 +17164,6 @@ export const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
17157
17164
|
options: localVarRequestOptions,
|
|
17158
17165
|
};
|
|
17159
17166
|
}),
|
|
17160
|
-
/**
|
|
17161
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17162
|
-
* @summary Deploy applications
|
|
17163
|
-
* @param {string} environmentId Environment ID
|
|
17164
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17165
|
-
* @param {*} [options] Override http request option.
|
|
17166
|
-
* @throws {RequiredError}
|
|
17167
|
-
*/
|
|
17168
|
-
deployAllApplications: (environmentId, deployAllRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
17169
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
17170
|
-
assertParamExists('deployAllApplications', 'environmentId', environmentId);
|
|
17171
|
-
const localVarPath = `/environment/{environmentId}/application/deploy`
|
|
17172
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
17173
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17174
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17175
|
-
let baseOptions;
|
|
17176
|
-
if (configuration) {
|
|
17177
|
-
baseOptions = configuration.baseOptions;
|
|
17178
|
-
}
|
|
17179
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
17180
|
-
const localVarHeaderParameter = {};
|
|
17181
|
-
const localVarQueryParameter = {};
|
|
17182
|
-
// authentication ApiKeyAuth required
|
|
17183
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
17184
|
-
// authentication bearerAuth required
|
|
17185
|
-
// http bearer authentication required
|
|
17186
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
17187
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17188
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17189
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17190
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17191
|
-
localVarRequestOptions.data = serializeDataIfNeeded(deployAllRequest, localVarRequestOptions, configuration);
|
|
17192
|
-
return {
|
|
17193
|
-
url: toPathString(localVarUrlObj),
|
|
17194
|
-
options: localVarRequestOptions,
|
|
17195
|
-
};
|
|
17196
|
-
}),
|
|
17197
17167
|
};
|
|
17198
17168
|
};
|
|
17199
17169
|
/**
|
|
@@ -17259,20 +17229,6 @@ export const EnvironmentApiFp = function (configuration) {
|
|
|
17259
17229
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17260
17230
|
});
|
|
17261
17231
|
},
|
|
17262
|
-
/**
|
|
17263
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17264
|
-
* @summary Deploy applications
|
|
17265
|
-
* @param {string} environmentId Environment ID
|
|
17266
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17267
|
-
* @param {*} [options] Override http request option.
|
|
17268
|
-
* @throws {RequiredError}
|
|
17269
|
-
*/
|
|
17270
|
-
deployAllApplications(environmentId, deployAllRequest, options) {
|
|
17271
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
17272
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployAllApplications(environmentId, deployAllRequest, options);
|
|
17273
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17274
|
-
});
|
|
17275
|
-
},
|
|
17276
17232
|
};
|
|
17277
17233
|
};
|
|
17278
17234
|
/**
|
|
@@ -17326,17 +17282,6 @@ export const EnvironmentApiFactory = function (configuration, basePath, axios) {
|
|
|
17326
17282
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
17327
17283
|
return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
|
|
17328
17284
|
},
|
|
17329
|
-
/**
|
|
17330
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17331
|
-
* @summary Deploy applications
|
|
17332
|
-
* @param {string} environmentId Environment ID
|
|
17333
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17334
|
-
* @param {*} [options] Override http request option.
|
|
17335
|
-
* @throws {RequiredError}
|
|
17336
|
-
*/
|
|
17337
|
-
deployAllApplications(environmentId, deployAllRequest, options) {
|
|
17338
|
-
return localVarFp.deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
17339
|
-
},
|
|
17340
17285
|
};
|
|
17341
17286
|
};
|
|
17342
17287
|
/**
|
|
@@ -17394,18 +17339,6 @@ export class EnvironmentApi extends BaseAPI {
|
|
|
17394
17339
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
17395
17340
|
return EnvironmentApiFp(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17396
17341
|
}
|
|
17397
|
-
/**
|
|
17398
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17399
|
-
* @summary Deploy applications
|
|
17400
|
-
* @param {string} environmentId Environment ID
|
|
17401
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17402
|
-
* @param {*} [options] Override http request option.
|
|
17403
|
-
* @throws {RequiredError}
|
|
17404
|
-
* @memberof EnvironmentApi
|
|
17405
|
-
*/
|
|
17406
|
-
deployAllApplications(environmentId, deployAllRequest, options) {
|
|
17407
|
-
return EnvironmentApiFp(this.configuration).deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17408
|
-
}
|
|
17409
17342
|
}
|
|
17410
17343
|
/**
|
|
17411
17344
|
* EnvironmentActionsApi - axios parameter creator
|