qovery-typescript-axios 1.1.408 → 1.1.410
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 +543 -0
- package/dist/api.d.ts +279 -0
- package/dist/api.js +447 -0
- package/dist/esm/api.d.ts +279 -0
- package/dist/esm/api.js +447 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -5934,6 +5934,50 @@ export interface DoCredentialsRequest {
|
|
|
5934
5934
|
*/
|
|
5935
5935
|
'spaces_secret_key'?: string;
|
|
5936
5936
|
}
|
|
5937
|
+
/**
|
|
5938
|
+
*
|
|
5939
|
+
* @export
|
|
5940
|
+
* @interface DockerfileCheckRequest
|
|
5941
|
+
*/
|
|
5942
|
+
export interface DockerfileCheckRequest {
|
|
5943
|
+
/**
|
|
5944
|
+
*
|
|
5945
|
+
* @type {GitRepository}
|
|
5946
|
+
* @memberof DockerfileCheckRequest
|
|
5947
|
+
*/
|
|
5948
|
+
'git_repository': GitRepository;
|
|
5949
|
+
/**
|
|
5950
|
+
* path of the dockerfile with root_path as base path
|
|
5951
|
+
* @type {string}
|
|
5952
|
+
* @memberof DockerfileCheckRequest
|
|
5953
|
+
*/
|
|
5954
|
+
'dockerfile_path': string;
|
|
5955
|
+
}
|
|
5956
|
+
/**
|
|
5957
|
+
*
|
|
5958
|
+
* @export
|
|
5959
|
+
* @interface DockerfileCheckResponse
|
|
5960
|
+
*/
|
|
5961
|
+
export interface DockerfileCheckResponse {
|
|
5962
|
+
/**
|
|
5963
|
+
*
|
|
5964
|
+
* @type {string}
|
|
5965
|
+
* @memberof DockerfileCheckResponse
|
|
5966
|
+
*/
|
|
5967
|
+
'dockerfile_path': string;
|
|
5968
|
+
/**
|
|
5969
|
+
* All ARG variable declared in the Dockerfile
|
|
5970
|
+
* @type {Array<string>}
|
|
5971
|
+
* @memberof DockerfileCheckResponse
|
|
5972
|
+
*/
|
|
5973
|
+
'arg'?: Array<string>;
|
|
5974
|
+
/**
|
|
5975
|
+
* All image repositories we found declared in the Dockerfile
|
|
5976
|
+
* @type {Array<string>}
|
|
5977
|
+
* @memberof DockerfileCheckResponse
|
|
5978
|
+
*/
|
|
5979
|
+
'repositories'?: Array<string>;
|
|
5980
|
+
}
|
|
5937
5981
|
/**
|
|
5938
5982
|
*
|
|
5939
5983
|
* @export
|
|
@@ -9876,6 +9920,19 @@ export interface Name {
|
|
|
9876
9920
|
*/
|
|
9877
9921
|
'name': string;
|
|
9878
9922
|
}
|
|
9923
|
+
/**
|
|
9924
|
+
*
|
|
9925
|
+
* @export
|
|
9926
|
+
* @interface OnPremiseCredentialsRequest
|
|
9927
|
+
*/
|
|
9928
|
+
export interface OnPremiseCredentialsRequest {
|
|
9929
|
+
/**
|
|
9930
|
+
*
|
|
9931
|
+
* @type {string}
|
|
9932
|
+
* @memberof OnPremiseCredentialsRequest
|
|
9933
|
+
*/
|
|
9934
|
+
'name': string;
|
|
9935
|
+
}
|
|
9879
9936
|
/**
|
|
9880
9937
|
*
|
|
9881
9938
|
* @export
|
|
@@ -20434,6 +20491,51 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
20434
20491
|
options: localVarRequestOptions,
|
|
20435
20492
|
};
|
|
20436
20493
|
},
|
|
20494
|
+
/**
|
|
20495
|
+
*
|
|
20496
|
+
* @summary Create OnPremise credentials set
|
|
20497
|
+
* @param {string} organizationId Organization ID
|
|
20498
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
20499
|
+
* @param {*} [options] Override http request option.
|
|
20500
|
+
* @throws {RequiredError}
|
|
20501
|
+
*/
|
|
20502
|
+
createOnPremiseCredentials: async (organizationId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20503
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
20504
|
+
assertParamExists('createOnPremiseCredentials', 'organizationId', organizationId)
|
|
20505
|
+
const localVarPath = `/organization/{organizationId}/onPremise/credentials`
|
|
20506
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
20507
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20508
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20509
|
+
let baseOptions;
|
|
20510
|
+
if (configuration) {
|
|
20511
|
+
baseOptions = configuration.baseOptions;
|
|
20512
|
+
}
|
|
20513
|
+
|
|
20514
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
20515
|
+
const localVarHeaderParameter = {} as any;
|
|
20516
|
+
const localVarQueryParameter = {} as any;
|
|
20517
|
+
|
|
20518
|
+
// authentication ApiKeyAuth required
|
|
20519
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
20520
|
+
|
|
20521
|
+
// authentication bearerAuth required
|
|
20522
|
+
// http bearer authentication required
|
|
20523
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
20524
|
+
|
|
20525
|
+
|
|
20526
|
+
|
|
20527
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20528
|
+
|
|
20529
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20530
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20531
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20532
|
+
localVarRequestOptions.data = serializeDataIfNeeded(onPremiseCredentialsRequest, localVarRequestOptions, configuration)
|
|
20533
|
+
|
|
20534
|
+
return {
|
|
20535
|
+
url: toPathString(localVarUrlObj),
|
|
20536
|
+
options: localVarRequestOptions,
|
|
20537
|
+
};
|
|
20538
|
+
},
|
|
20437
20539
|
/**
|
|
20438
20540
|
*
|
|
20439
20541
|
* @summary Create Scaleway credentials set
|
|
@@ -20560,6 +20662,51 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
20560
20662
|
|
|
20561
20663
|
|
|
20562
20664
|
|
|
20665
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20666
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20667
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20668
|
+
|
|
20669
|
+
return {
|
|
20670
|
+
url: toPathString(localVarUrlObj),
|
|
20671
|
+
options: localVarRequestOptions,
|
|
20672
|
+
};
|
|
20673
|
+
},
|
|
20674
|
+
/**
|
|
20675
|
+
*
|
|
20676
|
+
* @summary Delete a set of OnPremise credentials
|
|
20677
|
+
* @param {string} credentialsId Credentials ID
|
|
20678
|
+
* @param {string} organizationId Organization ID
|
|
20679
|
+
* @param {*} [options] Override http request option.
|
|
20680
|
+
* @throws {RequiredError}
|
|
20681
|
+
*/
|
|
20682
|
+
deleteOnPremiseCredentials: async (credentialsId: string, organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20683
|
+
// verify required parameter 'credentialsId' is not null or undefined
|
|
20684
|
+
assertParamExists('deleteOnPremiseCredentials', 'credentialsId', credentialsId)
|
|
20685
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
20686
|
+
assertParamExists('deleteOnPremiseCredentials', 'organizationId', organizationId)
|
|
20687
|
+
const localVarPath = `/organization/{organizationId}/onPremise/credentials/{credentialsId}`
|
|
20688
|
+
.replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)))
|
|
20689
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
20690
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20691
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20692
|
+
let baseOptions;
|
|
20693
|
+
if (configuration) {
|
|
20694
|
+
baseOptions = configuration.baseOptions;
|
|
20695
|
+
}
|
|
20696
|
+
|
|
20697
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
20698
|
+
const localVarHeaderParameter = {} as any;
|
|
20699
|
+
const localVarQueryParameter = {} as any;
|
|
20700
|
+
|
|
20701
|
+
// authentication ApiKeyAuth required
|
|
20702
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
20703
|
+
|
|
20704
|
+
// authentication bearerAuth required
|
|
20705
|
+
// http bearer authentication required
|
|
20706
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
20707
|
+
|
|
20708
|
+
|
|
20709
|
+
|
|
20563
20710
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20564
20711
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20565
20712
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -20712,6 +20859,55 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
20712
20859
|
options: localVarRequestOptions,
|
|
20713
20860
|
};
|
|
20714
20861
|
},
|
|
20862
|
+
/**
|
|
20863
|
+
*
|
|
20864
|
+
* @summary Edit a set of OnPremise credentials
|
|
20865
|
+
* @param {string} organizationId Organization ID
|
|
20866
|
+
* @param {string} credentialsId Credentials ID
|
|
20867
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
20868
|
+
* @param {*} [options] Override http request option.
|
|
20869
|
+
* @throws {RequiredError}
|
|
20870
|
+
*/
|
|
20871
|
+
editOnPremiseCredentials: async (organizationId: string, credentialsId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
20872
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
20873
|
+
assertParamExists('editOnPremiseCredentials', 'organizationId', organizationId)
|
|
20874
|
+
// verify required parameter 'credentialsId' is not null or undefined
|
|
20875
|
+
assertParamExists('editOnPremiseCredentials', 'credentialsId', credentialsId)
|
|
20876
|
+
const localVarPath = `/organization/{organizationId}/onPremise/credentials/{credentialsId}`
|
|
20877
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
20878
|
+
.replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)));
|
|
20879
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20880
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20881
|
+
let baseOptions;
|
|
20882
|
+
if (configuration) {
|
|
20883
|
+
baseOptions = configuration.baseOptions;
|
|
20884
|
+
}
|
|
20885
|
+
|
|
20886
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
20887
|
+
const localVarHeaderParameter = {} as any;
|
|
20888
|
+
const localVarQueryParameter = {} as any;
|
|
20889
|
+
|
|
20890
|
+
// authentication ApiKeyAuth required
|
|
20891
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
20892
|
+
|
|
20893
|
+
// authentication bearerAuth required
|
|
20894
|
+
// http bearer authentication required
|
|
20895
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
20896
|
+
|
|
20897
|
+
|
|
20898
|
+
|
|
20899
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20900
|
+
|
|
20901
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20902
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20903
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
20904
|
+
localVarRequestOptions.data = serializeDataIfNeeded(onPremiseCredentialsRequest, localVarRequestOptions, configuration)
|
|
20905
|
+
|
|
20906
|
+
return {
|
|
20907
|
+
url: toPathString(localVarUrlObj),
|
|
20908
|
+
options: localVarRequestOptions,
|
|
20909
|
+
};
|
|
20910
|
+
},
|
|
20715
20911
|
/**
|
|
20716
20912
|
*
|
|
20717
20913
|
* @summary Edit a set of Scaleway credentials
|
|
@@ -20842,6 +21038,51 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
20842
21038
|
|
|
20843
21039
|
|
|
20844
21040
|
|
|
21041
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21042
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21043
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21044
|
+
|
|
21045
|
+
return {
|
|
21046
|
+
url: toPathString(localVarUrlObj),
|
|
21047
|
+
options: localVarRequestOptions,
|
|
21048
|
+
};
|
|
21049
|
+
},
|
|
21050
|
+
/**
|
|
21051
|
+
*
|
|
21052
|
+
* @summary Get a set of OnPremise credentials
|
|
21053
|
+
* @param {string} organizationId Organization ID
|
|
21054
|
+
* @param {string} credentialsId Credentials ID
|
|
21055
|
+
* @param {*} [options] Override http request option.
|
|
21056
|
+
* @throws {RequiredError}
|
|
21057
|
+
*/
|
|
21058
|
+
getOnPremiseCredentials: async (organizationId: string, credentialsId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21059
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
21060
|
+
assertParamExists('getOnPremiseCredentials', 'organizationId', organizationId)
|
|
21061
|
+
// verify required parameter 'credentialsId' is not null or undefined
|
|
21062
|
+
assertParamExists('getOnPremiseCredentials', 'credentialsId', credentialsId)
|
|
21063
|
+
const localVarPath = `/organization/{organizationId}/onPremise/credentials/{credentialsId}`
|
|
21064
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
21065
|
+
.replace(`{${"credentialsId"}}`, encodeURIComponent(String(credentialsId)));
|
|
21066
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21067
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21068
|
+
let baseOptions;
|
|
21069
|
+
if (configuration) {
|
|
21070
|
+
baseOptions = configuration.baseOptions;
|
|
21071
|
+
}
|
|
21072
|
+
|
|
21073
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21074
|
+
const localVarHeaderParameter = {} as any;
|
|
21075
|
+
const localVarQueryParameter = {} as any;
|
|
21076
|
+
|
|
21077
|
+
// authentication ApiKeyAuth required
|
|
21078
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
21079
|
+
|
|
21080
|
+
// authentication bearerAuth required
|
|
21081
|
+
// http bearer authentication required
|
|
21082
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21083
|
+
|
|
21084
|
+
|
|
21085
|
+
|
|
20845
21086
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20846
21087
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20847
21088
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -20969,6 +21210,47 @@ export const CloudProviderCredentialsApiAxiosParamCreator = function (configurat
|
|
|
20969
21210
|
|
|
20970
21211
|
|
|
20971
21212
|
|
|
21213
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21214
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21215
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21216
|
+
|
|
21217
|
+
return {
|
|
21218
|
+
url: toPathString(localVarUrlObj),
|
|
21219
|
+
options: localVarRequestOptions,
|
|
21220
|
+
};
|
|
21221
|
+
},
|
|
21222
|
+
/**
|
|
21223
|
+
*
|
|
21224
|
+
* @summary List OnPremise credentials
|
|
21225
|
+
* @param {string} organizationId Organization ID
|
|
21226
|
+
* @param {*} [options] Override http request option.
|
|
21227
|
+
* @throws {RequiredError}
|
|
21228
|
+
*/
|
|
21229
|
+
listOnPremiseCredentials: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21230
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
21231
|
+
assertParamExists('listOnPremiseCredentials', 'organizationId', organizationId)
|
|
21232
|
+
const localVarPath = `/organization/{organizationId}/onPremise/credentials`
|
|
21233
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
21234
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21235
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21236
|
+
let baseOptions;
|
|
21237
|
+
if (configuration) {
|
|
21238
|
+
baseOptions = configuration.baseOptions;
|
|
21239
|
+
}
|
|
21240
|
+
|
|
21241
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21242
|
+
const localVarHeaderParameter = {} as any;
|
|
21243
|
+
const localVarQueryParameter = {} as any;
|
|
21244
|
+
|
|
21245
|
+
// authentication ApiKeyAuth required
|
|
21246
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
21247
|
+
|
|
21248
|
+
// authentication bearerAuth required
|
|
21249
|
+
// http bearer authentication required
|
|
21250
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21251
|
+
|
|
21252
|
+
|
|
21253
|
+
|
|
20972
21254
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20973
21255
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20974
21256
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -21053,6 +21335,18 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
21053
21335
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createGcpCredentials(organizationId, gcpCredentialsRequest, options);
|
|
21054
21336
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21055
21337
|
},
|
|
21338
|
+
/**
|
|
21339
|
+
*
|
|
21340
|
+
* @summary Create OnPremise credentials set
|
|
21341
|
+
* @param {string} organizationId Organization ID
|
|
21342
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
21343
|
+
* @param {*} [options] Override http request option.
|
|
21344
|
+
* @throws {RequiredError}
|
|
21345
|
+
*/
|
|
21346
|
+
async createOnPremiseCredentials(organizationId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentials>> {
|
|
21347
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createOnPremiseCredentials(organizationId, onPremiseCredentialsRequest, options);
|
|
21348
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21349
|
+
},
|
|
21056
21350
|
/**
|
|
21057
21351
|
*
|
|
21058
21352
|
* @summary Create Scaleway credentials set
|
|
@@ -21089,6 +21383,18 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
21089
21383
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteGcpCredentials(credentialsId, organizationId, options);
|
|
21090
21384
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21091
21385
|
},
|
|
21386
|
+
/**
|
|
21387
|
+
*
|
|
21388
|
+
* @summary Delete a set of OnPremise credentials
|
|
21389
|
+
* @param {string} credentialsId Credentials ID
|
|
21390
|
+
* @param {string} organizationId Organization ID
|
|
21391
|
+
* @param {*} [options] Override http request option.
|
|
21392
|
+
* @throws {RequiredError}
|
|
21393
|
+
*/
|
|
21394
|
+
async deleteOnPremiseCredentials(credentialsId: string, organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21395
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOnPremiseCredentials(credentialsId, organizationId, options);
|
|
21396
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21397
|
+
},
|
|
21092
21398
|
/**
|
|
21093
21399
|
*
|
|
21094
21400
|
* @summary Delete a set of Scaleway credentials
|
|
@@ -21127,6 +21433,19 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
21127
21433
|
const localVarAxiosArgs = await localVarAxiosParamCreator.editGcpCredentials(organizationId, credentialsId, gcpCredentialsRequest, options);
|
|
21128
21434
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21129
21435
|
},
|
|
21436
|
+
/**
|
|
21437
|
+
*
|
|
21438
|
+
* @summary Edit a set of OnPremise credentials
|
|
21439
|
+
* @param {string} organizationId Organization ID
|
|
21440
|
+
* @param {string} credentialsId Credentials ID
|
|
21441
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
21442
|
+
* @param {*} [options] Override http request option.
|
|
21443
|
+
* @throws {RequiredError}
|
|
21444
|
+
*/
|
|
21445
|
+
async editOnPremiseCredentials(organizationId: string, credentialsId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentials>> {
|
|
21446
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editOnPremiseCredentials(organizationId, credentialsId, onPremiseCredentialsRequest, options);
|
|
21447
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21448
|
+
},
|
|
21130
21449
|
/**
|
|
21131
21450
|
*
|
|
21132
21451
|
* @summary Edit a set of Scaleway credentials
|
|
@@ -21164,6 +21483,18 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
21164
21483
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getGcpCredentials(organizationId, credentialsId, options);
|
|
21165
21484
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21166
21485
|
},
|
|
21486
|
+
/**
|
|
21487
|
+
*
|
|
21488
|
+
* @summary Get a set of OnPremise credentials
|
|
21489
|
+
* @param {string} organizationId Organization ID
|
|
21490
|
+
* @param {string} credentialsId Credentials ID
|
|
21491
|
+
* @param {*} [options] Override http request option.
|
|
21492
|
+
* @throws {RequiredError}
|
|
21493
|
+
*/
|
|
21494
|
+
async getOnPremiseCredentials(organizationId: string, credentialsId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentials>> {
|
|
21495
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOnPremiseCredentials(organizationId, credentialsId, options);
|
|
21496
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21497
|
+
},
|
|
21167
21498
|
/**
|
|
21168
21499
|
*
|
|
21169
21500
|
* @summary Get a set of Scaleway credentials
|
|
@@ -21198,6 +21529,17 @@ export const CloudProviderCredentialsApiFp = function(configuration?: Configurat
|
|
|
21198
21529
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listGcpCredentials(organizationId, options);
|
|
21199
21530
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21200
21531
|
},
|
|
21532
|
+
/**
|
|
21533
|
+
*
|
|
21534
|
+
* @summary List OnPremise credentials
|
|
21535
|
+
* @param {string} organizationId Organization ID
|
|
21536
|
+
* @param {*} [options] Override http request option.
|
|
21537
|
+
* @throws {RequiredError}
|
|
21538
|
+
*/
|
|
21539
|
+
async listOnPremiseCredentials(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterCredentialsResponseList>> {
|
|
21540
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOnPremiseCredentials(organizationId, options);
|
|
21541
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21542
|
+
},
|
|
21201
21543
|
/**
|
|
21202
21544
|
*
|
|
21203
21545
|
* @summary List Scaleway credentials
|
|
@@ -21241,6 +21583,17 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
21241
21583
|
createGcpCredentials(organizationId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
|
|
21242
21584
|
return localVarFp.createGcpCredentials(organizationId, gcpCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
21243
21585
|
},
|
|
21586
|
+
/**
|
|
21587
|
+
*
|
|
21588
|
+
* @summary Create OnPremise credentials set
|
|
21589
|
+
* @param {string} organizationId Organization ID
|
|
21590
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
21591
|
+
* @param {*} [options] Override http request option.
|
|
21592
|
+
* @throws {RequiredError}
|
|
21593
|
+
*/
|
|
21594
|
+
createOnPremiseCredentials(organizationId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
|
|
21595
|
+
return localVarFp.createOnPremiseCredentials(organizationId, onPremiseCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
21596
|
+
},
|
|
21244
21597
|
/**
|
|
21245
21598
|
*
|
|
21246
21599
|
* @summary Create Scaleway credentials set
|
|
@@ -21274,6 +21627,17 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
21274
21627
|
deleteGcpCredentials(credentialsId: string, organizationId: string, options?: any): AxiosPromise<void> {
|
|
21275
21628
|
return localVarFp.deleteGcpCredentials(credentialsId, organizationId, options).then((request) => request(axios, basePath));
|
|
21276
21629
|
},
|
|
21630
|
+
/**
|
|
21631
|
+
*
|
|
21632
|
+
* @summary Delete a set of OnPremise credentials
|
|
21633
|
+
* @param {string} credentialsId Credentials ID
|
|
21634
|
+
* @param {string} organizationId Organization ID
|
|
21635
|
+
* @param {*} [options] Override http request option.
|
|
21636
|
+
* @throws {RequiredError}
|
|
21637
|
+
*/
|
|
21638
|
+
deleteOnPremiseCredentials(credentialsId: string, organizationId: string, options?: any): AxiosPromise<void> {
|
|
21639
|
+
return localVarFp.deleteOnPremiseCredentials(credentialsId, organizationId, options).then((request) => request(axios, basePath));
|
|
21640
|
+
},
|
|
21277
21641
|
/**
|
|
21278
21642
|
*
|
|
21279
21643
|
* @summary Delete a set of Scaleway credentials
|
|
@@ -21309,6 +21673,18 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
21309
21673
|
editGcpCredentials(organizationId: string, credentialsId: string, gcpCredentialsRequest?: GcpCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
|
|
21310
21674
|
return localVarFp.editGcpCredentials(organizationId, credentialsId, gcpCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
21311
21675
|
},
|
|
21676
|
+
/**
|
|
21677
|
+
*
|
|
21678
|
+
* @summary Edit a set of OnPremise credentials
|
|
21679
|
+
* @param {string} organizationId Organization ID
|
|
21680
|
+
* @param {string} credentialsId Credentials ID
|
|
21681
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
21682
|
+
* @param {*} [options] Override http request option.
|
|
21683
|
+
* @throws {RequiredError}
|
|
21684
|
+
*/
|
|
21685
|
+
editOnPremiseCredentials(organizationId: string, credentialsId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options?: any): AxiosPromise<ClusterCredentials> {
|
|
21686
|
+
return localVarFp.editOnPremiseCredentials(organizationId, credentialsId, onPremiseCredentialsRequest, options).then((request) => request(axios, basePath));
|
|
21687
|
+
},
|
|
21312
21688
|
/**
|
|
21313
21689
|
*
|
|
21314
21690
|
* @summary Edit a set of Scaleway credentials
|
|
@@ -21343,6 +21719,17 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
21343
21719
|
getGcpCredentials(organizationId: string, credentialsId: string, options?: any): AxiosPromise<ClusterCredentials> {
|
|
21344
21720
|
return localVarFp.getGcpCredentials(organizationId, credentialsId, options).then((request) => request(axios, basePath));
|
|
21345
21721
|
},
|
|
21722
|
+
/**
|
|
21723
|
+
*
|
|
21724
|
+
* @summary Get a set of OnPremise credentials
|
|
21725
|
+
* @param {string} organizationId Organization ID
|
|
21726
|
+
* @param {string} credentialsId Credentials ID
|
|
21727
|
+
* @param {*} [options] Override http request option.
|
|
21728
|
+
* @throws {RequiredError}
|
|
21729
|
+
*/
|
|
21730
|
+
getOnPremiseCredentials(organizationId: string, credentialsId: string, options?: any): AxiosPromise<ClusterCredentials> {
|
|
21731
|
+
return localVarFp.getOnPremiseCredentials(organizationId, credentialsId, options).then((request) => request(axios, basePath));
|
|
21732
|
+
},
|
|
21346
21733
|
/**
|
|
21347
21734
|
*
|
|
21348
21735
|
* @summary Get a set of Scaleway credentials
|
|
@@ -21374,6 +21761,16 @@ export const CloudProviderCredentialsApiFactory = function (configuration?: Conf
|
|
|
21374
21761
|
listGcpCredentials(organizationId: string, options?: any): AxiosPromise<ClusterCredentialsResponseList> {
|
|
21375
21762
|
return localVarFp.listGcpCredentials(organizationId, options).then((request) => request(axios, basePath));
|
|
21376
21763
|
},
|
|
21764
|
+
/**
|
|
21765
|
+
*
|
|
21766
|
+
* @summary List OnPremise credentials
|
|
21767
|
+
* @param {string} organizationId Organization ID
|
|
21768
|
+
* @param {*} [options] Override http request option.
|
|
21769
|
+
* @throws {RequiredError}
|
|
21770
|
+
*/
|
|
21771
|
+
listOnPremiseCredentials(organizationId: string, options?: any): AxiosPromise<ClusterCredentialsResponseList> {
|
|
21772
|
+
return localVarFp.listOnPremiseCredentials(organizationId, options).then((request) => request(axios, basePath));
|
|
21773
|
+
},
|
|
21377
21774
|
/**
|
|
21378
21775
|
*
|
|
21379
21776
|
* @summary List Scaleway credentials
|
|
@@ -21420,6 +21817,19 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
21420
21817
|
return CloudProviderCredentialsApiFp(this.configuration).createGcpCredentials(organizationId, gcpCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21421
21818
|
}
|
|
21422
21819
|
|
|
21820
|
+
/**
|
|
21821
|
+
*
|
|
21822
|
+
* @summary Create OnPremise credentials set
|
|
21823
|
+
* @param {string} organizationId Organization ID
|
|
21824
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
21825
|
+
* @param {*} [options] Override http request option.
|
|
21826
|
+
* @throws {RequiredError}
|
|
21827
|
+
* @memberof CloudProviderCredentialsApi
|
|
21828
|
+
*/
|
|
21829
|
+
public createOnPremiseCredentials(organizationId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options?: AxiosRequestConfig) {
|
|
21830
|
+
return CloudProviderCredentialsApiFp(this.configuration).createOnPremiseCredentials(organizationId, onPremiseCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21831
|
+
}
|
|
21832
|
+
|
|
21423
21833
|
/**
|
|
21424
21834
|
*
|
|
21425
21835
|
* @summary Create Scaleway credentials set
|
|
@@ -21459,6 +21869,19 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
21459
21869
|
return CloudProviderCredentialsApiFp(this.configuration).deleteGcpCredentials(credentialsId, organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
21460
21870
|
}
|
|
21461
21871
|
|
|
21872
|
+
/**
|
|
21873
|
+
*
|
|
21874
|
+
* @summary Delete a set of OnPremise credentials
|
|
21875
|
+
* @param {string} credentialsId Credentials ID
|
|
21876
|
+
* @param {string} organizationId Organization ID
|
|
21877
|
+
* @param {*} [options] Override http request option.
|
|
21878
|
+
* @throws {RequiredError}
|
|
21879
|
+
* @memberof CloudProviderCredentialsApi
|
|
21880
|
+
*/
|
|
21881
|
+
public deleteOnPremiseCredentials(credentialsId: string, organizationId: string, options?: AxiosRequestConfig) {
|
|
21882
|
+
return CloudProviderCredentialsApiFp(this.configuration).deleteOnPremiseCredentials(credentialsId, organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
21883
|
+
}
|
|
21884
|
+
|
|
21462
21885
|
/**
|
|
21463
21886
|
*
|
|
21464
21887
|
* @summary Delete a set of Scaleway credentials
|
|
@@ -21500,6 +21923,20 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
21500
21923
|
return CloudProviderCredentialsApiFp(this.configuration).editGcpCredentials(organizationId, credentialsId, gcpCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21501
21924
|
}
|
|
21502
21925
|
|
|
21926
|
+
/**
|
|
21927
|
+
*
|
|
21928
|
+
* @summary Edit a set of OnPremise credentials
|
|
21929
|
+
* @param {string} organizationId Organization ID
|
|
21930
|
+
* @param {string} credentialsId Credentials ID
|
|
21931
|
+
* @param {OnPremiseCredentialsRequest} [onPremiseCredentialsRequest]
|
|
21932
|
+
* @param {*} [options] Override http request option.
|
|
21933
|
+
* @throws {RequiredError}
|
|
21934
|
+
* @memberof CloudProviderCredentialsApi
|
|
21935
|
+
*/
|
|
21936
|
+
public editOnPremiseCredentials(organizationId: string, credentialsId: string, onPremiseCredentialsRequest?: OnPremiseCredentialsRequest, options?: AxiosRequestConfig) {
|
|
21937
|
+
return CloudProviderCredentialsApiFp(this.configuration).editOnPremiseCredentials(organizationId, credentialsId, onPremiseCredentialsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
21938
|
+
}
|
|
21939
|
+
|
|
21503
21940
|
/**
|
|
21504
21941
|
*
|
|
21505
21942
|
* @summary Edit a set of Scaleway credentials
|
|
@@ -21540,6 +21977,19 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
21540
21977
|
return CloudProviderCredentialsApiFp(this.configuration).getGcpCredentials(organizationId, credentialsId, options).then((request) => request(this.axios, this.basePath));
|
|
21541
21978
|
}
|
|
21542
21979
|
|
|
21980
|
+
/**
|
|
21981
|
+
*
|
|
21982
|
+
* @summary Get a set of OnPremise credentials
|
|
21983
|
+
* @param {string} organizationId Organization ID
|
|
21984
|
+
* @param {string} credentialsId Credentials ID
|
|
21985
|
+
* @param {*} [options] Override http request option.
|
|
21986
|
+
* @throws {RequiredError}
|
|
21987
|
+
* @memberof CloudProviderCredentialsApi
|
|
21988
|
+
*/
|
|
21989
|
+
public getOnPremiseCredentials(organizationId: string, credentialsId: string, options?: AxiosRequestConfig) {
|
|
21990
|
+
return CloudProviderCredentialsApiFp(this.configuration).getOnPremiseCredentials(organizationId, credentialsId, options).then((request) => request(this.axios, this.basePath));
|
|
21991
|
+
}
|
|
21992
|
+
|
|
21543
21993
|
/**
|
|
21544
21994
|
*
|
|
21545
21995
|
* @summary Get a set of Scaleway credentials
|
|
@@ -21577,6 +22027,18 @@ export class CloudProviderCredentialsApi extends BaseAPI {
|
|
|
21577
22027
|
return CloudProviderCredentialsApiFp(this.configuration).listGcpCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
21578
22028
|
}
|
|
21579
22029
|
|
|
22030
|
+
/**
|
|
22031
|
+
*
|
|
22032
|
+
* @summary List OnPremise credentials
|
|
22033
|
+
* @param {string} organizationId Organization ID
|
|
22034
|
+
* @param {*} [options] Override http request option.
|
|
22035
|
+
* @throws {RequiredError}
|
|
22036
|
+
* @memberof CloudProviderCredentialsApi
|
|
22037
|
+
*/
|
|
22038
|
+
public listOnPremiseCredentials(organizationId: string, options?: AxiosRequestConfig) {
|
|
22039
|
+
return CloudProviderCredentialsApiFp(this.configuration).listOnPremiseCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
22040
|
+
}
|
|
22041
|
+
|
|
21580
22042
|
/**
|
|
21581
22043
|
*
|
|
21582
22044
|
* @summary List Scaleway credentials
|
|
@@ -30210,6 +30672,51 @@ export class DeploymentStageMainCallsApi extends BaseAPI {
|
|
|
30210
30672
|
*/
|
|
30211
30673
|
export const EnvironmentApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30212
30674
|
return {
|
|
30675
|
+
/**
|
|
30676
|
+
*
|
|
30677
|
+
* @summary Check dockerfile configuration is correct
|
|
30678
|
+
* @param {string} environmentId Environment ID
|
|
30679
|
+
* @param {DockerfileCheckRequest} [dockerfileCheckRequest]
|
|
30680
|
+
* @param {*} [options] Override http request option.
|
|
30681
|
+
* @throws {RequiredError}
|
|
30682
|
+
*/
|
|
30683
|
+
checkDockerfile: async (environmentId: string, dockerfileCheckRequest?: DockerfileCheckRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30684
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
30685
|
+
assertParamExists('checkDockerfile', 'environmentId', environmentId)
|
|
30686
|
+
const localVarPath = `/environment/{environmentId}/checkDockerfile`
|
|
30687
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
30688
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30689
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30690
|
+
let baseOptions;
|
|
30691
|
+
if (configuration) {
|
|
30692
|
+
baseOptions = configuration.baseOptions;
|
|
30693
|
+
}
|
|
30694
|
+
|
|
30695
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30696
|
+
const localVarHeaderParameter = {} as any;
|
|
30697
|
+
const localVarQueryParameter = {} as any;
|
|
30698
|
+
|
|
30699
|
+
// authentication ApiKeyAuth required
|
|
30700
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
30701
|
+
|
|
30702
|
+
// authentication bearerAuth required
|
|
30703
|
+
// http bearer authentication required
|
|
30704
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30705
|
+
|
|
30706
|
+
|
|
30707
|
+
|
|
30708
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30709
|
+
|
|
30710
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30711
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30712
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30713
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dockerfileCheckRequest, localVarRequestOptions, configuration)
|
|
30714
|
+
|
|
30715
|
+
return {
|
|
30716
|
+
url: toPathString(localVarUrlObj),
|
|
30717
|
+
options: localVarRequestOptions,
|
|
30718
|
+
};
|
|
30719
|
+
},
|
|
30213
30720
|
/**
|
|
30214
30721
|
* 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..)
|
|
30215
30722
|
* @summary Deploy applications
|
|
@@ -30265,6 +30772,18 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
30265
30772
|
export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
30266
30773
|
const localVarAxiosParamCreator = EnvironmentApiAxiosParamCreator(configuration)
|
|
30267
30774
|
return {
|
|
30775
|
+
/**
|
|
30776
|
+
*
|
|
30777
|
+
* @summary Check dockerfile configuration is correct
|
|
30778
|
+
* @param {string} environmentId Environment ID
|
|
30779
|
+
* @param {DockerfileCheckRequest} [dockerfileCheckRequest]
|
|
30780
|
+
* @param {*} [options] Override http request option.
|
|
30781
|
+
* @throws {RequiredError}
|
|
30782
|
+
*/
|
|
30783
|
+
async checkDockerfile(environmentId: string, dockerfileCheckRequest?: DockerfileCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DockerfileCheckResponse>> {
|
|
30784
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkDockerfile(environmentId, dockerfileCheckRequest, options);
|
|
30785
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30786
|
+
},
|
|
30268
30787
|
/**
|
|
30269
30788
|
* 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..)
|
|
30270
30789
|
* @summary Deploy applications
|
|
@@ -30287,6 +30806,17 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
30287
30806
|
export const EnvironmentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
30288
30807
|
const localVarFp = EnvironmentApiFp(configuration)
|
|
30289
30808
|
return {
|
|
30809
|
+
/**
|
|
30810
|
+
*
|
|
30811
|
+
* @summary Check dockerfile configuration is correct
|
|
30812
|
+
* @param {string} environmentId Environment ID
|
|
30813
|
+
* @param {DockerfileCheckRequest} [dockerfileCheckRequest]
|
|
30814
|
+
* @param {*} [options] Override http request option.
|
|
30815
|
+
* @throws {RequiredError}
|
|
30816
|
+
*/
|
|
30817
|
+
checkDockerfile(environmentId: string, dockerfileCheckRequest?: DockerfileCheckRequest, options?: any): AxiosPromise<DockerfileCheckResponse> {
|
|
30818
|
+
return localVarFp.checkDockerfile(environmentId, dockerfileCheckRequest, options).then((request) => request(axios, basePath));
|
|
30819
|
+
},
|
|
30290
30820
|
/**
|
|
30291
30821
|
* 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..)
|
|
30292
30822
|
* @summary Deploy applications
|
|
@@ -30308,6 +30838,19 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
30308
30838
|
* @extends {BaseAPI}
|
|
30309
30839
|
*/
|
|
30310
30840
|
export class EnvironmentApi extends BaseAPI {
|
|
30841
|
+
/**
|
|
30842
|
+
*
|
|
30843
|
+
* @summary Check dockerfile configuration is correct
|
|
30844
|
+
* @param {string} environmentId Environment ID
|
|
30845
|
+
* @param {DockerfileCheckRequest} [dockerfileCheckRequest]
|
|
30846
|
+
* @param {*} [options] Override http request option.
|
|
30847
|
+
* @throws {RequiredError}
|
|
30848
|
+
* @memberof EnvironmentApi
|
|
30849
|
+
*/
|
|
30850
|
+
public checkDockerfile(environmentId: string, dockerfileCheckRequest?: DockerfileCheckRequest, options?: AxiosRequestConfig) {
|
|
30851
|
+
return EnvironmentApiFp(this.configuration).checkDockerfile(environmentId, dockerfileCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30852
|
+
}
|
|
30853
|
+
|
|
30311
30854
|
/**
|
|
30312
30855
|
* 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..)
|
|
30313
30856
|
* @summary Deploy applications
|