qovery-typescript-axios 1.1.420 → 1.1.422
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 +312 -57
- package/dist/api.d.ts +180 -56
- package/dist/api.js +222 -0
- package/dist/esm/api.d.ts +180 -56
- package/dist/esm/api.js +222 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1353,10 +1353,10 @@ export interface BaseJobResponse {
|
|
|
1353
1353
|
'port'?: number | null;
|
|
1354
1354
|
/**
|
|
1355
1355
|
*
|
|
1356
|
-
* @type {
|
|
1356
|
+
* @type {}
|
|
1357
1357
|
* @memberof BaseJobResponse
|
|
1358
1358
|
*/
|
|
1359
|
-
'source':
|
|
1359
|
+
'source': | null;
|
|
1360
1360
|
/**
|
|
1361
1361
|
*
|
|
1362
1362
|
* @type {Healthcheck}
|
|
@@ -1370,57 +1370,6 @@ export interface BaseJobResponse {
|
|
|
1370
1370
|
*/
|
|
1371
1371
|
'auto_deploy'?: boolean;
|
|
1372
1372
|
}
|
|
1373
|
-
/**
|
|
1374
|
-
* @type BaseJobResponseAllOfSource
|
|
1375
|
-
* @export
|
|
1376
|
-
*/
|
|
1377
|
-
export type BaseJobResponseAllOfSource = BaseJobResponseAllOfSourceOneOf | BaseJobResponseAllOfSourceOneOf1;
|
|
1378
|
-
|
|
1379
|
-
/**
|
|
1380
|
-
*
|
|
1381
|
-
* @export
|
|
1382
|
-
* @interface BaseJobResponseAllOfSourceOneOf
|
|
1383
|
-
*/
|
|
1384
|
-
export interface BaseJobResponseAllOfSourceOneOf {
|
|
1385
|
-
/**
|
|
1386
|
-
*
|
|
1387
|
-
* @type {ContainerSource}
|
|
1388
|
-
* @memberof BaseJobResponseAllOfSourceOneOf
|
|
1389
|
-
*/
|
|
1390
|
-
'image'?: ContainerSource;
|
|
1391
|
-
}
|
|
1392
|
-
/**
|
|
1393
|
-
*
|
|
1394
|
-
* @export
|
|
1395
|
-
* @interface BaseJobResponseAllOfSourceOneOf1
|
|
1396
|
-
*/
|
|
1397
|
-
export interface BaseJobResponseAllOfSourceOneOf1 {
|
|
1398
|
-
/**
|
|
1399
|
-
*
|
|
1400
|
-
* @type {BaseJobResponseAllOfSourceOneOf1Docker}
|
|
1401
|
-
* @memberof BaseJobResponseAllOfSourceOneOf1
|
|
1402
|
-
*/
|
|
1403
|
-
'docker'?: BaseJobResponseAllOfSourceOneOf1Docker;
|
|
1404
|
-
}
|
|
1405
|
-
/**
|
|
1406
|
-
*
|
|
1407
|
-
* @export
|
|
1408
|
-
* @interface BaseJobResponseAllOfSourceOneOf1Docker
|
|
1409
|
-
*/
|
|
1410
|
-
export interface BaseJobResponseAllOfSourceOneOf1Docker {
|
|
1411
|
-
/**
|
|
1412
|
-
* The path of the associated Dockerfile. Only if you are using build_mode = DOCKER
|
|
1413
|
-
* @type {string}
|
|
1414
|
-
* @memberof BaseJobResponseAllOfSourceOneOf1Docker
|
|
1415
|
-
*/
|
|
1416
|
-
'dockerfile_path'?: string | null;
|
|
1417
|
-
/**
|
|
1418
|
-
*
|
|
1419
|
-
* @type {ApplicationGitRepository}
|
|
1420
|
-
* @memberof BaseJobResponseAllOfSourceOneOf1Docker
|
|
1421
|
-
*/
|
|
1422
|
-
'git_repository'?: ApplicationGitRepository;
|
|
1423
|
-
}
|
|
1424
1373
|
/**
|
|
1425
1374
|
*
|
|
1426
1375
|
* @export
|
|
@@ -3516,6 +3465,31 @@ export interface ContainerDeployRequest {
|
|
|
3516
3465
|
*/
|
|
3517
3466
|
'image_tag': string;
|
|
3518
3467
|
}
|
|
3468
|
+
/**
|
|
3469
|
+
*
|
|
3470
|
+
* @export
|
|
3471
|
+
* @interface ContainerImageCheckRequest
|
|
3472
|
+
*/
|
|
3473
|
+
export interface ContainerImageCheckRequest {
|
|
3474
|
+
/**
|
|
3475
|
+
*
|
|
3476
|
+
* @type {string}
|
|
3477
|
+
* @memberof ContainerImageCheckRequest
|
|
3478
|
+
*/
|
|
3479
|
+
'registry_id'?: string;
|
|
3480
|
+
/**
|
|
3481
|
+
*
|
|
3482
|
+
* @type {string}
|
|
3483
|
+
* @memberof ContainerImageCheckRequest
|
|
3484
|
+
*/
|
|
3485
|
+
'image_name': string;
|
|
3486
|
+
/**
|
|
3487
|
+
*
|
|
3488
|
+
* @type {string}
|
|
3489
|
+
* @memberof ContainerImageCheckRequest
|
|
3490
|
+
*/
|
|
3491
|
+
'tag': string;
|
|
3492
|
+
}
|
|
3519
3493
|
/**
|
|
3520
3494
|
*
|
|
3521
3495
|
* @export
|
|
@@ -4478,10 +4452,10 @@ export interface CronJobResponse {
|
|
|
4478
4452
|
'port'?: number | null;
|
|
4479
4453
|
/**
|
|
4480
4454
|
*
|
|
4481
|
-
* @type {
|
|
4455
|
+
* @type {}
|
|
4482
4456
|
* @memberof CronJobResponse
|
|
4483
4457
|
*/
|
|
4484
|
-
'source':
|
|
4458
|
+
'source': | null;
|
|
4485
4459
|
/**
|
|
4486
4460
|
*
|
|
4487
4461
|
* @type {Healthcheck}
|
|
@@ -7139,6 +7113,25 @@ export interface GitAuthProviderResponseList {
|
|
|
7139
7113
|
*/
|
|
7140
7114
|
'results'?: Array<GitAuthProvider>;
|
|
7141
7115
|
}
|
|
7116
|
+
/**
|
|
7117
|
+
*
|
|
7118
|
+
* @export
|
|
7119
|
+
* @interface GitFileCheckRequest
|
|
7120
|
+
*/
|
|
7121
|
+
export interface GitFileCheckRequest {
|
|
7122
|
+
/**
|
|
7123
|
+
*
|
|
7124
|
+
* @type {HelmGitRepositoryRequest}
|
|
7125
|
+
* @memberof GitFileCheckRequest
|
|
7126
|
+
*/
|
|
7127
|
+
'git_repository': HelmGitRepositoryRequest;
|
|
7128
|
+
/**
|
|
7129
|
+
*
|
|
7130
|
+
* @type {Array<string>}
|
|
7131
|
+
* @memberof GitFileCheckRequest
|
|
7132
|
+
*/
|
|
7133
|
+
'files': Array<string>;
|
|
7134
|
+
}
|
|
7142
7135
|
/**
|
|
7143
7136
|
*
|
|
7144
7137
|
* @export
|
|
@@ -7583,6 +7576,19 @@ export interface HelmAdvancedSettings {
|
|
|
7583
7576
|
*/
|
|
7584
7577
|
'network.ingress.enable_sticky_session'?: boolean;
|
|
7585
7578
|
}
|
|
7579
|
+
/**
|
|
7580
|
+
*
|
|
7581
|
+
* @export
|
|
7582
|
+
* @interface HelmCheckRequest
|
|
7583
|
+
*/
|
|
7584
|
+
export interface HelmCheckRequest {
|
|
7585
|
+
/**
|
|
7586
|
+
*
|
|
7587
|
+
* @type {HelmGitRepositoryRequest}
|
|
7588
|
+
* @memberof HelmCheckRequest
|
|
7589
|
+
*/
|
|
7590
|
+
'git_repository': HelmGitRepositoryRequest;
|
|
7591
|
+
}
|
|
7586
7592
|
/**
|
|
7587
7593
|
*
|
|
7588
7594
|
* @export
|
|
@@ -9256,6 +9262,12 @@ export interface JobRequestAllOfSourceDocker {
|
|
|
9256
9262
|
* @memberof JobRequestAllOfSourceDocker
|
|
9257
9263
|
*/
|
|
9258
9264
|
'git_repository'?: ApplicationGitRepositoryRequest;
|
|
9265
|
+
/**
|
|
9266
|
+
* The content of your dockerfile if it is not stored inside your git repository
|
|
9267
|
+
* @type {string}
|
|
9268
|
+
* @memberof JobRequestAllOfSourceDocker
|
|
9269
|
+
*/
|
|
9270
|
+
'dockerfile_raw'?: string | null;
|
|
9259
9271
|
}
|
|
9260
9272
|
/**
|
|
9261
9273
|
*
|
|
@@ -9481,10 +9493,10 @@ export interface LifecycleJobResponse {
|
|
|
9481
9493
|
'port'?: number | null;
|
|
9482
9494
|
/**
|
|
9483
9495
|
*
|
|
9484
|
-
* @type {
|
|
9496
|
+
* @type {}
|
|
9485
9497
|
* @memberof LifecycleJobResponse
|
|
9486
9498
|
*/
|
|
9487
|
-
'source':
|
|
9499
|
+
'source': | null;
|
|
9488
9500
|
/**
|
|
9489
9501
|
*
|
|
9490
9502
|
* @type {Healthcheck}
|
|
@@ -30930,6 +30942,51 @@ export class DeploymentStageMainCallsApi extends BaseAPI {
|
|
|
30930
30942
|
*/
|
|
30931
30943
|
export const EnvironmentApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30932
30944
|
return {
|
|
30945
|
+
/**
|
|
30946
|
+
*
|
|
30947
|
+
* @summary Check container image configuration is correct
|
|
30948
|
+
* @param {string} environmentId Environment ID
|
|
30949
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
30950
|
+
* @param {*} [options] Override http request option.
|
|
30951
|
+
* @throws {RequiredError}
|
|
30952
|
+
*/
|
|
30953
|
+
checkContainerImage: async (environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30954
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
30955
|
+
assertParamExists('checkContainerImage', 'environmentId', environmentId)
|
|
30956
|
+
const localVarPath = `/environment/{environmentId}/checkContainerImage`
|
|
30957
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
30958
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30959
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30960
|
+
let baseOptions;
|
|
30961
|
+
if (configuration) {
|
|
30962
|
+
baseOptions = configuration.baseOptions;
|
|
30963
|
+
}
|
|
30964
|
+
|
|
30965
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30966
|
+
const localVarHeaderParameter = {} as any;
|
|
30967
|
+
const localVarQueryParameter = {} as any;
|
|
30968
|
+
|
|
30969
|
+
// authentication ApiKeyAuth required
|
|
30970
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
30971
|
+
|
|
30972
|
+
// authentication bearerAuth required
|
|
30973
|
+
// http bearer authentication required
|
|
30974
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30975
|
+
|
|
30976
|
+
|
|
30977
|
+
|
|
30978
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30979
|
+
|
|
30980
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30981
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30982
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30983
|
+
localVarRequestOptions.data = serializeDataIfNeeded(containerImageCheckRequest, localVarRequestOptions, configuration)
|
|
30984
|
+
|
|
30985
|
+
return {
|
|
30986
|
+
url: toPathString(localVarUrlObj),
|
|
30987
|
+
options: localVarRequestOptions,
|
|
30988
|
+
};
|
|
30989
|
+
},
|
|
30933
30990
|
/**
|
|
30934
30991
|
*
|
|
30935
30992
|
* @summary Check dockerfile configuration is correct
|
|
@@ -30975,6 +31032,96 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
30975
31032
|
options: localVarRequestOptions,
|
|
30976
31033
|
};
|
|
30977
31034
|
},
|
|
31035
|
+
/**
|
|
31036
|
+
*
|
|
31037
|
+
* @summary Check git file configuration is correct
|
|
31038
|
+
* @param {string} environmentId Environment ID
|
|
31039
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
31040
|
+
* @param {*} [options] Override http request option.
|
|
31041
|
+
* @throws {RequiredError}
|
|
31042
|
+
*/
|
|
31043
|
+
checkGitFile: async (environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31044
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
31045
|
+
assertParamExists('checkGitFile', 'environmentId', environmentId)
|
|
31046
|
+
const localVarPath = `/environment/{environmentId}/checkGitFile`
|
|
31047
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
31048
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31049
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31050
|
+
let baseOptions;
|
|
31051
|
+
if (configuration) {
|
|
31052
|
+
baseOptions = configuration.baseOptions;
|
|
31053
|
+
}
|
|
31054
|
+
|
|
31055
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
31056
|
+
const localVarHeaderParameter = {} as any;
|
|
31057
|
+
const localVarQueryParameter = {} as any;
|
|
31058
|
+
|
|
31059
|
+
// authentication ApiKeyAuth required
|
|
31060
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
31061
|
+
|
|
31062
|
+
// authentication bearerAuth required
|
|
31063
|
+
// http bearer authentication required
|
|
31064
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31065
|
+
|
|
31066
|
+
|
|
31067
|
+
|
|
31068
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31069
|
+
|
|
31070
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31071
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31072
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31073
|
+
localVarRequestOptions.data = serializeDataIfNeeded(gitFileCheckRequest, localVarRequestOptions, configuration)
|
|
31074
|
+
|
|
31075
|
+
return {
|
|
31076
|
+
url: toPathString(localVarUrlObj),
|
|
31077
|
+
options: localVarRequestOptions,
|
|
31078
|
+
};
|
|
31079
|
+
},
|
|
31080
|
+
/**
|
|
31081
|
+
*
|
|
31082
|
+
* @summary Check helm repository configuration is correct
|
|
31083
|
+
* @param {string} environmentId Environment ID
|
|
31084
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
31085
|
+
* @param {*} [options] Override http request option.
|
|
31086
|
+
* @throws {RequiredError}
|
|
31087
|
+
*/
|
|
31088
|
+
checkHelmRepository: async (environmentId: string, helmCheckRequest?: HelmCheckRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31089
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
31090
|
+
assertParamExists('checkHelmRepository', 'environmentId', environmentId)
|
|
31091
|
+
const localVarPath = `/environment/{environmentId}/checkHelmRepository`
|
|
31092
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
31093
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31094
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31095
|
+
let baseOptions;
|
|
31096
|
+
if (configuration) {
|
|
31097
|
+
baseOptions = configuration.baseOptions;
|
|
31098
|
+
}
|
|
31099
|
+
|
|
31100
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
31101
|
+
const localVarHeaderParameter = {} as any;
|
|
31102
|
+
const localVarQueryParameter = {} as any;
|
|
31103
|
+
|
|
31104
|
+
// authentication ApiKeyAuth required
|
|
31105
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
31106
|
+
|
|
31107
|
+
// authentication bearerAuth required
|
|
31108
|
+
// http bearer authentication required
|
|
31109
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31110
|
+
|
|
31111
|
+
|
|
31112
|
+
|
|
31113
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31114
|
+
|
|
31115
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31116
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31117
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31118
|
+
localVarRequestOptions.data = serializeDataIfNeeded(helmCheckRequest, localVarRequestOptions, configuration)
|
|
31119
|
+
|
|
31120
|
+
return {
|
|
31121
|
+
url: toPathString(localVarUrlObj),
|
|
31122
|
+
options: localVarRequestOptions,
|
|
31123
|
+
};
|
|
31124
|
+
},
|
|
30978
31125
|
/**
|
|
30979
31126
|
* 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..)
|
|
30980
31127
|
* @summary Deploy applications
|
|
@@ -31030,6 +31177,18 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
31030
31177
|
export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
31031
31178
|
const localVarAxiosParamCreator = EnvironmentApiAxiosParamCreator(configuration)
|
|
31032
31179
|
return {
|
|
31180
|
+
/**
|
|
31181
|
+
*
|
|
31182
|
+
* @summary Check container image configuration is correct
|
|
31183
|
+
* @param {string} environmentId Environment ID
|
|
31184
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
31185
|
+
* @param {*} [options] Override http request option.
|
|
31186
|
+
* @throws {RequiredError}
|
|
31187
|
+
*/
|
|
31188
|
+
async checkContainerImage(environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
31189
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkContainerImage(environmentId, containerImageCheckRequest, options);
|
|
31190
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31191
|
+
},
|
|
31033
31192
|
/**
|
|
31034
31193
|
*
|
|
31035
31194
|
* @summary Check dockerfile configuration is correct
|
|
@@ -31042,6 +31201,30 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
31042
31201
|
const localVarAxiosArgs = await localVarAxiosParamCreator.checkDockerfile(environmentId, dockerfileCheckRequest, options);
|
|
31043
31202
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31044
31203
|
},
|
|
31204
|
+
/**
|
|
31205
|
+
*
|
|
31206
|
+
* @summary Check git file configuration is correct
|
|
31207
|
+
* @param {string} environmentId Environment ID
|
|
31208
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
31209
|
+
* @param {*} [options] Override http request option.
|
|
31210
|
+
* @throws {RequiredError}
|
|
31211
|
+
*/
|
|
31212
|
+
async checkGitFile(environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
31213
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkGitFile(environmentId, gitFileCheckRequest, options);
|
|
31214
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31215
|
+
},
|
|
31216
|
+
/**
|
|
31217
|
+
*
|
|
31218
|
+
* @summary Check helm repository configuration is correct
|
|
31219
|
+
* @param {string} environmentId Environment ID
|
|
31220
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
31221
|
+
* @param {*} [options] Override http request option.
|
|
31222
|
+
* @throws {RequiredError}
|
|
31223
|
+
*/
|
|
31224
|
+
async checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
31225
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkHelmRepository(environmentId, helmCheckRequest, options);
|
|
31226
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31227
|
+
},
|
|
31045
31228
|
/**
|
|
31046
31229
|
* 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..)
|
|
31047
31230
|
* @summary Deploy applications
|
|
@@ -31064,6 +31247,17 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
31064
31247
|
export const EnvironmentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
31065
31248
|
const localVarFp = EnvironmentApiFp(configuration)
|
|
31066
31249
|
return {
|
|
31250
|
+
/**
|
|
31251
|
+
*
|
|
31252
|
+
* @summary Check container image configuration is correct
|
|
31253
|
+
* @param {string} environmentId Environment ID
|
|
31254
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
31255
|
+
* @param {*} [options] Override http request option.
|
|
31256
|
+
* @throws {RequiredError}
|
|
31257
|
+
*/
|
|
31258
|
+
checkContainerImage(environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options?: any): AxiosPromise<object> {
|
|
31259
|
+
return localVarFp.checkContainerImage(environmentId, containerImageCheckRequest, options).then((request) => request(axios, basePath));
|
|
31260
|
+
},
|
|
31067
31261
|
/**
|
|
31068
31262
|
*
|
|
31069
31263
|
* @summary Check dockerfile configuration is correct
|
|
@@ -31075,6 +31269,28 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
31075
31269
|
checkDockerfile(environmentId: string, dockerfileCheckRequest?: DockerfileCheckRequest, options?: any): AxiosPromise<DockerfileCheckResponse> {
|
|
31076
31270
|
return localVarFp.checkDockerfile(environmentId, dockerfileCheckRequest, options).then((request) => request(axios, basePath));
|
|
31077
31271
|
},
|
|
31272
|
+
/**
|
|
31273
|
+
*
|
|
31274
|
+
* @summary Check git file configuration is correct
|
|
31275
|
+
* @param {string} environmentId Environment ID
|
|
31276
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
31277
|
+
* @param {*} [options] Override http request option.
|
|
31278
|
+
* @throws {RequiredError}
|
|
31279
|
+
*/
|
|
31280
|
+
checkGitFile(environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options?: any): AxiosPromise<object> {
|
|
31281
|
+
return localVarFp.checkGitFile(environmentId, gitFileCheckRequest, options).then((request) => request(axios, basePath));
|
|
31282
|
+
},
|
|
31283
|
+
/**
|
|
31284
|
+
*
|
|
31285
|
+
* @summary Check helm repository configuration is correct
|
|
31286
|
+
* @param {string} environmentId Environment ID
|
|
31287
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
31288
|
+
* @param {*} [options] Override http request option.
|
|
31289
|
+
* @throws {RequiredError}
|
|
31290
|
+
*/
|
|
31291
|
+
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: any): AxiosPromise<object> {
|
|
31292
|
+
return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
|
|
31293
|
+
},
|
|
31078
31294
|
/**
|
|
31079
31295
|
* 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..)
|
|
31080
31296
|
* @summary Deploy applications
|
|
@@ -31096,6 +31312,19 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
31096
31312
|
* @extends {BaseAPI}
|
|
31097
31313
|
*/
|
|
31098
31314
|
export class EnvironmentApi extends BaseAPI {
|
|
31315
|
+
/**
|
|
31316
|
+
*
|
|
31317
|
+
* @summary Check container image configuration is correct
|
|
31318
|
+
* @param {string} environmentId Environment ID
|
|
31319
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
31320
|
+
* @param {*} [options] Override http request option.
|
|
31321
|
+
* @throws {RequiredError}
|
|
31322
|
+
* @memberof EnvironmentApi
|
|
31323
|
+
*/
|
|
31324
|
+
public checkContainerImage(environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options?: AxiosRequestConfig) {
|
|
31325
|
+
return EnvironmentApiFp(this.configuration).checkContainerImage(environmentId, containerImageCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31326
|
+
}
|
|
31327
|
+
|
|
31099
31328
|
/**
|
|
31100
31329
|
*
|
|
31101
31330
|
* @summary Check dockerfile configuration is correct
|
|
@@ -31109,6 +31338,32 @@ export class EnvironmentApi extends BaseAPI {
|
|
|
31109
31338
|
return EnvironmentApiFp(this.configuration).checkDockerfile(environmentId, dockerfileCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31110
31339
|
}
|
|
31111
31340
|
|
|
31341
|
+
/**
|
|
31342
|
+
*
|
|
31343
|
+
* @summary Check git file configuration is correct
|
|
31344
|
+
* @param {string} environmentId Environment ID
|
|
31345
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
31346
|
+
* @param {*} [options] Override http request option.
|
|
31347
|
+
* @throws {RequiredError}
|
|
31348
|
+
* @memberof EnvironmentApi
|
|
31349
|
+
*/
|
|
31350
|
+
public checkGitFile(environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options?: AxiosRequestConfig) {
|
|
31351
|
+
return EnvironmentApiFp(this.configuration).checkGitFile(environmentId, gitFileCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31352
|
+
}
|
|
31353
|
+
|
|
31354
|
+
/**
|
|
31355
|
+
*
|
|
31356
|
+
* @summary Check helm repository configuration is correct
|
|
31357
|
+
* @param {string} environmentId Environment ID
|
|
31358
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
31359
|
+
* @param {*} [options] Override http request option.
|
|
31360
|
+
* @throws {RequiredError}
|
|
31361
|
+
* @memberof EnvironmentApi
|
|
31362
|
+
*/
|
|
31363
|
+
public checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig) {
|
|
31364
|
+
return EnvironmentApiFp(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31365
|
+
}
|
|
31366
|
+
|
|
31112
31367
|
/**
|
|
31113
31368
|
* 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..)
|
|
31114
31369
|
* @summary Deploy applications
|