qovery-typescript-axios 1.1.321 → 1.1.323
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 +129 -91
- package/dist/api.d.ts +85 -47
- package/dist/api.js +74 -74
- package/dist/esm/api.d.ts +85 -47
- package/dist/esm/api.js +74 -74
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -7069,6 +7069,12 @@ export interface EnvironmentStatuses {
|
|
|
7069
7069
|
* @memberof EnvironmentStatuses
|
|
7070
7070
|
*/
|
|
7071
7071
|
'databases'?: Array<Status>;
|
|
7072
|
+
/**
|
|
7073
|
+
*
|
|
7074
|
+
* @type {Array<Status>}
|
|
7075
|
+
* @memberof EnvironmentStatuses
|
|
7076
|
+
*/
|
|
7077
|
+
'helms'?: Array<Status>;
|
|
7072
7078
|
}
|
|
7073
7079
|
/**
|
|
7074
7080
|
*
|
|
@@ -8529,19 +8535,19 @@ export interface HelmResponseAllOfSourceOneOf1Repository {
|
|
|
8529
8535
|
* @type {string}
|
|
8530
8536
|
* @memberof HelmResponseAllOfSourceOneOf1Repository
|
|
8531
8537
|
*/
|
|
8532
|
-
'chart_name'
|
|
8538
|
+
'chart_name': string;
|
|
8533
8539
|
/**
|
|
8534
8540
|
* The version of the chart to use
|
|
8535
8541
|
* @type {string}
|
|
8536
8542
|
* @memberof HelmResponseAllOfSourceOneOf1Repository
|
|
8537
8543
|
*/
|
|
8538
|
-
'chart_version'
|
|
8544
|
+
'chart_version': string;
|
|
8539
8545
|
/**
|
|
8540
8546
|
*
|
|
8541
8547
|
* @type {HelmResponseAllOfSourceOneOf1RepositoryRepository}
|
|
8542
8548
|
* @memberof HelmResponseAllOfSourceOneOf1Repository
|
|
8543
8549
|
*/
|
|
8544
|
-
'repository'
|
|
8550
|
+
'repository': HelmResponseAllOfSourceOneOf1RepositoryRepository;
|
|
8545
8551
|
}
|
|
8546
8552
|
/**
|
|
8547
8553
|
*
|
|
@@ -8554,19 +8560,19 @@ export interface HelmResponseAllOfSourceOneOf1RepositoryRepository {
|
|
|
8554
8560
|
* @type {string}
|
|
8555
8561
|
* @memberof HelmResponseAllOfSourceOneOf1RepositoryRepository
|
|
8556
8562
|
*/
|
|
8557
|
-
'id'
|
|
8563
|
+
'id': string;
|
|
8558
8564
|
/**
|
|
8559
8565
|
* The name of the helm repository
|
|
8560
8566
|
* @type {string}
|
|
8561
8567
|
* @memberof HelmResponseAllOfSourceOneOf1RepositoryRepository
|
|
8562
8568
|
*/
|
|
8563
|
-
'name'
|
|
8569
|
+
'name': string;
|
|
8564
8570
|
/**
|
|
8565
8571
|
* The url the helm repository
|
|
8566
8572
|
* @type {string}
|
|
8567
8573
|
* @memberof HelmResponseAllOfSourceOneOf1RepositoryRepository
|
|
8568
8574
|
*/
|
|
8569
|
-
'url'
|
|
8575
|
+
'url': string;
|
|
8570
8576
|
}
|
|
8571
8577
|
/**
|
|
8572
8578
|
*
|
|
@@ -8620,10 +8626,10 @@ export interface HelmResponseAllOfValuesOverride {
|
|
|
8620
8626
|
export interface HelmResponseAllOfValuesOverrideFile {
|
|
8621
8627
|
/**
|
|
8622
8628
|
*
|
|
8623
|
-
* @type {
|
|
8629
|
+
* @type {HelmResponseAllOfValuesOverrideFileRaw}
|
|
8624
8630
|
* @memberof HelmResponseAllOfValuesOverrideFile
|
|
8625
8631
|
*/
|
|
8626
|
-
'raw'?:
|
|
8632
|
+
'raw'?: HelmResponseAllOfValuesOverrideFileRaw | null;
|
|
8627
8633
|
/**
|
|
8628
8634
|
*
|
|
8629
8635
|
* @type {HelmResponseAllOfValuesOverrideFileGit}
|
|
@@ -8642,13 +8648,45 @@ export interface HelmResponseAllOfValuesOverrideFileGit {
|
|
|
8642
8648
|
* @type {ApplicationGitRepositoryRequest}
|
|
8643
8649
|
* @memberof HelmResponseAllOfValuesOverrideFileGit
|
|
8644
8650
|
*/
|
|
8645
|
-
'git_repository'
|
|
8651
|
+
'git_repository': ApplicationGitRepositoryRequest;
|
|
8646
8652
|
/**
|
|
8647
8653
|
* List of path inside your git repository to locate values file. Must start by a /
|
|
8648
8654
|
* @type {Array<string>}
|
|
8649
8655
|
* @memberof HelmResponseAllOfValuesOverrideFileGit
|
|
8650
8656
|
*/
|
|
8651
|
-
'paths'
|
|
8657
|
+
'paths': Array<string>;
|
|
8658
|
+
}
|
|
8659
|
+
/**
|
|
8660
|
+
*
|
|
8661
|
+
* @export
|
|
8662
|
+
* @interface HelmResponseAllOfValuesOverrideFileRaw
|
|
8663
|
+
*/
|
|
8664
|
+
export interface HelmResponseAllOfValuesOverrideFileRaw {
|
|
8665
|
+
/**
|
|
8666
|
+
*
|
|
8667
|
+
* @type {Array<HelmResponseAllOfValuesOverrideFileRawValues>}
|
|
8668
|
+
* @memberof HelmResponseAllOfValuesOverrideFileRaw
|
|
8669
|
+
*/
|
|
8670
|
+
'values': Array<HelmResponseAllOfValuesOverrideFileRawValues>;
|
|
8671
|
+
}
|
|
8672
|
+
/**
|
|
8673
|
+
*
|
|
8674
|
+
* @export
|
|
8675
|
+
* @interface HelmResponseAllOfValuesOverrideFileRawValues
|
|
8676
|
+
*/
|
|
8677
|
+
export interface HelmResponseAllOfValuesOverrideFileRawValues {
|
|
8678
|
+
/**
|
|
8679
|
+
* The name of the value file
|
|
8680
|
+
* @type {string}
|
|
8681
|
+
* @memberof HelmResponseAllOfValuesOverrideFileRawValues
|
|
8682
|
+
*/
|
|
8683
|
+
'name': string;
|
|
8684
|
+
/**
|
|
8685
|
+
* The content of the value file
|
|
8686
|
+
* @type {string}
|
|
8687
|
+
* @memberof HelmResponseAllOfValuesOverrideFileRawValues
|
|
8688
|
+
*/
|
|
8689
|
+
'content': string;
|
|
8652
8690
|
}
|
|
8653
8691
|
/**
|
|
8654
8692
|
*
|
|
@@ -28749,51 +28787,6 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
28749
28787
|
|
|
28750
28788
|
|
|
28751
28789
|
|
|
28752
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28753
|
-
|
|
28754
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28755
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28756
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28757
|
-
localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
|
|
28758
|
-
|
|
28759
|
-
return {
|
|
28760
|
-
url: toPathString(localVarUrlObj),
|
|
28761
|
-
options: localVarRequestOptions,
|
|
28762
|
-
};
|
|
28763
|
-
},
|
|
28764
|
-
/**
|
|
28765
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
28766
|
-
* @summary Clone helm
|
|
28767
|
-
* @param {string} helmId Helm ID
|
|
28768
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
28769
|
-
* @param {*} [options] Override http request option.
|
|
28770
|
-
* @throws {RequiredError}
|
|
28771
|
-
*/
|
|
28772
|
-
cloneHelm: async (helmId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28773
|
-
// verify required parameter 'helmId' is not null or undefined
|
|
28774
|
-
assertParamExists('cloneHelm', 'helmId', helmId)
|
|
28775
|
-
const localVarPath = `/helm/{helmId}/clone`
|
|
28776
|
-
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
28777
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28778
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28779
|
-
let baseOptions;
|
|
28780
|
-
if (configuration) {
|
|
28781
|
-
baseOptions = configuration.baseOptions;
|
|
28782
|
-
}
|
|
28783
|
-
|
|
28784
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
28785
|
-
const localVarHeaderParameter = {} as any;
|
|
28786
|
-
const localVarQueryParameter = {} as any;
|
|
28787
|
-
|
|
28788
|
-
// authentication ApiKeyAuth required
|
|
28789
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
28790
|
-
|
|
28791
|
-
// authentication bearerAuth required
|
|
28792
|
-
// http bearer authentication required
|
|
28793
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28794
|
-
|
|
28795
|
-
|
|
28796
|
-
|
|
28797
28790
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28798
28791
|
|
|
28799
28792
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -29176,18 +29169,6 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
29176
29169
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneContainer(containerId, cloneServiceRequest, options);
|
|
29177
29170
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29178
29171
|
},
|
|
29179
|
-
/**
|
|
29180
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
29181
|
-
* @summary Clone helm
|
|
29182
|
-
* @param {string} helmId Helm ID
|
|
29183
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
29184
|
-
* @param {*} [options] Override http request option.
|
|
29185
|
-
* @throws {RequiredError}
|
|
29186
|
-
*/
|
|
29187
|
-
async cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>> {
|
|
29188
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
|
|
29189
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29190
|
-
},
|
|
29191
29172
|
/**
|
|
29192
29173
|
*
|
|
29193
29174
|
* @summary Create a container
|
|
@@ -29310,17 +29291,6 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
29310
29291
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse> {
|
|
29311
29292
|
return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
29312
29293
|
},
|
|
29313
|
-
/**
|
|
29314
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
29315
|
-
* @summary Clone helm
|
|
29316
|
-
* @param {string} helmId Helm ID
|
|
29317
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
29318
|
-
* @param {*} [options] Override http request option.
|
|
29319
|
-
* @throws {RequiredError}
|
|
29320
|
-
*/
|
|
29321
|
-
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse> {
|
|
29322
|
-
return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
29323
|
-
},
|
|
29324
29294
|
/**
|
|
29325
29295
|
*
|
|
29326
29296
|
* @summary Create a container
|
|
@@ -29439,19 +29409,6 @@ export class ContainersApi extends BaseAPI {
|
|
|
29439
29409
|
return ContainersApiFp(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29440
29410
|
}
|
|
29441
29411
|
|
|
29442
|
-
/**
|
|
29443
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
29444
|
-
* @summary Clone helm
|
|
29445
|
-
* @param {string} helmId Helm ID
|
|
29446
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
29447
|
-
* @param {*} [options] Override http request option.
|
|
29448
|
-
* @throws {RequiredError}
|
|
29449
|
-
* @memberof ContainersApi
|
|
29450
|
-
*/
|
|
29451
|
-
public cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) {
|
|
29452
|
-
return ContainersApiFp(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29453
|
-
}
|
|
29454
|
-
|
|
29455
29412
|
/**
|
|
29456
29413
|
*
|
|
29457
29414
|
* @summary Create a container
|
|
@@ -39383,6 +39340,51 @@ export class HelmRepositoriesApi extends BaseAPI {
|
|
|
39383
39340
|
*/
|
|
39384
39341
|
export const HelmsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
39385
39342
|
return {
|
|
39343
|
+
/**
|
|
39344
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
39345
|
+
* @summary Clone helm
|
|
39346
|
+
* @param {string} helmId Helm ID
|
|
39347
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
39348
|
+
* @param {*} [options] Override http request option.
|
|
39349
|
+
* @throws {RequiredError}
|
|
39350
|
+
*/
|
|
39351
|
+
cloneHelm: async (helmId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39352
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
39353
|
+
assertParamExists('cloneHelm', 'helmId', helmId)
|
|
39354
|
+
const localVarPath = `/helm/{helmId}/clone`
|
|
39355
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
39356
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39357
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39358
|
+
let baseOptions;
|
|
39359
|
+
if (configuration) {
|
|
39360
|
+
baseOptions = configuration.baseOptions;
|
|
39361
|
+
}
|
|
39362
|
+
|
|
39363
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
39364
|
+
const localVarHeaderParameter = {} as any;
|
|
39365
|
+
const localVarQueryParameter = {} as any;
|
|
39366
|
+
|
|
39367
|
+
// authentication ApiKeyAuth required
|
|
39368
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
39369
|
+
|
|
39370
|
+
// authentication bearerAuth required
|
|
39371
|
+
// http bearer authentication required
|
|
39372
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
39373
|
+
|
|
39374
|
+
|
|
39375
|
+
|
|
39376
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
39377
|
+
|
|
39378
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39379
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39380
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
39381
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
|
|
39382
|
+
|
|
39383
|
+
return {
|
|
39384
|
+
url: toPathString(localVarUrlObj),
|
|
39385
|
+
options: localVarRequestOptions,
|
|
39386
|
+
};
|
|
39387
|
+
},
|
|
39386
39388
|
/**
|
|
39387
39389
|
*
|
|
39388
39390
|
* @summary Create a helm
|
|
@@ -39565,6 +39567,18 @@ export const HelmsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
39565
39567
|
export const HelmsApiFp = function(configuration?: Configuration) {
|
|
39566
39568
|
const localVarAxiosParamCreator = HelmsApiAxiosParamCreator(configuration)
|
|
39567
39569
|
return {
|
|
39570
|
+
/**
|
|
39571
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
39572
|
+
* @summary Clone helm
|
|
39573
|
+
* @param {string} helmId Helm ID
|
|
39574
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
39575
|
+
* @param {*} [options] Override http request option.
|
|
39576
|
+
* @throws {RequiredError}
|
|
39577
|
+
*/
|
|
39578
|
+
async cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>> {
|
|
39579
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
|
|
39580
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
39581
|
+
},
|
|
39568
39582
|
/**
|
|
39569
39583
|
*
|
|
39570
39584
|
* @summary Create a helm
|
|
@@ -39621,6 +39635,17 @@ export const HelmsApiFp = function(configuration?: Configuration) {
|
|
|
39621
39635
|
export const HelmsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
39622
39636
|
const localVarFp = HelmsApiFp(configuration)
|
|
39623
39637
|
return {
|
|
39638
|
+
/**
|
|
39639
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
39640
|
+
* @summary Clone helm
|
|
39641
|
+
* @param {string} helmId Helm ID
|
|
39642
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
39643
|
+
* @param {*} [options] Override http request option.
|
|
39644
|
+
* @throws {RequiredError}
|
|
39645
|
+
*/
|
|
39646
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse> {
|
|
39647
|
+
return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
39648
|
+
},
|
|
39624
39649
|
/**
|
|
39625
39650
|
*
|
|
39626
39651
|
* @summary Create a helm
|
|
@@ -39673,6 +39698,19 @@ export const HelmsApiFactory = function (configuration?: Configuration, basePath
|
|
|
39673
39698
|
* @extends {BaseAPI}
|
|
39674
39699
|
*/
|
|
39675
39700
|
export class HelmsApi extends BaseAPI {
|
|
39701
|
+
/**
|
|
39702
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
39703
|
+
* @summary Clone helm
|
|
39704
|
+
* @param {string} helmId Helm ID
|
|
39705
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
39706
|
+
* @param {*} [options] Override http request option.
|
|
39707
|
+
* @throws {RequiredError}
|
|
39708
|
+
* @memberof HelmsApi
|
|
39709
|
+
*/
|
|
39710
|
+
public cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) {
|
|
39711
|
+
return HelmsApiFp(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
39712
|
+
}
|
|
39713
|
+
|
|
39676
39714
|
/**
|
|
39677
39715
|
*
|
|
39678
39716
|
* @summary Create a helm
|
package/dist/api.d.ts
CHANGED
|
@@ -6864,6 +6864,12 @@ export interface EnvironmentStatuses {
|
|
|
6864
6864
|
* @memberof EnvironmentStatuses
|
|
6865
6865
|
*/
|
|
6866
6866
|
'databases'?: Array<Status>;
|
|
6867
|
+
/**
|
|
6868
|
+
*
|
|
6869
|
+
* @type {Array<Status>}
|
|
6870
|
+
* @memberof EnvironmentStatuses
|
|
6871
|
+
*/
|
|
6872
|
+
'helms'?: Array<Status>;
|
|
6867
6873
|
}
|
|
6868
6874
|
/**
|
|
6869
6875
|
*
|
|
@@ -8278,19 +8284,19 @@ export interface HelmResponseAllOfSourceOneOf1Repository {
|
|
|
8278
8284
|
* @type {string}
|
|
8279
8285
|
* @memberof HelmResponseAllOfSourceOneOf1Repository
|
|
8280
8286
|
*/
|
|
8281
|
-
'chart_name'
|
|
8287
|
+
'chart_name': string;
|
|
8282
8288
|
/**
|
|
8283
8289
|
* The version of the chart to use
|
|
8284
8290
|
* @type {string}
|
|
8285
8291
|
* @memberof HelmResponseAllOfSourceOneOf1Repository
|
|
8286
8292
|
*/
|
|
8287
|
-
'chart_version'
|
|
8293
|
+
'chart_version': string;
|
|
8288
8294
|
/**
|
|
8289
8295
|
*
|
|
8290
8296
|
* @type {HelmResponseAllOfSourceOneOf1RepositoryRepository}
|
|
8291
8297
|
* @memberof HelmResponseAllOfSourceOneOf1Repository
|
|
8292
8298
|
*/
|
|
8293
|
-
'repository'
|
|
8299
|
+
'repository': HelmResponseAllOfSourceOneOf1RepositoryRepository;
|
|
8294
8300
|
}
|
|
8295
8301
|
/**
|
|
8296
8302
|
*
|
|
@@ -8303,19 +8309,19 @@ export interface HelmResponseAllOfSourceOneOf1RepositoryRepository {
|
|
|
8303
8309
|
* @type {string}
|
|
8304
8310
|
* @memberof HelmResponseAllOfSourceOneOf1RepositoryRepository
|
|
8305
8311
|
*/
|
|
8306
|
-
'id'
|
|
8312
|
+
'id': string;
|
|
8307
8313
|
/**
|
|
8308
8314
|
* The name of the helm repository
|
|
8309
8315
|
* @type {string}
|
|
8310
8316
|
* @memberof HelmResponseAllOfSourceOneOf1RepositoryRepository
|
|
8311
8317
|
*/
|
|
8312
|
-
'name'
|
|
8318
|
+
'name': string;
|
|
8313
8319
|
/**
|
|
8314
8320
|
* The url the helm repository
|
|
8315
8321
|
* @type {string}
|
|
8316
8322
|
* @memberof HelmResponseAllOfSourceOneOf1RepositoryRepository
|
|
8317
8323
|
*/
|
|
8318
|
-
'url'
|
|
8324
|
+
'url': string;
|
|
8319
8325
|
}
|
|
8320
8326
|
/**
|
|
8321
8327
|
*
|
|
@@ -8369,10 +8375,10 @@ export interface HelmResponseAllOfValuesOverride {
|
|
|
8369
8375
|
export interface HelmResponseAllOfValuesOverrideFile {
|
|
8370
8376
|
/**
|
|
8371
8377
|
*
|
|
8372
|
-
* @type {
|
|
8378
|
+
* @type {HelmResponseAllOfValuesOverrideFileRaw}
|
|
8373
8379
|
* @memberof HelmResponseAllOfValuesOverrideFile
|
|
8374
8380
|
*/
|
|
8375
|
-
'raw'?:
|
|
8381
|
+
'raw'?: HelmResponseAllOfValuesOverrideFileRaw | null;
|
|
8376
8382
|
/**
|
|
8377
8383
|
*
|
|
8378
8384
|
* @type {HelmResponseAllOfValuesOverrideFileGit}
|
|
@@ -8391,13 +8397,45 @@ export interface HelmResponseAllOfValuesOverrideFileGit {
|
|
|
8391
8397
|
* @type {ApplicationGitRepositoryRequest}
|
|
8392
8398
|
* @memberof HelmResponseAllOfValuesOverrideFileGit
|
|
8393
8399
|
*/
|
|
8394
|
-
'git_repository'
|
|
8400
|
+
'git_repository': ApplicationGitRepositoryRequest;
|
|
8395
8401
|
/**
|
|
8396
8402
|
* List of path inside your git repository to locate values file. Must start by a /
|
|
8397
8403
|
* @type {Array<string>}
|
|
8398
8404
|
* @memberof HelmResponseAllOfValuesOverrideFileGit
|
|
8399
8405
|
*/
|
|
8400
|
-
'paths'
|
|
8406
|
+
'paths': Array<string>;
|
|
8407
|
+
}
|
|
8408
|
+
/**
|
|
8409
|
+
*
|
|
8410
|
+
* @export
|
|
8411
|
+
* @interface HelmResponseAllOfValuesOverrideFileRaw
|
|
8412
|
+
*/
|
|
8413
|
+
export interface HelmResponseAllOfValuesOverrideFileRaw {
|
|
8414
|
+
/**
|
|
8415
|
+
*
|
|
8416
|
+
* @type {Array<HelmResponseAllOfValuesOverrideFileRawValues>}
|
|
8417
|
+
* @memberof HelmResponseAllOfValuesOverrideFileRaw
|
|
8418
|
+
*/
|
|
8419
|
+
'values': Array<HelmResponseAllOfValuesOverrideFileRawValues>;
|
|
8420
|
+
}
|
|
8421
|
+
/**
|
|
8422
|
+
*
|
|
8423
|
+
* @export
|
|
8424
|
+
* @interface HelmResponseAllOfValuesOverrideFileRawValues
|
|
8425
|
+
*/
|
|
8426
|
+
export interface HelmResponseAllOfValuesOverrideFileRawValues {
|
|
8427
|
+
/**
|
|
8428
|
+
* The name of the value file
|
|
8429
|
+
* @type {string}
|
|
8430
|
+
* @memberof HelmResponseAllOfValuesOverrideFileRawValues
|
|
8431
|
+
*/
|
|
8432
|
+
'name': string;
|
|
8433
|
+
/**
|
|
8434
|
+
* The content of the value file
|
|
8435
|
+
* @type {string}
|
|
8436
|
+
* @memberof HelmResponseAllOfValuesOverrideFileRawValues
|
|
8437
|
+
*/
|
|
8438
|
+
'content': string;
|
|
8401
8439
|
}
|
|
8402
8440
|
/**
|
|
8403
8441
|
*
|
|
@@ -20511,15 +20549,6 @@ export declare const ContainersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
20511
20549
|
* @throws {RequiredError}
|
|
20512
20550
|
*/
|
|
20513
20551
|
cloneContainer: (containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20514
|
-
/**
|
|
20515
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20516
|
-
* @summary Clone helm
|
|
20517
|
-
* @param {string} helmId Helm ID
|
|
20518
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20519
|
-
* @param {*} [options] Override http request option.
|
|
20520
|
-
* @throws {RequiredError}
|
|
20521
|
-
*/
|
|
20522
|
-
cloneHelm: (helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20523
20552
|
/**
|
|
20524
20553
|
*
|
|
20525
20554
|
* @summary Create a container
|
|
@@ -20610,15 +20639,6 @@ export declare const ContainersApiFp: (configuration?: Configuration) => {
|
|
|
20610
20639
|
* @throws {RequiredError}
|
|
20611
20640
|
*/
|
|
20612
20641
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>>;
|
|
20613
|
-
/**
|
|
20614
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20615
|
-
* @summary Clone helm
|
|
20616
|
-
* @param {string} helmId Helm ID
|
|
20617
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20618
|
-
* @param {*} [options] Override http request option.
|
|
20619
|
-
* @throws {RequiredError}
|
|
20620
|
-
*/
|
|
20621
|
-
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
|
|
20622
20642
|
/**
|
|
20623
20643
|
*
|
|
20624
20644
|
* @summary Create a container
|
|
@@ -20709,15 +20729,6 @@ export declare const ContainersApiFactory: (configuration?: Configuration, baseP
|
|
|
20709
20729
|
* @throws {RequiredError}
|
|
20710
20730
|
*/
|
|
20711
20731
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse>;
|
|
20712
|
-
/**
|
|
20713
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20714
|
-
* @summary Clone helm
|
|
20715
|
-
* @param {string} helmId Helm ID
|
|
20716
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20717
|
-
* @param {*} [options] Override http request option.
|
|
20718
|
-
* @throws {RequiredError}
|
|
20719
|
-
*/
|
|
20720
|
-
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse>;
|
|
20721
20732
|
/**
|
|
20722
20733
|
*
|
|
20723
20734
|
* @summary Create a container
|
|
@@ -20812,16 +20823,6 @@ export declare class ContainersApi extends BaseAPI {
|
|
|
20812
20823
|
* @memberof ContainersApi
|
|
20813
20824
|
*/
|
|
20814
20825
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerResponse, any>>;
|
|
20815
|
-
/**
|
|
20816
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20817
|
-
* @summary Clone helm
|
|
20818
|
-
* @param {string} helmId Helm ID
|
|
20819
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20820
|
-
* @param {*} [options] Override http request option.
|
|
20821
|
-
* @throws {RequiredError}
|
|
20822
|
-
* @memberof ContainersApi
|
|
20823
|
-
*/
|
|
20824
|
-
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
|
|
20825
20826
|
/**
|
|
20826
20827
|
*
|
|
20827
20828
|
* @summary Create a container
|
|
@@ -25572,6 +25573,15 @@ export declare class HelmRepositoriesApi extends BaseAPI {
|
|
|
25572
25573
|
* @export
|
|
25573
25574
|
*/
|
|
25574
25575
|
export declare const HelmsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25576
|
+
/**
|
|
25577
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25578
|
+
* @summary Clone helm
|
|
25579
|
+
* @param {string} helmId Helm ID
|
|
25580
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25581
|
+
* @param {*} [options] Override http request option.
|
|
25582
|
+
* @throws {RequiredError}
|
|
25583
|
+
*/
|
|
25584
|
+
cloneHelm: (helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25575
25585
|
/**
|
|
25576
25586
|
*
|
|
25577
25587
|
* @summary Create a helm
|
|
@@ -25612,6 +25622,15 @@ export declare const HelmsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
25612
25622
|
* @export
|
|
25613
25623
|
*/
|
|
25614
25624
|
export declare const HelmsApiFp: (configuration?: Configuration) => {
|
|
25625
|
+
/**
|
|
25626
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25627
|
+
* @summary Clone helm
|
|
25628
|
+
* @param {string} helmId Helm ID
|
|
25629
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25630
|
+
* @param {*} [options] Override http request option.
|
|
25631
|
+
* @throws {RequiredError}
|
|
25632
|
+
*/
|
|
25633
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
|
|
25615
25634
|
/**
|
|
25616
25635
|
*
|
|
25617
25636
|
* @summary Create a helm
|
|
@@ -25652,6 +25671,15 @@ export declare const HelmsApiFp: (configuration?: Configuration) => {
|
|
|
25652
25671
|
* @export
|
|
25653
25672
|
*/
|
|
25654
25673
|
export declare const HelmsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25674
|
+
/**
|
|
25675
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25676
|
+
* @summary Clone helm
|
|
25677
|
+
* @param {string} helmId Helm ID
|
|
25678
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25679
|
+
* @param {*} [options] Override http request option.
|
|
25680
|
+
* @throws {RequiredError}
|
|
25681
|
+
*/
|
|
25682
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse>;
|
|
25655
25683
|
/**
|
|
25656
25684
|
*
|
|
25657
25685
|
* @summary Create a helm
|
|
@@ -25694,6 +25722,16 @@ export declare const HelmsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
25694
25722
|
* @extends {BaseAPI}
|
|
25695
25723
|
*/
|
|
25696
25724
|
export declare class HelmsApi extends BaseAPI {
|
|
25725
|
+
/**
|
|
25726
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25727
|
+
* @summary Clone helm
|
|
25728
|
+
* @param {string} helmId Helm ID
|
|
25729
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25730
|
+
* @param {*} [options] Override http request option.
|
|
25731
|
+
* @throws {RequiredError}
|
|
25732
|
+
* @memberof HelmsApi
|
|
25733
|
+
*/
|
|
25734
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
|
|
25697
25735
|
/**
|
|
25698
25736
|
*
|
|
25699
25737
|
* @summary Create a helm
|
package/dist/api.js
CHANGED
|
@@ -14203,43 +14203,6 @@ const ContainersApiAxiosParamCreator = function (configuration) {
|
|
|
14203
14203
|
options: localVarRequestOptions,
|
|
14204
14204
|
};
|
|
14205
14205
|
}),
|
|
14206
|
-
/**
|
|
14207
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14208
|
-
* @summary Clone helm
|
|
14209
|
-
* @param {string} helmId Helm ID
|
|
14210
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14211
|
-
* @param {*} [options] Override http request option.
|
|
14212
|
-
* @throws {RequiredError}
|
|
14213
|
-
*/
|
|
14214
|
-
cloneHelm: (helmId, cloneServiceRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
14215
|
-
// verify required parameter 'helmId' is not null or undefined
|
|
14216
|
-
(0, common_1.assertParamExists)('cloneHelm', 'helmId', helmId);
|
|
14217
|
-
const localVarPath = `/helm/{helmId}/clone`
|
|
14218
|
-
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
14219
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14220
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14221
|
-
let baseOptions;
|
|
14222
|
-
if (configuration) {
|
|
14223
|
-
baseOptions = configuration.baseOptions;
|
|
14224
|
-
}
|
|
14225
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
14226
|
-
const localVarHeaderParameter = {};
|
|
14227
|
-
const localVarQueryParameter = {};
|
|
14228
|
-
// authentication ApiKeyAuth required
|
|
14229
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
14230
|
-
// authentication bearerAuth required
|
|
14231
|
-
// http bearer authentication required
|
|
14232
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14233
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14234
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14235
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14236
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14237
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cloneServiceRequest, localVarRequestOptions, configuration);
|
|
14238
|
-
return {
|
|
14239
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14240
|
-
options: localVarRequestOptions,
|
|
14241
|
-
};
|
|
14242
|
-
}),
|
|
14243
14206
|
/**
|
|
14244
14207
|
*
|
|
14245
14208
|
* @summary Create a container
|
|
@@ -14556,20 +14519,6 @@ const ContainersApiFp = function (configuration) {
|
|
|
14556
14519
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
14557
14520
|
});
|
|
14558
14521
|
},
|
|
14559
|
-
/**
|
|
14560
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14561
|
-
* @summary Clone helm
|
|
14562
|
-
* @param {string} helmId Helm ID
|
|
14563
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14564
|
-
* @param {*} [options] Override http request option.
|
|
14565
|
-
* @throws {RequiredError}
|
|
14566
|
-
*/
|
|
14567
|
-
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
14568
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
14569
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
|
|
14570
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
14571
|
-
});
|
|
14572
|
-
},
|
|
14573
14522
|
/**
|
|
14574
14523
|
*
|
|
14575
14524
|
* @summary Create a container
|
|
@@ -14708,17 +14657,6 @@ const ContainersApiFactory = function (configuration, basePath, axios) {
|
|
|
14708
14657
|
cloneContainer(containerId, cloneServiceRequest, options) {
|
|
14709
14658
|
return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
14710
14659
|
},
|
|
14711
|
-
/**
|
|
14712
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14713
|
-
* @summary Clone helm
|
|
14714
|
-
* @param {string} helmId Helm ID
|
|
14715
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14716
|
-
* @param {*} [options] Override http request option.
|
|
14717
|
-
* @throws {RequiredError}
|
|
14718
|
-
*/
|
|
14719
|
-
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
14720
|
-
return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
14721
|
-
},
|
|
14722
14660
|
/**
|
|
14723
14661
|
*
|
|
14724
14662
|
* @summary Create a container
|
|
@@ -14835,18 +14773,6 @@ class ContainersApi extends base_1.BaseAPI {
|
|
|
14835
14773
|
cloneContainer(containerId, cloneServiceRequest, options) {
|
|
14836
14774
|
return (0, exports.ContainersApiFp)(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14837
14775
|
}
|
|
14838
|
-
/**
|
|
14839
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14840
|
-
* @summary Clone helm
|
|
14841
|
-
* @param {string} helmId Helm ID
|
|
14842
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14843
|
-
* @param {*} [options] Override http request option.
|
|
14844
|
-
* @throws {RequiredError}
|
|
14845
|
-
* @memberof ContainersApi
|
|
14846
|
-
*/
|
|
14847
|
-
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
14848
|
-
return (0, exports.ContainersApiFp)(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14849
|
-
}
|
|
14850
14776
|
/**
|
|
14851
14777
|
*
|
|
14852
14778
|
* @summary Create a container
|
|
@@ -24021,6 +23947,43 @@ exports.HelmRepositoriesApi = HelmRepositoriesApi;
|
|
|
24021
23947
|
*/
|
|
24022
23948
|
const HelmsApiAxiosParamCreator = function (configuration) {
|
|
24023
23949
|
return {
|
|
23950
|
+
/**
|
|
23951
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
23952
|
+
* @summary Clone helm
|
|
23953
|
+
* @param {string} helmId Helm ID
|
|
23954
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
23955
|
+
* @param {*} [options] Override http request option.
|
|
23956
|
+
* @throws {RequiredError}
|
|
23957
|
+
*/
|
|
23958
|
+
cloneHelm: (helmId, cloneServiceRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
23959
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
23960
|
+
(0, common_1.assertParamExists)('cloneHelm', 'helmId', helmId);
|
|
23961
|
+
const localVarPath = `/helm/{helmId}/clone`
|
|
23962
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
23963
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23964
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23965
|
+
let baseOptions;
|
|
23966
|
+
if (configuration) {
|
|
23967
|
+
baseOptions = configuration.baseOptions;
|
|
23968
|
+
}
|
|
23969
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
23970
|
+
const localVarHeaderParameter = {};
|
|
23971
|
+
const localVarQueryParameter = {};
|
|
23972
|
+
// authentication ApiKeyAuth required
|
|
23973
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
23974
|
+
// authentication bearerAuth required
|
|
23975
|
+
// http bearer authentication required
|
|
23976
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
23977
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23978
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
23979
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23980
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23981
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cloneServiceRequest, localVarRequestOptions, configuration);
|
|
23982
|
+
return {
|
|
23983
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
23984
|
+
options: localVarRequestOptions,
|
|
23985
|
+
};
|
|
23986
|
+
}),
|
|
24024
23987
|
/**
|
|
24025
23988
|
*
|
|
24026
23989
|
* @summary Create a helm
|
|
@@ -24173,6 +24136,20 @@ exports.HelmsApiAxiosParamCreator = HelmsApiAxiosParamCreator;
|
|
|
24173
24136
|
const HelmsApiFp = function (configuration) {
|
|
24174
24137
|
const localVarAxiosParamCreator = (0, exports.HelmsApiAxiosParamCreator)(configuration);
|
|
24175
24138
|
return {
|
|
24139
|
+
/**
|
|
24140
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
24141
|
+
* @summary Clone helm
|
|
24142
|
+
* @param {string} helmId Helm ID
|
|
24143
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
24144
|
+
* @param {*} [options] Override http request option.
|
|
24145
|
+
* @throws {RequiredError}
|
|
24146
|
+
*/
|
|
24147
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
24148
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24149
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
|
|
24150
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
24151
|
+
});
|
|
24152
|
+
},
|
|
24176
24153
|
/**
|
|
24177
24154
|
*
|
|
24178
24155
|
* @summary Create a helm
|
|
@@ -24237,6 +24214,17 @@ exports.HelmsApiFp = HelmsApiFp;
|
|
|
24237
24214
|
const HelmsApiFactory = function (configuration, basePath, axios) {
|
|
24238
24215
|
const localVarFp = (0, exports.HelmsApiFp)(configuration);
|
|
24239
24216
|
return {
|
|
24217
|
+
/**
|
|
24218
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
24219
|
+
* @summary Clone helm
|
|
24220
|
+
* @param {string} helmId Helm ID
|
|
24221
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
24222
|
+
* @param {*} [options] Override http request option.
|
|
24223
|
+
* @throws {RequiredError}
|
|
24224
|
+
*/
|
|
24225
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
24226
|
+
return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
24227
|
+
},
|
|
24240
24228
|
/**
|
|
24241
24229
|
*
|
|
24242
24230
|
* @summary Create a helm
|
|
@@ -24289,6 +24277,18 @@ exports.HelmsApiFactory = HelmsApiFactory;
|
|
|
24289
24277
|
* @extends {BaseAPI}
|
|
24290
24278
|
*/
|
|
24291
24279
|
class HelmsApi extends base_1.BaseAPI {
|
|
24280
|
+
/**
|
|
24281
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
24282
|
+
* @summary Clone helm
|
|
24283
|
+
* @param {string} helmId Helm ID
|
|
24284
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
24285
|
+
* @param {*} [options] Override http request option.
|
|
24286
|
+
* @throws {RequiredError}
|
|
24287
|
+
* @memberof HelmsApi
|
|
24288
|
+
*/
|
|
24289
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
24290
|
+
return (0, exports.HelmsApiFp)(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
24291
|
+
}
|
|
24292
24292
|
/**
|
|
24293
24293
|
*
|
|
24294
24294
|
* @summary Create a helm
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -6864,6 +6864,12 @@ export interface EnvironmentStatuses {
|
|
|
6864
6864
|
* @memberof EnvironmentStatuses
|
|
6865
6865
|
*/
|
|
6866
6866
|
'databases'?: Array<Status>;
|
|
6867
|
+
/**
|
|
6868
|
+
*
|
|
6869
|
+
* @type {Array<Status>}
|
|
6870
|
+
* @memberof EnvironmentStatuses
|
|
6871
|
+
*/
|
|
6872
|
+
'helms'?: Array<Status>;
|
|
6867
6873
|
}
|
|
6868
6874
|
/**
|
|
6869
6875
|
*
|
|
@@ -8278,19 +8284,19 @@ export interface HelmResponseAllOfSourceOneOf1Repository {
|
|
|
8278
8284
|
* @type {string}
|
|
8279
8285
|
* @memberof HelmResponseAllOfSourceOneOf1Repository
|
|
8280
8286
|
*/
|
|
8281
|
-
'chart_name'
|
|
8287
|
+
'chart_name': string;
|
|
8282
8288
|
/**
|
|
8283
8289
|
* The version of the chart to use
|
|
8284
8290
|
* @type {string}
|
|
8285
8291
|
* @memberof HelmResponseAllOfSourceOneOf1Repository
|
|
8286
8292
|
*/
|
|
8287
|
-
'chart_version'
|
|
8293
|
+
'chart_version': string;
|
|
8288
8294
|
/**
|
|
8289
8295
|
*
|
|
8290
8296
|
* @type {HelmResponseAllOfSourceOneOf1RepositoryRepository}
|
|
8291
8297
|
* @memberof HelmResponseAllOfSourceOneOf1Repository
|
|
8292
8298
|
*/
|
|
8293
|
-
'repository'
|
|
8299
|
+
'repository': HelmResponseAllOfSourceOneOf1RepositoryRepository;
|
|
8294
8300
|
}
|
|
8295
8301
|
/**
|
|
8296
8302
|
*
|
|
@@ -8303,19 +8309,19 @@ export interface HelmResponseAllOfSourceOneOf1RepositoryRepository {
|
|
|
8303
8309
|
* @type {string}
|
|
8304
8310
|
* @memberof HelmResponseAllOfSourceOneOf1RepositoryRepository
|
|
8305
8311
|
*/
|
|
8306
|
-
'id'
|
|
8312
|
+
'id': string;
|
|
8307
8313
|
/**
|
|
8308
8314
|
* The name of the helm repository
|
|
8309
8315
|
* @type {string}
|
|
8310
8316
|
* @memberof HelmResponseAllOfSourceOneOf1RepositoryRepository
|
|
8311
8317
|
*/
|
|
8312
|
-
'name'
|
|
8318
|
+
'name': string;
|
|
8313
8319
|
/**
|
|
8314
8320
|
* The url the helm repository
|
|
8315
8321
|
* @type {string}
|
|
8316
8322
|
* @memberof HelmResponseAllOfSourceOneOf1RepositoryRepository
|
|
8317
8323
|
*/
|
|
8318
|
-
'url'
|
|
8324
|
+
'url': string;
|
|
8319
8325
|
}
|
|
8320
8326
|
/**
|
|
8321
8327
|
*
|
|
@@ -8369,10 +8375,10 @@ export interface HelmResponseAllOfValuesOverride {
|
|
|
8369
8375
|
export interface HelmResponseAllOfValuesOverrideFile {
|
|
8370
8376
|
/**
|
|
8371
8377
|
*
|
|
8372
|
-
* @type {
|
|
8378
|
+
* @type {HelmResponseAllOfValuesOverrideFileRaw}
|
|
8373
8379
|
* @memberof HelmResponseAllOfValuesOverrideFile
|
|
8374
8380
|
*/
|
|
8375
|
-
'raw'?:
|
|
8381
|
+
'raw'?: HelmResponseAllOfValuesOverrideFileRaw | null;
|
|
8376
8382
|
/**
|
|
8377
8383
|
*
|
|
8378
8384
|
* @type {HelmResponseAllOfValuesOverrideFileGit}
|
|
@@ -8391,13 +8397,45 @@ export interface HelmResponseAllOfValuesOverrideFileGit {
|
|
|
8391
8397
|
* @type {ApplicationGitRepositoryRequest}
|
|
8392
8398
|
* @memberof HelmResponseAllOfValuesOverrideFileGit
|
|
8393
8399
|
*/
|
|
8394
|
-
'git_repository'
|
|
8400
|
+
'git_repository': ApplicationGitRepositoryRequest;
|
|
8395
8401
|
/**
|
|
8396
8402
|
* List of path inside your git repository to locate values file. Must start by a /
|
|
8397
8403
|
* @type {Array<string>}
|
|
8398
8404
|
* @memberof HelmResponseAllOfValuesOverrideFileGit
|
|
8399
8405
|
*/
|
|
8400
|
-
'paths'
|
|
8406
|
+
'paths': Array<string>;
|
|
8407
|
+
}
|
|
8408
|
+
/**
|
|
8409
|
+
*
|
|
8410
|
+
* @export
|
|
8411
|
+
* @interface HelmResponseAllOfValuesOverrideFileRaw
|
|
8412
|
+
*/
|
|
8413
|
+
export interface HelmResponseAllOfValuesOverrideFileRaw {
|
|
8414
|
+
/**
|
|
8415
|
+
*
|
|
8416
|
+
* @type {Array<HelmResponseAllOfValuesOverrideFileRawValues>}
|
|
8417
|
+
* @memberof HelmResponseAllOfValuesOverrideFileRaw
|
|
8418
|
+
*/
|
|
8419
|
+
'values': Array<HelmResponseAllOfValuesOverrideFileRawValues>;
|
|
8420
|
+
}
|
|
8421
|
+
/**
|
|
8422
|
+
*
|
|
8423
|
+
* @export
|
|
8424
|
+
* @interface HelmResponseAllOfValuesOverrideFileRawValues
|
|
8425
|
+
*/
|
|
8426
|
+
export interface HelmResponseAllOfValuesOverrideFileRawValues {
|
|
8427
|
+
/**
|
|
8428
|
+
* The name of the value file
|
|
8429
|
+
* @type {string}
|
|
8430
|
+
* @memberof HelmResponseAllOfValuesOverrideFileRawValues
|
|
8431
|
+
*/
|
|
8432
|
+
'name': string;
|
|
8433
|
+
/**
|
|
8434
|
+
* The content of the value file
|
|
8435
|
+
* @type {string}
|
|
8436
|
+
* @memberof HelmResponseAllOfValuesOverrideFileRawValues
|
|
8437
|
+
*/
|
|
8438
|
+
'content': string;
|
|
8401
8439
|
}
|
|
8402
8440
|
/**
|
|
8403
8441
|
*
|
|
@@ -20511,15 +20549,6 @@ export declare const ContainersApiAxiosParamCreator: (configuration?: Configurat
|
|
|
20511
20549
|
* @throws {RequiredError}
|
|
20512
20550
|
*/
|
|
20513
20551
|
cloneContainer: (containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20514
|
-
/**
|
|
20515
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20516
|
-
* @summary Clone helm
|
|
20517
|
-
* @param {string} helmId Helm ID
|
|
20518
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20519
|
-
* @param {*} [options] Override http request option.
|
|
20520
|
-
* @throws {RequiredError}
|
|
20521
|
-
*/
|
|
20522
|
-
cloneHelm: (helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20523
20552
|
/**
|
|
20524
20553
|
*
|
|
20525
20554
|
* @summary Create a container
|
|
@@ -20610,15 +20639,6 @@ export declare const ContainersApiFp: (configuration?: Configuration) => {
|
|
|
20610
20639
|
* @throws {RequiredError}
|
|
20611
20640
|
*/
|
|
20612
20641
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>>;
|
|
20613
|
-
/**
|
|
20614
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20615
|
-
* @summary Clone helm
|
|
20616
|
-
* @param {string} helmId Helm ID
|
|
20617
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20618
|
-
* @param {*} [options] Override http request option.
|
|
20619
|
-
* @throws {RequiredError}
|
|
20620
|
-
*/
|
|
20621
|
-
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
|
|
20622
20642
|
/**
|
|
20623
20643
|
*
|
|
20624
20644
|
* @summary Create a container
|
|
@@ -20709,15 +20729,6 @@ export declare const ContainersApiFactory: (configuration?: Configuration, baseP
|
|
|
20709
20729
|
* @throws {RequiredError}
|
|
20710
20730
|
*/
|
|
20711
20731
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse>;
|
|
20712
|
-
/**
|
|
20713
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20714
|
-
* @summary Clone helm
|
|
20715
|
-
* @param {string} helmId Helm ID
|
|
20716
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20717
|
-
* @param {*} [options] Override http request option.
|
|
20718
|
-
* @throws {RequiredError}
|
|
20719
|
-
*/
|
|
20720
|
-
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse>;
|
|
20721
20732
|
/**
|
|
20722
20733
|
*
|
|
20723
20734
|
* @summary Create a container
|
|
@@ -20812,16 +20823,6 @@ export declare class ContainersApi extends BaseAPI {
|
|
|
20812
20823
|
* @memberof ContainersApi
|
|
20813
20824
|
*/
|
|
20814
20825
|
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerResponse, any>>;
|
|
20815
|
-
/**
|
|
20816
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
20817
|
-
* @summary Clone helm
|
|
20818
|
-
* @param {string} helmId Helm ID
|
|
20819
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
20820
|
-
* @param {*} [options] Override http request option.
|
|
20821
|
-
* @throws {RequiredError}
|
|
20822
|
-
* @memberof ContainersApi
|
|
20823
|
-
*/
|
|
20824
|
-
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
|
|
20825
20826
|
/**
|
|
20826
20827
|
*
|
|
20827
20828
|
* @summary Create a container
|
|
@@ -25572,6 +25573,15 @@ export declare class HelmRepositoriesApi extends BaseAPI {
|
|
|
25572
25573
|
* @export
|
|
25573
25574
|
*/
|
|
25574
25575
|
export declare const HelmsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25576
|
+
/**
|
|
25577
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25578
|
+
* @summary Clone helm
|
|
25579
|
+
* @param {string} helmId Helm ID
|
|
25580
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25581
|
+
* @param {*} [options] Override http request option.
|
|
25582
|
+
* @throws {RequiredError}
|
|
25583
|
+
*/
|
|
25584
|
+
cloneHelm: (helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25575
25585
|
/**
|
|
25576
25586
|
*
|
|
25577
25587
|
* @summary Create a helm
|
|
@@ -25612,6 +25622,15 @@ export declare const HelmsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
25612
25622
|
* @export
|
|
25613
25623
|
*/
|
|
25614
25624
|
export declare const HelmsApiFp: (configuration?: Configuration) => {
|
|
25625
|
+
/**
|
|
25626
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25627
|
+
* @summary Clone helm
|
|
25628
|
+
* @param {string} helmId Helm ID
|
|
25629
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25630
|
+
* @param {*} [options] Override http request option.
|
|
25631
|
+
* @throws {RequiredError}
|
|
25632
|
+
*/
|
|
25633
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
|
|
25615
25634
|
/**
|
|
25616
25635
|
*
|
|
25617
25636
|
* @summary Create a helm
|
|
@@ -25652,6 +25671,15 @@ export declare const HelmsApiFp: (configuration?: Configuration) => {
|
|
|
25652
25671
|
* @export
|
|
25653
25672
|
*/
|
|
25654
25673
|
export declare const HelmsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25674
|
+
/**
|
|
25675
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25676
|
+
* @summary Clone helm
|
|
25677
|
+
* @param {string} helmId Helm ID
|
|
25678
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25679
|
+
* @param {*} [options] Override http request option.
|
|
25680
|
+
* @throws {RequiredError}
|
|
25681
|
+
*/
|
|
25682
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse>;
|
|
25655
25683
|
/**
|
|
25656
25684
|
*
|
|
25657
25685
|
* @summary Create a helm
|
|
@@ -25694,6 +25722,16 @@ export declare const HelmsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
25694
25722
|
* @extends {BaseAPI}
|
|
25695
25723
|
*/
|
|
25696
25724
|
export declare class HelmsApi extends BaseAPI {
|
|
25725
|
+
/**
|
|
25726
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
25727
|
+
* @summary Clone helm
|
|
25728
|
+
* @param {string} helmId Helm ID
|
|
25729
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
25730
|
+
* @param {*} [options] Override http request option.
|
|
25731
|
+
* @throws {RequiredError}
|
|
25732
|
+
* @memberof HelmsApi
|
|
25733
|
+
*/
|
|
25734
|
+
cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
|
|
25697
25735
|
/**
|
|
25698
25736
|
*
|
|
25699
25737
|
* @summary Create a helm
|
package/dist/esm/api.js
CHANGED
|
@@ -14089,43 +14089,6 @@ export const ContainersApiAxiosParamCreator = function (configuration) {
|
|
|
14089
14089
|
options: localVarRequestOptions,
|
|
14090
14090
|
};
|
|
14091
14091
|
}),
|
|
14092
|
-
/**
|
|
14093
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14094
|
-
* @summary Clone helm
|
|
14095
|
-
* @param {string} helmId Helm ID
|
|
14096
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14097
|
-
* @param {*} [options] Override http request option.
|
|
14098
|
-
* @throws {RequiredError}
|
|
14099
|
-
*/
|
|
14100
|
-
cloneHelm: (helmId, cloneServiceRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
14101
|
-
// verify required parameter 'helmId' is not null or undefined
|
|
14102
|
-
assertParamExists('cloneHelm', 'helmId', helmId);
|
|
14103
|
-
const localVarPath = `/helm/{helmId}/clone`
|
|
14104
|
-
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
14105
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14106
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14107
|
-
let baseOptions;
|
|
14108
|
-
if (configuration) {
|
|
14109
|
-
baseOptions = configuration.baseOptions;
|
|
14110
|
-
}
|
|
14111
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
14112
|
-
const localVarHeaderParameter = {};
|
|
14113
|
-
const localVarQueryParameter = {};
|
|
14114
|
-
// authentication ApiKeyAuth required
|
|
14115
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
14116
|
-
// authentication bearerAuth required
|
|
14117
|
-
// http bearer authentication required
|
|
14118
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
14119
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14120
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14121
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14122
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14123
|
-
localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration);
|
|
14124
|
-
return {
|
|
14125
|
-
url: toPathString(localVarUrlObj),
|
|
14126
|
-
options: localVarRequestOptions,
|
|
14127
|
-
};
|
|
14128
|
-
}),
|
|
14129
14092
|
/**
|
|
14130
14093
|
*
|
|
14131
14094
|
* @summary Create a container
|
|
@@ -14441,20 +14404,6 @@ export const ContainersApiFp = function (configuration) {
|
|
|
14441
14404
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14442
14405
|
});
|
|
14443
14406
|
},
|
|
14444
|
-
/**
|
|
14445
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14446
|
-
* @summary Clone helm
|
|
14447
|
-
* @param {string} helmId Helm ID
|
|
14448
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14449
|
-
* @param {*} [options] Override http request option.
|
|
14450
|
-
* @throws {RequiredError}
|
|
14451
|
-
*/
|
|
14452
|
-
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
14453
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
14454
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
|
|
14455
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14456
|
-
});
|
|
14457
|
-
},
|
|
14458
14407
|
/**
|
|
14459
14408
|
*
|
|
14460
14409
|
* @summary Create a container
|
|
@@ -14592,17 +14541,6 @@ export const ContainersApiFactory = function (configuration, basePath, axios) {
|
|
|
14592
14541
|
cloneContainer(containerId, cloneServiceRequest, options) {
|
|
14593
14542
|
return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
14594
14543
|
},
|
|
14595
|
-
/**
|
|
14596
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14597
|
-
* @summary Clone helm
|
|
14598
|
-
* @param {string} helmId Helm ID
|
|
14599
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14600
|
-
* @param {*} [options] Override http request option.
|
|
14601
|
-
* @throws {RequiredError}
|
|
14602
|
-
*/
|
|
14603
|
-
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
14604
|
-
return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
14605
|
-
},
|
|
14606
14544
|
/**
|
|
14607
14545
|
*
|
|
14608
14546
|
* @summary Create a container
|
|
@@ -14718,18 +14656,6 @@ export class ContainersApi extends BaseAPI {
|
|
|
14718
14656
|
cloneContainer(containerId, cloneServiceRequest, options) {
|
|
14719
14657
|
return ContainersApiFp(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14720
14658
|
}
|
|
14721
|
-
/**
|
|
14722
|
-
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
14723
|
-
* @summary Clone helm
|
|
14724
|
-
* @param {string} helmId Helm ID
|
|
14725
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
14726
|
-
* @param {*} [options] Override http request option.
|
|
14727
|
-
* @throws {RequiredError}
|
|
14728
|
-
* @memberof ContainersApi
|
|
14729
|
-
*/
|
|
14730
|
-
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
14731
|
-
return ContainersApiFp(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14732
|
-
}
|
|
14733
14659
|
/**
|
|
14734
14660
|
*
|
|
14735
14661
|
* @summary Create a container
|
|
@@ -23795,6 +23721,43 @@ export class HelmRepositoriesApi extends BaseAPI {
|
|
|
23795
23721
|
*/
|
|
23796
23722
|
export const HelmsApiAxiosParamCreator = function (configuration) {
|
|
23797
23723
|
return {
|
|
23724
|
+
/**
|
|
23725
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
23726
|
+
* @summary Clone helm
|
|
23727
|
+
* @param {string} helmId Helm ID
|
|
23728
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
23729
|
+
* @param {*} [options] Override http request option.
|
|
23730
|
+
* @throws {RequiredError}
|
|
23731
|
+
*/
|
|
23732
|
+
cloneHelm: (helmId, cloneServiceRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
23733
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
23734
|
+
assertParamExists('cloneHelm', 'helmId', helmId);
|
|
23735
|
+
const localVarPath = `/helm/{helmId}/clone`
|
|
23736
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
23737
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23738
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23739
|
+
let baseOptions;
|
|
23740
|
+
if (configuration) {
|
|
23741
|
+
baseOptions = configuration.baseOptions;
|
|
23742
|
+
}
|
|
23743
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
23744
|
+
const localVarHeaderParameter = {};
|
|
23745
|
+
const localVarQueryParameter = {};
|
|
23746
|
+
// authentication ApiKeyAuth required
|
|
23747
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
23748
|
+
// authentication bearerAuth required
|
|
23749
|
+
// http bearer authentication required
|
|
23750
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
23751
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23752
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23753
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23754
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23755
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration);
|
|
23756
|
+
return {
|
|
23757
|
+
url: toPathString(localVarUrlObj),
|
|
23758
|
+
options: localVarRequestOptions,
|
|
23759
|
+
};
|
|
23760
|
+
}),
|
|
23798
23761
|
/**
|
|
23799
23762
|
*
|
|
23800
23763
|
* @summary Create a helm
|
|
@@ -23946,6 +23909,20 @@ export const HelmsApiAxiosParamCreator = function (configuration) {
|
|
|
23946
23909
|
export const HelmsApiFp = function (configuration) {
|
|
23947
23910
|
const localVarAxiosParamCreator = HelmsApiAxiosParamCreator(configuration);
|
|
23948
23911
|
return {
|
|
23912
|
+
/**
|
|
23913
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
23914
|
+
* @summary Clone helm
|
|
23915
|
+
* @param {string} helmId Helm ID
|
|
23916
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
23917
|
+
* @param {*} [options] Override http request option.
|
|
23918
|
+
* @throws {RequiredError}
|
|
23919
|
+
*/
|
|
23920
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
23921
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23922
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
|
|
23923
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23924
|
+
});
|
|
23925
|
+
},
|
|
23949
23926
|
/**
|
|
23950
23927
|
*
|
|
23951
23928
|
* @summary Create a helm
|
|
@@ -24009,6 +23986,17 @@ export const HelmsApiFp = function (configuration) {
|
|
|
24009
23986
|
export const HelmsApiFactory = function (configuration, basePath, axios) {
|
|
24010
23987
|
const localVarFp = HelmsApiFp(configuration);
|
|
24011
23988
|
return {
|
|
23989
|
+
/**
|
|
23990
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
23991
|
+
* @summary Clone helm
|
|
23992
|
+
* @param {string} helmId Helm ID
|
|
23993
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
23994
|
+
* @param {*} [options] Override http request option.
|
|
23995
|
+
* @throws {RequiredError}
|
|
23996
|
+
*/
|
|
23997
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
23998
|
+
return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
23999
|
+
},
|
|
24012
24000
|
/**
|
|
24013
24001
|
*
|
|
24014
24002
|
* @summary Create a helm
|
|
@@ -24060,6 +24048,18 @@ export const HelmsApiFactory = function (configuration, basePath, axios) {
|
|
|
24060
24048
|
* @extends {BaseAPI}
|
|
24061
24049
|
*/
|
|
24062
24050
|
export class HelmsApi extends BaseAPI {
|
|
24051
|
+
/**
|
|
24052
|
+
* This will create a new helm with the same configuration on the targeted environment Id.
|
|
24053
|
+
* @summary Clone helm
|
|
24054
|
+
* @param {string} helmId Helm ID
|
|
24055
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
24056
|
+
* @param {*} [options] Override http request option.
|
|
24057
|
+
* @throws {RequiredError}
|
|
24058
|
+
* @memberof HelmsApi
|
|
24059
|
+
*/
|
|
24060
|
+
cloneHelm(helmId, cloneServiceRequest, options) {
|
|
24061
|
+
return HelmsApiFp(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
24062
|
+
}
|
|
24063
24063
|
/**
|
|
24064
24064
|
*
|
|
24065
24065
|
* @summary Create a helm
|