qovery-typescript-axios 1.1.420 → 1.1.421
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 +300 -0
- package/dist/api.d.ts +168 -0
- package/dist/api.js +222 -0
- package/dist/esm/api.d.ts +168 -0
- package/dist/esm/api.js +222 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3516,6 +3516,31 @@ export interface ContainerDeployRequest {
|
|
|
3516
3516
|
*/
|
|
3517
3517
|
'image_tag': string;
|
|
3518
3518
|
}
|
|
3519
|
+
/**
|
|
3520
|
+
*
|
|
3521
|
+
* @export
|
|
3522
|
+
* @interface ContainerImageCheckRequest
|
|
3523
|
+
*/
|
|
3524
|
+
export interface ContainerImageCheckRequest {
|
|
3525
|
+
/**
|
|
3526
|
+
*
|
|
3527
|
+
* @type {string}
|
|
3528
|
+
* @memberof ContainerImageCheckRequest
|
|
3529
|
+
*/
|
|
3530
|
+
'registry_id'?: string;
|
|
3531
|
+
/**
|
|
3532
|
+
*
|
|
3533
|
+
* @type {string}
|
|
3534
|
+
* @memberof ContainerImageCheckRequest
|
|
3535
|
+
*/
|
|
3536
|
+
'image_name': string;
|
|
3537
|
+
/**
|
|
3538
|
+
*
|
|
3539
|
+
* @type {string}
|
|
3540
|
+
* @memberof ContainerImageCheckRequest
|
|
3541
|
+
*/
|
|
3542
|
+
'tag': string;
|
|
3543
|
+
}
|
|
3519
3544
|
/**
|
|
3520
3545
|
*
|
|
3521
3546
|
* @export
|
|
@@ -7139,6 +7164,25 @@ export interface GitAuthProviderResponseList {
|
|
|
7139
7164
|
*/
|
|
7140
7165
|
'results'?: Array<GitAuthProvider>;
|
|
7141
7166
|
}
|
|
7167
|
+
/**
|
|
7168
|
+
*
|
|
7169
|
+
* @export
|
|
7170
|
+
* @interface GitFileCheckRequest
|
|
7171
|
+
*/
|
|
7172
|
+
export interface GitFileCheckRequest {
|
|
7173
|
+
/**
|
|
7174
|
+
*
|
|
7175
|
+
* @type {HelmGitRepositoryRequest}
|
|
7176
|
+
* @memberof GitFileCheckRequest
|
|
7177
|
+
*/
|
|
7178
|
+
'git_repository': HelmGitRepositoryRequest;
|
|
7179
|
+
/**
|
|
7180
|
+
*
|
|
7181
|
+
* @type {Array<string>}
|
|
7182
|
+
* @memberof GitFileCheckRequest
|
|
7183
|
+
*/
|
|
7184
|
+
'files': Array<string>;
|
|
7185
|
+
}
|
|
7142
7186
|
/**
|
|
7143
7187
|
*
|
|
7144
7188
|
* @export
|
|
@@ -7583,6 +7627,19 @@ export interface HelmAdvancedSettings {
|
|
|
7583
7627
|
*/
|
|
7584
7628
|
'network.ingress.enable_sticky_session'?: boolean;
|
|
7585
7629
|
}
|
|
7630
|
+
/**
|
|
7631
|
+
*
|
|
7632
|
+
* @export
|
|
7633
|
+
* @interface HelmCheckRequest
|
|
7634
|
+
*/
|
|
7635
|
+
export interface HelmCheckRequest {
|
|
7636
|
+
/**
|
|
7637
|
+
*
|
|
7638
|
+
* @type {HelmGitRepositoryRequest}
|
|
7639
|
+
* @memberof HelmCheckRequest
|
|
7640
|
+
*/
|
|
7641
|
+
'git_repository': HelmGitRepositoryRequest;
|
|
7642
|
+
}
|
|
7586
7643
|
/**
|
|
7587
7644
|
*
|
|
7588
7645
|
* @export
|
|
@@ -30930,6 +30987,51 @@ export class DeploymentStageMainCallsApi extends BaseAPI {
|
|
|
30930
30987
|
*/
|
|
30931
30988
|
export const EnvironmentApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30932
30989
|
return {
|
|
30990
|
+
/**
|
|
30991
|
+
*
|
|
30992
|
+
* @summary Check container image configuration is correct
|
|
30993
|
+
* @param {string} environmentId Environment ID
|
|
30994
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
30995
|
+
* @param {*} [options] Override http request option.
|
|
30996
|
+
* @throws {RequiredError}
|
|
30997
|
+
*/
|
|
30998
|
+
checkContainerImage: async (environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30999
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
31000
|
+
assertParamExists('checkContainerImage', 'environmentId', environmentId)
|
|
31001
|
+
const localVarPath = `/environment/{environmentId}/checkContainerImage`
|
|
31002
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
31003
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31004
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31005
|
+
let baseOptions;
|
|
31006
|
+
if (configuration) {
|
|
31007
|
+
baseOptions = configuration.baseOptions;
|
|
31008
|
+
}
|
|
31009
|
+
|
|
31010
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
31011
|
+
const localVarHeaderParameter = {} as any;
|
|
31012
|
+
const localVarQueryParameter = {} as any;
|
|
31013
|
+
|
|
31014
|
+
// authentication ApiKeyAuth required
|
|
31015
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
31016
|
+
|
|
31017
|
+
// authentication bearerAuth required
|
|
31018
|
+
// http bearer authentication required
|
|
31019
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31020
|
+
|
|
31021
|
+
|
|
31022
|
+
|
|
31023
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31024
|
+
|
|
31025
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31026
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31027
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31028
|
+
localVarRequestOptions.data = serializeDataIfNeeded(containerImageCheckRequest, localVarRequestOptions, configuration)
|
|
31029
|
+
|
|
31030
|
+
return {
|
|
31031
|
+
url: toPathString(localVarUrlObj),
|
|
31032
|
+
options: localVarRequestOptions,
|
|
31033
|
+
};
|
|
31034
|
+
},
|
|
30933
31035
|
/**
|
|
30934
31036
|
*
|
|
30935
31037
|
* @summary Check dockerfile configuration is correct
|
|
@@ -30975,6 +31077,96 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
30975
31077
|
options: localVarRequestOptions,
|
|
30976
31078
|
};
|
|
30977
31079
|
},
|
|
31080
|
+
/**
|
|
31081
|
+
*
|
|
31082
|
+
* @summary Check git file configuration is correct
|
|
31083
|
+
* @param {string} environmentId Environment ID
|
|
31084
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
31085
|
+
* @param {*} [options] Override http request option.
|
|
31086
|
+
* @throws {RequiredError}
|
|
31087
|
+
*/
|
|
31088
|
+
checkGitFile: async (environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31089
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
31090
|
+
assertParamExists('checkGitFile', 'environmentId', environmentId)
|
|
31091
|
+
const localVarPath = `/environment/{environmentId}/checkGitFile`
|
|
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(gitFileCheckRequest, localVarRequestOptions, configuration)
|
|
31119
|
+
|
|
31120
|
+
return {
|
|
31121
|
+
url: toPathString(localVarUrlObj),
|
|
31122
|
+
options: localVarRequestOptions,
|
|
31123
|
+
};
|
|
31124
|
+
},
|
|
31125
|
+
/**
|
|
31126
|
+
*
|
|
31127
|
+
* @summary Check helm repository configuration is correct
|
|
31128
|
+
* @param {string} environmentId Environment ID
|
|
31129
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
31130
|
+
* @param {*} [options] Override http request option.
|
|
31131
|
+
* @throws {RequiredError}
|
|
31132
|
+
*/
|
|
31133
|
+
checkHelmRepository: async (environmentId: string, helmCheckRequest?: HelmCheckRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31134
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
31135
|
+
assertParamExists('checkHelmRepository', 'environmentId', environmentId)
|
|
31136
|
+
const localVarPath = `/environment/{environmentId}/checkHelmRepository`
|
|
31137
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
31138
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31139
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31140
|
+
let baseOptions;
|
|
31141
|
+
if (configuration) {
|
|
31142
|
+
baseOptions = configuration.baseOptions;
|
|
31143
|
+
}
|
|
31144
|
+
|
|
31145
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
31146
|
+
const localVarHeaderParameter = {} as any;
|
|
31147
|
+
const localVarQueryParameter = {} as any;
|
|
31148
|
+
|
|
31149
|
+
// authentication ApiKeyAuth required
|
|
31150
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
31151
|
+
|
|
31152
|
+
// authentication bearerAuth required
|
|
31153
|
+
// http bearer authentication required
|
|
31154
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31155
|
+
|
|
31156
|
+
|
|
31157
|
+
|
|
31158
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31159
|
+
|
|
31160
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31161
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31162
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31163
|
+
localVarRequestOptions.data = serializeDataIfNeeded(helmCheckRequest, localVarRequestOptions, configuration)
|
|
31164
|
+
|
|
31165
|
+
return {
|
|
31166
|
+
url: toPathString(localVarUrlObj),
|
|
31167
|
+
options: localVarRequestOptions,
|
|
31168
|
+
};
|
|
31169
|
+
},
|
|
30978
31170
|
/**
|
|
30979
31171
|
* 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
31172
|
* @summary Deploy applications
|
|
@@ -31030,6 +31222,18 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
31030
31222
|
export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
31031
31223
|
const localVarAxiosParamCreator = EnvironmentApiAxiosParamCreator(configuration)
|
|
31032
31224
|
return {
|
|
31225
|
+
/**
|
|
31226
|
+
*
|
|
31227
|
+
* @summary Check container image configuration is correct
|
|
31228
|
+
* @param {string} environmentId Environment ID
|
|
31229
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
31230
|
+
* @param {*} [options] Override http request option.
|
|
31231
|
+
* @throws {RequiredError}
|
|
31232
|
+
*/
|
|
31233
|
+
async checkContainerImage(environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
31234
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkContainerImage(environmentId, containerImageCheckRequest, options);
|
|
31235
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31236
|
+
},
|
|
31033
31237
|
/**
|
|
31034
31238
|
*
|
|
31035
31239
|
* @summary Check dockerfile configuration is correct
|
|
@@ -31042,6 +31246,30 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
31042
31246
|
const localVarAxiosArgs = await localVarAxiosParamCreator.checkDockerfile(environmentId, dockerfileCheckRequest, options);
|
|
31043
31247
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31044
31248
|
},
|
|
31249
|
+
/**
|
|
31250
|
+
*
|
|
31251
|
+
* @summary Check git file configuration is correct
|
|
31252
|
+
* @param {string} environmentId Environment ID
|
|
31253
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
31254
|
+
* @param {*} [options] Override http request option.
|
|
31255
|
+
* @throws {RequiredError}
|
|
31256
|
+
*/
|
|
31257
|
+
async checkGitFile(environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
31258
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkGitFile(environmentId, gitFileCheckRequest, options);
|
|
31259
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31260
|
+
},
|
|
31261
|
+
/**
|
|
31262
|
+
*
|
|
31263
|
+
* @summary Check helm repository configuration is correct
|
|
31264
|
+
* @param {string} environmentId Environment ID
|
|
31265
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
31266
|
+
* @param {*} [options] Override http request option.
|
|
31267
|
+
* @throws {RequiredError}
|
|
31268
|
+
*/
|
|
31269
|
+
async checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
31270
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkHelmRepository(environmentId, helmCheckRequest, options);
|
|
31271
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31272
|
+
},
|
|
31045
31273
|
/**
|
|
31046
31274
|
* 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
31275
|
* @summary Deploy applications
|
|
@@ -31064,6 +31292,17 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
31064
31292
|
export const EnvironmentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
31065
31293
|
const localVarFp = EnvironmentApiFp(configuration)
|
|
31066
31294
|
return {
|
|
31295
|
+
/**
|
|
31296
|
+
*
|
|
31297
|
+
* @summary Check container image configuration is correct
|
|
31298
|
+
* @param {string} environmentId Environment ID
|
|
31299
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
31300
|
+
* @param {*} [options] Override http request option.
|
|
31301
|
+
* @throws {RequiredError}
|
|
31302
|
+
*/
|
|
31303
|
+
checkContainerImage(environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options?: any): AxiosPromise<object> {
|
|
31304
|
+
return localVarFp.checkContainerImage(environmentId, containerImageCheckRequest, options).then((request) => request(axios, basePath));
|
|
31305
|
+
},
|
|
31067
31306
|
/**
|
|
31068
31307
|
*
|
|
31069
31308
|
* @summary Check dockerfile configuration is correct
|
|
@@ -31075,6 +31314,28 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
31075
31314
|
checkDockerfile(environmentId: string, dockerfileCheckRequest?: DockerfileCheckRequest, options?: any): AxiosPromise<DockerfileCheckResponse> {
|
|
31076
31315
|
return localVarFp.checkDockerfile(environmentId, dockerfileCheckRequest, options).then((request) => request(axios, basePath));
|
|
31077
31316
|
},
|
|
31317
|
+
/**
|
|
31318
|
+
*
|
|
31319
|
+
* @summary Check git file configuration is correct
|
|
31320
|
+
* @param {string} environmentId Environment ID
|
|
31321
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
31322
|
+
* @param {*} [options] Override http request option.
|
|
31323
|
+
* @throws {RequiredError}
|
|
31324
|
+
*/
|
|
31325
|
+
checkGitFile(environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options?: any): AxiosPromise<object> {
|
|
31326
|
+
return localVarFp.checkGitFile(environmentId, gitFileCheckRequest, options).then((request) => request(axios, basePath));
|
|
31327
|
+
},
|
|
31328
|
+
/**
|
|
31329
|
+
*
|
|
31330
|
+
* @summary Check helm repository configuration is correct
|
|
31331
|
+
* @param {string} environmentId Environment ID
|
|
31332
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
31333
|
+
* @param {*} [options] Override http request option.
|
|
31334
|
+
* @throws {RequiredError}
|
|
31335
|
+
*/
|
|
31336
|
+
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: any): AxiosPromise<object> {
|
|
31337
|
+
return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
|
|
31338
|
+
},
|
|
31078
31339
|
/**
|
|
31079
31340
|
* 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
31341
|
* @summary Deploy applications
|
|
@@ -31096,6 +31357,19 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
31096
31357
|
* @extends {BaseAPI}
|
|
31097
31358
|
*/
|
|
31098
31359
|
export class EnvironmentApi extends BaseAPI {
|
|
31360
|
+
/**
|
|
31361
|
+
*
|
|
31362
|
+
* @summary Check container image configuration is correct
|
|
31363
|
+
* @param {string} environmentId Environment ID
|
|
31364
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
31365
|
+
* @param {*} [options] Override http request option.
|
|
31366
|
+
* @throws {RequiredError}
|
|
31367
|
+
* @memberof EnvironmentApi
|
|
31368
|
+
*/
|
|
31369
|
+
public checkContainerImage(environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options?: AxiosRequestConfig) {
|
|
31370
|
+
return EnvironmentApiFp(this.configuration).checkContainerImage(environmentId, containerImageCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31371
|
+
}
|
|
31372
|
+
|
|
31099
31373
|
/**
|
|
31100
31374
|
*
|
|
31101
31375
|
* @summary Check dockerfile configuration is correct
|
|
@@ -31109,6 +31383,32 @@ export class EnvironmentApi extends BaseAPI {
|
|
|
31109
31383
|
return EnvironmentApiFp(this.configuration).checkDockerfile(environmentId, dockerfileCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31110
31384
|
}
|
|
31111
31385
|
|
|
31386
|
+
/**
|
|
31387
|
+
*
|
|
31388
|
+
* @summary Check git file configuration is correct
|
|
31389
|
+
* @param {string} environmentId Environment ID
|
|
31390
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
31391
|
+
* @param {*} [options] Override http request option.
|
|
31392
|
+
* @throws {RequiredError}
|
|
31393
|
+
* @memberof EnvironmentApi
|
|
31394
|
+
*/
|
|
31395
|
+
public checkGitFile(environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options?: AxiosRequestConfig) {
|
|
31396
|
+
return EnvironmentApiFp(this.configuration).checkGitFile(environmentId, gitFileCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31397
|
+
}
|
|
31398
|
+
|
|
31399
|
+
/**
|
|
31400
|
+
*
|
|
31401
|
+
* @summary Check helm repository configuration is correct
|
|
31402
|
+
* @param {string} environmentId Environment ID
|
|
31403
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
31404
|
+
* @param {*} [options] Override http request option.
|
|
31405
|
+
* @throws {RequiredError}
|
|
31406
|
+
* @memberof EnvironmentApi
|
|
31407
|
+
*/
|
|
31408
|
+
public checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig) {
|
|
31409
|
+
return EnvironmentApiFp(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31410
|
+
}
|
|
31411
|
+
|
|
31112
31412
|
/**
|
|
31113
31413
|
* 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
31414
|
* @summary Deploy applications
|
package/dist/api.d.ts
CHANGED
|
@@ -3421,6 +3421,31 @@ export interface ContainerDeployRequest {
|
|
|
3421
3421
|
*/
|
|
3422
3422
|
'image_tag': string;
|
|
3423
3423
|
}
|
|
3424
|
+
/**
|
|
3425
|
+
*
|
|
3426
|
+
* @export
|
|
3427
|
+
* @interface ContainerImageCheckRequest
|
|
3428
|
+
*/
|
|
3429
|
+
export interface ContainerImageCheckRequest {
|
|
3430
|
+
/**
|
|
3431
|
+
*
|
|
3432
|
+
* @type {string}
|
|
3433
|
+
* @memberof ContainerImageCheckRequest
|
|
3434
|
+
*/
|
|
3435
|
+
'registry_id'?: string;
|
|
3436
|
+
/**
|
|
3437
|
+
*
|
|
3438
|
+
* @type {string}
|
|
3439
|
+
* @memberof ContainerImageCheckRequest
|
|
3440
|
+
*/
|
|
3441
|
+
'image_name': string;
|
|
3442
|
+
/**
|
|
3443
|
+
*
|
|
3444
|
+
* @type {string}
|
|
3445
|
+
* @memberof ContainerImageCheckRequest
|
|
3446
|
+
*/
|
|
3447
|
+
'tag': string;
|
|
3448
|
+
}
|
|
3424
3449
|
/**
|
|
3425
3450
|
*
|
|
3426
3451
|
* @export
|
|
@@ -6939,6 +6964,25 @@ export interface GitAuthProviderResponseList {
|
|
|
6939
6964
|
*/
|
|
6940
6965
|
'results'?: Array<GitAuthProvider>;
|
|
6941
6966
|
}
|
|
6967
|
+
/**
|
|
6968
|
+
*
|
|
6969
|
+
* @export
|
|
6970
|
+
* @interface GitFileCheckRequest
|
|
6971
|
+
*/
|
|
6972
|
+
export interface GitFileCheckRequest {
|
|
6973
|
+
/**
|
|
6974
|
+
*
|
|
6975
|
+
* @type {HelmGitRepositoryRequest}
|
|
6976
|
+
* @memberof GitFileCheckRequest
|
|
6977
|
+
*/
|
|
6978
|
+
'git_repository': HelmGitRepositoryRequest;
|
|
6979
|
+
/**
|
|
6980
|
+
*
|
|
6981
|
+
* @type {Array<string>}
|
|
6982
|
+
* @memberof GitFileCheckRequest
|
|
6983
|
+
*/
|
|
6984
|
+
'files': Array<string>;
|
|
6985
|
+
}
|
|
6942
6986
|
/**
|
|
6943
6987
|
*
|
|
6944
6988
|
* @export
|
|
@@ -7369,6 +7413,19 @@ export interface HelmAdvancedSettings {
|
|
|
7369
7413
|
*/
|
|
7370
7414
|
'network.ingress.enable_sticky_session'?: boolean;
|
|
7371
7415
|
}
|
|
7416
|
+
/**
|
|
7417
|
+
*
|
|
7418
|
+
* @export
|
|
7419
|
+
* @interface HelmCheckRequest
|
|
7420
|
+
*/
|
|
7421
|
+
export interface HelmCheckRequest {
|
|
7422
|
+
/**
|
|
7423
|
+
*
|
|
7424
|
+
* @type {HelmGitRepositoryRequest}
|
|
7425
|
+
* @memberof HelmCheckRequest
|
|
7426
|
+
*/
|
|
7427
|
+
'git_repository': HelmGitRepositoryRequest;
|
|
7428
|
+
}
|
|
7372
7429
|
/**
|
|
7373
7430
|
*
|
|
7374
7431
|
* @export
|
|
@@ -21509,6 +21566,15 @@ export declare class DeploymentStageMainCallsApi extends BaseAPI {
|
|
|
21509
21566
|
* @export
|
|
21510
21567
|
*/
|
|
21511
21568
|
export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21569
|
+
/**
|
|
21570
|
+
*
|
|
21571
|
+
* @summary Check container image configuration is correct
|
|
21572
|
+
* @param {string} environmentId Environment ID
|
|
21573
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
21574
|
+
* @param {*} [options] Override http request option.
|
|
21575
|
+
* @throws {RequiredError}
|
|
21576
|
+
*/
|
|
21577
|
+
checkContainerImage: (environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21512
21578
|
/**
|
|
21513
21579
|
*
|
|
21514
21580
|
* @summary Check dockerfile configuration is correct
|
|
@@ -21518,6 +21584,24 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
|
|
|
21518
21584
|
* @throws {RequiredError}
|
|
21519
21585
|
*/
|
|
21520
21586
|
checkDockerfile: (environmentId: string, dockerfileCheckRequest?: DockerfileCheckRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21587
|
+
/**
|
|
21588
|
+
*
|
|
21589
|
+
* @summary Check git file configuration is correct
|
|
21590
|
+
* @param {string} environmentId Environment ID
|
|
21591
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
21592
|
+
* @param {*} [options] Override http request option.
|
|
21593
|
+
* @throws {RequiredError}
|
|
21594
|
+
*/
|
|
21595
|
+
checkGitFile: (environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21596
|
+
/**
|
|
21597
|
+
*
|
|
21598
|
+
* @summary Check helm repository configuration is correct
|
|
21599
|
+
* @param {string} environmentId Environment ID
|
|
21600
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
21601
|
+
* @param {*} [options] Override http request option.
|
|
21602
|
+
* @throws {RequiredError}
|
|
21603
|
+
*/
|
|
21604
|
+
checkHelmRepository: (environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21521
21605
|
/**
|
|
21522
21606
|
* 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..)
|
|
21523
21607
|
* @summary Deploy applications
|
|
@@ -21533,6 +21617,15 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
|
|
|
21533
21617
|
* @export
|
|
21534
21618
|
*/
|
|
21535
21619
|
export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
21620
|
+
/**
|
|
21621
|
+
*
|
|
21622
|
+
* @summary Check container image configuration is correct
|
|
21623
|
+
* @param {string} environmentId Environment ID
|
|
21624
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
21625
|
+
* @param {*} [options] Override http request option.
|
|
21626
|
+
* @throws {RequiredError}
|
|
21627
|
+
*/
|
|
21628
|
+
checkContainerImage(environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
21536
21629
|
/**
|
|
21537
21630
|
*
|
|
21538
21631
|
* @summary Check dockerfile configuration is correct
|
|
@@ -21542,6 +21635,24 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
|
21542
21635
|
* @throws {RequiredError}
|
|
21543
21636
|
*/
|
|
21544
21637
|
checkDockerfile(environmentId: string, dockerfileCheckRequest?: DockerfileCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DockerfileCheckResponse>>;
|
|
21638
|
+
/**
|
|
21639
|
+
*
|
|
21640
|
+
* @summary Check git file configuration is correct
|
|
21641
|
+
* @param {string} environmentId Environment ID
|
|
21642
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
21643
|
+
* @param {*} [options] Override http request option.
|
|
21644
|
+
* @throws {RequiredError}
|
|
21645
|
+
*/
|
|
21646
|
+
checkGitFile(environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
21647
|
+
/**
|
|
21648
|
+
*
|
|
21649
|
+
* @summary Check helm repository configuration is correct
|
|
21650
|
+
* @param {string} environmentId Environment ID
|
|
21651
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
21652
|
+
* @param {*} [options] Override http request option.
|
|
21653
|
+
* @throws {RequiredError}
|
|
21654
|
+
*/
|
|
21655
|
+
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
21545
21656
|
/**
|
|
21546
21657
|
* 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..)
|
|
21547
21658
|
* @summary Deploy applications
|
|
@@ -21557,6 +21668,15 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
|
21557
21668
|
* @export
|
|
21558
21669
|
*/
|
|
21559
21670
|
export declare const EnvironmentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
21671
|
+
/**
|
|
21672
|
+
*
|
|
21673
|
+
* @summary Check container image configuration is correct
|
|
21674
|
+
* @param {string} environmentId Environment ID
|
|
21675
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
21676
|
+
* @param {*} [options] Override http request option.
|
|
21677
|
+
* @throws {RequiredError}
|
|
21678
|
+
*/
|
|
21679
|
+
checkContainerImage(environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options?: any): AxiosPromise<object>;
|
|
21560
21680
|
/**
|
|
21561
21681
|
*
|
|
21562
21682
|
* @summary Check dockerfile configuration is correct
|
|
@@ -21566,6 +21686,24 @@ export declare const EnvironmentApiFactory: (configuration?: Configuration, base
|
|
|
21566
21686
|
* @throws {RequiredError}
|
|
21567
21687
|
*/
|
|
21568
21688
|
checkDockerfile(environmentId: string, dockerfileCheckRequest?: DockerfileCheckRequest, options?: any): AxiosPromise<DockerfileCheckResponse>;
|
|
21689
|
+
/**
|
|
21690
|
+
*
|
|
21691
|
+
* @summary Check git file configuration is correct
|
|
21692
|
+
* @param {string} environmentId Environment ID
|
|
21693
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
21694
|
+
* @param {*} [options] Override http request option.
|
|
21695
|
+
* @throws {RequiredError}
|
|
21696
|
+
*/
|
|
21697
|
+
checkGitFile(environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options?: any): AxiosPromise<object>;
|
|
21698
|
+
/**
|
|
21699
|
+
*
|
|
21700
|
+
* @summary Check helm repository configuration is correct
|
|
21701
|
+
* @param {string} environmentId Environment ID
|
|
21702
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
21703
|
+
* @param {*} [options] Override http request option.
|
|
21704
|
+
* @throws {RequiredError}
|
|
21705
|
+
*/
|
|
21706
|
+
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: any): AxiosPromise<object>;
|
|
21569
21707
|
/**
|
|
21570
21708
|
* 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..)
|
|
21571
21709
|
* @summary Deploy applications
|
|
@@ -21583,6 +21721,16 @@ export declare const EnvironmentApiFactory: (configuration?: Configuration, base
|
|
|
21583
21721
|
* @extends {BaseAPI}
|
|
21584
21722
|
*/
|
|
21585
21723
|
export declare class EnvironmentApi extends BaseAPI {
|
|
21724
|
+
/**
|
|
21725
|
+
*
|
|
21726
|
+
* @summary Check container image configuration is correct
|
|
21727
|
+
* @param {string} environmentId Environment ID
|
|
21728
|
+
* @param {ContainerImageCheckRequest} [containerImageCheckRequest]
|
|
21729
|
+
* @param {*} [options] Override http request option.
|
|
21730
|
+
* @throws {RequiredError}
|
|
21731
|
+
* @memberof EnvironmentApi
|
|
21732
|
+
*/
|
|
21733
|
+
checkContainerImage(environmentId: string, containerImageCheckRequest?: ContainerImageCheckRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
21586
21734
|
/**
|
|
21587
21735
|
*
|
|
21588
21736
|
* @summary Check dockerfile configuration is correct
|
|
@@ -21593,6 +21741,26 @@ export declare class EnvironmentApi extends BaseAPI {
|
|
|
21593
21741
|
* @memberof EnvironmentApi
|
|
21594
21742
|
*/
|
|
21595
21743
|
checkDockerfile(environmentId: string, dockerfileCheckRequest?: DockerfileCheckRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DockerfileCheckResponse, any>>;
|
|
21744
|
+
/**
|
|
21745
|
+
*
|
|
21746
|
+
* @summary Check git file configuration is correct
|
|
21747
|
+
* @param {string} environmentId Environment ID
|
|
21748
|
+
* @param {GitFileCheckRequest} [gitFileCheckRequest]
|
|
21749
|
+
* @param {*} [options] Override http request option.
|
|
21750
|
+
* @throws {RequiredError}
|
|
21751
|
+
* @memberof EnvironmentApi
|
|
21752
|
+
*/
|
|
21753
|
+
checkGitFile(environmentId: string, gitFileCheckRequest?: GitFileCheckRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
21754
|
+
/**
|
|
21755
|
+
*
|
|
21756
|
+
* @summary Check helm repository configuration is correct
|
|
21757
|
+
* @param {string} environmentId Environment ID
|
|
21758
|
+
* @param {HelmCheckRequest} [helmCheckRequest]
|
|
21759
|
+
* @param {*} [options] Override http request option.
|
|
21760
|
+
* @throws {RequiredError}
|
|
21761
|
+
* @memberof EnvironmentApi
|
|
21762
|
+
*/
|
|
21763
|
+
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
21596
21764
|
/**
|
|
21597
21765
|
* 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..)
|
|
21598
21766
|
* @summary Deploy applications
|