qovery-typescript-axios 1.1.417 → 1.1.419
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 +244 -0
- package/dist/api.d.ts +146 -0
- package/dist/api.js +166 -0
- package/dist/esm/api.d.ts +146 -0
- package/dist/esm/api.js +166 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4215,6 +4215,38 @@ export interface ContainerSource {
|
|
|
4215
4215
|
*/
|
|
4216
4216
|
'registry': ContainerRegistryProviderDetailsResponse;
|
|
4217
4217
|
}
|
|
4218
|
+
/**
|
|
4219
|
+
*
|
|
4220
|
+
* @export
|
|
4221
|
+
* @interface ContainerVersionResponse
|
|
4222
|
+
*/
|
|
4223
|
+
export interface ContainerVersionResponse {
|
|
4224
|
+
/**
|
|
4225
|
+
*
|
|
4226
|
+
* @type {string}
|
|
4227
|
+
* @memberof ContainerVersionResponse
|
|
4228
|
+
*/
|
|
4229
|
+
'image_name'?: string;
|
|
4230
|
+
/**
|
|
4231
|
+
*
|
|
4232
|
+
* @type {Array<string>}
|
|
4233
|
+
* @memberof ContainerVersionResponse
|
|
4234
|
+
*/
|
|
4235
|
+
'versions'?: Array<string>;
|
|
4236
|
+
}
|
|
4237
|
+
/**
|
|
4238
|
+
*
|
|
4239
|
+
* @export
|
|
4240
|
+
* @interface ContainerVersionResponseList
|
|
4241
|
+
*/
|
|
4242
|
+
export interface ContainerVersionResponseList {
|
|
4243
|
+
/**
|
|
4244
|
+
*
|
|
4245
|
+
* @type {Array<ContainerVersionResponse>}
|
|
4246
|
+
* @memberof ContainerVersionResponseList
|
|
4247
|
+
*/
|
|
4248
|
+
'results'?: Array<ContainerVersionResponse>;
|
|
4249
|
+
}
|
|
4218
4250
|
/**
|
|
4219
4251
|
*
|
|
4220
4252
|
* @export
|
|
@@ -8802,6 +8834,38 @@ export interface HelmResponseList {
|
|
|
8802
8834
|
*/
|
|
8803
8835
|
'results'?: Array<HelmResponse>;
|
|
8804
8836
|
}
|
|
8837
|
+
/**
|
|
8838
|
+
*
|
|
8839
|
+
* @export
|
|
8840
|
+
* @interface HelmVersionResponse
|
|
8841
|
+
*/
|
|
8842
|
+
export interface HelmVersionResponse {
|
|
8843
|
+
/**
|
|
8844
|
+
*
|
|
8845
|
+
* @type {string}
|
|
8846
|
+
* @memberof HelmVersionResponse
|
|
8847
|
+
*/
|
|
8848
|
+
'chart_name'?: string;
|
|
8849
|
+
/**
|
|
8850
|
+
*
|
|
8851
|
+
* @type {Array<string>}
|
|
8852
|
+
* @memberof HelmVersionResponse
|
|
8853
|
+
*/
|
|
8854
|
+
'versions'?: Array<string>;
|
|
8855
|
+
}
|
|
8856
|
+
/**
|
|
8857
|
+
*
|
|
8858
|
+
* @export
|
|
8859
|
+
* @interface HelmVersionResponseList
|
|
8860
|
+
*/
|
|
8861
|
+
export interface HelmVersionResponseList {
|
|
8862
|
+
/**
|
|
8863
|
+
*
|
|
8864
|
+
* @type {Array<HelmVersionResponse>}
|
|
8865
|
+
* @memberof HelmVersionResponseList
|
|
8866
|
+
*/
|
|
8867
|
+
'results'?: Array<HelmVersionResponse>;
|
|
8868
|
+
}
|
|
8805
8869
|
/**
|
|
8806
8870
|
*
|
|
8807
8871
|
* @export
|
|
@@ -26740,6 +26804,58 @@ export const ContainerRegistriesApiAxiosParamCreator = function (configuration?:
|
|
|
26740
26804
|
|
|
26741
26805
|
|
|
26742
26806
|
|
|
26807
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26808
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26809
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26810
|
+
|
|
26811
|
+
return {
|
|
26812
|
+
url: toPathString(localVarUrlObj),
|
|
26813
|
+
options: localVarRequestOptions,
|
|
26814
|
+
};
|
|
26815
|
+
},
|
|
26816
|
+
/**
|
|
26817
|
+
*
|
|
26818
|
+
* @summary List image version for a container registry
|
|
26819
|
+
* @param {string} organizationId Organization ID
|
|
26820
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
26821
|
+
* @param {string} imageName container image name
|
|
26822
|
+
* @param {*} [options] Override http request option.
|
|
26823
|
+
* @throws {RequiredError}
|
|
26824
|
+
*/
|
|
26825
|
+
getContainerVersions: async (organizationId: string, containerRegistryId: string, imageName: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26826
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
26827
|
+
assertParamExists('getContainerVersions', 'organizationId', organizationId)
|
|
26828
|
+
// verify required parameter 'containerRegistryId' is not null or undefined
|
|
26829
|
+
assertParamExists('getContainerVersions', 'containerRegistryId', containerRegistryId)
|
|
26830
|
+
// verify required parameter 'imageName' is not null or undefined
|
|
26831
|
+
assertParamExists('getContainerVersions', 'imageName', imageName)
|
|
26832
|
+
const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}/images`
|
|
26833
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
26834
|
+
.replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
|
|
26835
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26836
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26837
|
+
let baseOptions;
|
|
26838
|
+
if (configuration) {
|
|
26839
|
+
baseOptions = configuration.baseOptions;
|
|
26840
|
+
}
|
|
26841
|
+
|
|
26842
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26843
|
+
const localVarHeaderParameter = {} as any;
|
|
26844
|
+
const localVarQueryParameter = {} as any;
|
|
26845
|
+
|
|
26846
|
+
// authentication ApiKeyAuth required
|
|
26847
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26848
|
+
|
|
26849
|
+
// authentication bearerAuth required
|
|
26850
|
+
// http bearer authentication required
|
|
26851
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26852
|
+
|
|
26853
|
+
if (imageName !== undefined) {
|
|
26854
|
+
localVarQueryParameter['imageName'] = imageName;
|
|
26855
|
+
}
|
|
26856
|
+
|
|
26857
|
+
|
|
26858
|
+
|
|
26743
26859
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26744
26860
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26745
26861
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -26886,6 +27002,19 @@ export const ContainerRegistriesApiFp = function(configuration?: Configuration)
|
|
|
26886
27002
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getContainerRegistry(organizationId, containerRegistryId, options);
|
|
26887
27003
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26888
27004
|
},
|
|
27005
|
+
/**
|
|
27006
|
+
*
|
|
27007
|
+
* @summary List image version for a container registry
|
|
27008
|
+
* @param {string} organizationId Organization ID
|
|
27009
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
27010
|
+
* @param {string} imageName container image name
|
|
27011
|
+
* @param {*} [options] Override http request option.
|
|
27012
|
+
* @throws {RequiredError}
|
|
27013
|
+
*/
|
|
27014
|
+
async getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerVersionResponseList>> {
|
|
27015
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getContainerVersions(organizationId, containerRegistryId, imageName, options);
|
|
27016
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27017
|
+
},
|
|
26889
27018
|
/**
|
|
26890
27019
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
26891
27020
|
* @summary List supported container registries
|
|
@@ -26962,6 +27091,18 @@ export const ContainerRegistriesApiFactory = function (configuration?: Configura
|
|
|
26962
27091
|
getContainerRegistry(organizationId: string, containerRegistryId: string, options?: any): AxiosPromise<ContainerRegistryResponse> {
|
|
26963
27092
|
return localVarFp.getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
|
|
26964
27093
|
},
|
|
27094
|
+
/**
|
|
27095
|
+
*
|
|
27096
|
+
* @summary List image version for a container registry
|
|
27097
|
+
* @param {string} organizationId Organization ID
|
|
27098
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
27099
|
+
* @param {string} imageName container image name
|
|
27100
|
+
* @param {*} [options] Override http request option.
|
|
27101
|
+
* @throws {RequiredError}
|
|
27102
|
+
*/
|
|
27103
|
+
getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: any): AxiosPromise<ContainerVersionResponseList> {
|
|
27104
|
+
return localVarFp.getContainerVersions(organizationId, containerRegistryId, imageName, options).then((request) => request(axios, basePath));
|
|
27105
|
+
},
|
|
26965
27106
|
/**
|
|
26966
27107
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
26967
27108
|
* @summary List supported container registries
|
|
@@ -27044,6 +27185,20 @@ export class ContainerRegistriesApi extends BaseAPI {
|
|
|
27044
27185
|
return ContainerRegistriesApiFp(this.configuration).getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
|
|
27045
27186
|
}
|
|
27046
27187
|
|
|
27188
|
+
/**
|
|
27189
|
+
*
|
|
27190
|
+
* @summary List image version for a container registry
|
|
27191
|
+
* @param {string} organizationId Organization ID
|
|
27192
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
27193
|
+
* @param {string} imageName container image name
|
|
27194
|
+
* @param {*} [options] Override http request option.
|
|
27195
|
+
* @throws {RequiredError}
|
|
27196
|
+
* @memberof ContainerRegistriesApi
|
|
27197
|
+
*/
|
|
27198
|
+
public getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig) {
|
|
27199
|
+
return ContainerRegistriesApiFp(this.configuration).getContainerVersions(organizationId, containerRegistryId, imageName, options).then((request) => request(this.axios, this.basePath));
|
|
27200
|
+
}
|
|
27201
|
+
|
|
27047
27202
|
/**
|
|
27048
27203
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
27049
27204
|
* @summary List supported container registries
|
|
@@ -37394,6 +37549,56 @@ export const HelmRepositoriesApiAxiosParamCreator = function (configuration?: Co
|
|
|
37394
37549
|
options: localVarRequestOptions,
|
|
37395
37550
|
};
|
|
37396
37551
|
},
|
|
37552
|
+
/**
|
|
37553
|
+
*
|
|
37554
|
+
* @summary List helm charts contained inside the repository
|
|
37555
|
+
* @param {string} organizationId Organization ID
|
|
37556
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
37557
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
37558
|
+
* @param {*} [options] Override http request option.
|
|
37559
|
+
* @throws {RequiredError}
|
|
37560
|
+
*/
|
|
37561
|
+
getHelmCharts: async (organizationId: string, helmRepositoryId: string, chartName?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37562
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
37563
|
+
assertParamExists('getHelmCharts', 'organizationId', organizationId)
|
|
37564
|
+
// verify required parameter 'helmRepositoryId' is not null or undefined
|
|
37565
|
+
assertParamExists('getHelmCharts', 'helmRepositoryId', helmRepositoryId)
|
|
37566
|
+
const localVarPath = `/organization/{organizationId}/helmRepository/{helmRepositoryId}/charts`
|
|
37567
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
37568
|
+
.replace(`{${"helmRepositoryId"}}`, encodeURIComponent(String(helmRepositoryId)));
|
|
37569
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37570
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37571
|
+
let baseOptions;
|
|
37572
|
+
if (configuration) {
|
|
37573
|
+
baseOptions = configuration.baseOptions;
|
|
37574
|
+
}
|
|
37575
|
+
|
|
37576
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
37577
|
+
const localVarHeaderParameter = {} as any;
|
|
37578
|
+
const localVarQueryParameter = {} as any;
|
|
37579
|
+
|
|
37580
|
+
// authentication ApiKeyAuth required
|
|
37581
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
37582
|
+
|
|
37583
|
+
// authentication bearerAuth required
|
|
37584
|
+
// http bearer authentication required
|
|
37585
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
37586
|
+
|
|
37587
|
+
if (chartName !== undefined) {
|
|
37588
|
+
localVarQueryParameter['chartName'] = chartName;
|
|
37589
|
+
}
|
|
37590
|
+
|
|
37591
|
+
|
|
37592
|
+
|
|
37593
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37594
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37595
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37596
|
+
|
|
37597
|
+
return {
|
|
37598
|
+
url: toPathString(localVarUrlObj),
|
|
37599
|
+
options: localVarRequestOptions,
|
|
37600
|
+
};
|
|
37601
|
+
},
|
|
37397
37602
|
/**
|
|
37398
37603
|
*
|
|
37399
37604
|
* @summary Get a helm repository
|
|
@@ -37564,6 +37769,19 @@ export const HelmRepositoriesApiFp = function(configuration?: Configuration) {
|
|
|
37564
37769
|
const localVarAxiosArgs = await localVarAxiosParamCreator.editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options);
|
|
37565
37770
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37566
37771
|
},
|
|
37772
|
+
/**
|
|
37773
|
+
*
|
|
37774
|
+
* @summary List helm charts contained inside the repository
|
|
37775
|
+
* @param {string} organizationId Organization ID
|
|
37776
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
37777
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
37778
|
+
* @param {*} [options] Override http request option.
|
|
37779
|
+
* @throws {RequiredError}
|
|
37780
|
+
*/
|
|
37781
|
+
async getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmVersionResponseList>> {
|
|
37782
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmCharts(organizationId, helmRepositoryId, chartName, options);
|
|
37783
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
37784
|
+
},
|
|
37567
37785
|
/**
|
|
37568
37786
|
*
|
|
37569
37787
|
* @summary Get a helm repository
|
|
@@ -37641,6 +37859,18 @@ export const HelmRepositoriesApiFactory = function (configuration?: Configuratio
|
|
|
37641
37859
|
editHelmRepository(organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: any): AxiosPromise<HelmRepositoryResponse> {
|
|
37642
37860
|
return localVarFp.editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options).then((request) => request(axios, basePath));
|
|
37643
37861
|
},
|
|
37862
|
+
/**
|
|
37863
|
+
*
|
|
37864
|
+
* @summary List helm charts contained inside the repository
|
|
37865
|
+
* @param {string} organizationId Organization ID
|
|
37866
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
37867
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
37868
|
+
* @param {*} [options] Override http request option.
|
|
37869
|
+
* @throws {RequiredError}
|
|
37870
|
+
*/
|
|
37871
|
+
getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: any): AxiosPromise<HelmVersionResponseList> {
|
|
37872
|
+
return localVarFp.getHelmCharts(organizationId, helmRepositoryId, chartName, options).then((request) => request(axios, basePath));
|
|
37873
|
+
},
|
|
37644
37874
|
/**
|
|
37645
37875
|
*
|
|
37646
37876
|
* @summary Get a helm repository
|
|
@@ -37721,6 +37951,20 @@ export class HelmRepositoriesApi extends BaseAPI {
|
|
|
37721
37951
|
return HelmRepositoriesApiFp(this.configuration).editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37722
37952
|
}
|
|
37723
37953
|
|
|
37954
|
+
/**
|
|
37955
|
+
*
|
|
37956
|
+
* @summary List helm charts contained inside the repository
|
|
37957
|
+
* @param {string} organizationId Organization ID
|
|
37958
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
37959
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
37960
|
+
* @param {*} [options] Override http request option.
|
|
37961
|
+
* @throws {RequiredError}
|
|
37962
|
+
* @memberof HelmRepositoriesApi
|
|
37963
|
+
*/
|
|
37964
|
+
public getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig) {
|
|
37965
|
+
return HelmRepositoriesApiFp(this.configuration).getHelmCharts(organizationId, helmRepositoryId, chartName, options).then((request) => request(this.axios, this.basePath));
|
|
37966
|
+
}
|
|
37967
|
+
|
|
37724
37968
|
/**
|
|
37725
37969
|
*
|
|
37726
37970
|
* @summary Get a helm repository
|
package/dist/api.d.ts
CHANGED
|
@@ -4110,6 +4110,38 @@ export interface ContainerSource {
|
|
|
4110
4110
|
*/
|
|
4111
4111
|
'registry': ContainerRegistryProviderDetailsResponse;
|
|
4112
4112
|
}
|
|
4113
|
+
/**
|
|
4114
|
+
*
|
|
4115
|
+
* @export
|
|
4116
|
+
* @interface ContainerVersionResponse
|
|
4117
|
+
*/
|
|
4118
|
+
export interface ContainerVersionResponse {
|
|
4119
|
+
/**
|
|
4120
|
+
*
|
|
4121
|
+
* @type {string}
|
|
4122
|
+
* @memberof ContainerVersionResponse
|
|
4123
|
+
*/
|
|
4124
|
+
'image_name'?: string;
|
|
4125
|
+
/**
|
|
4126
|
+
*
|
|
4127
|
+
* @type {Array<string>}
|
|
4128
|
+
* @memberof ContainerVersionResponse
|
|
4129
|
+
*/
|
|
4130
|
+
'versions'?: Array<string>;
|
|
4131
|
+
}
|
|
4132
|
+
/**
|
|
4133
|
+
*
|
|
4134
|
+
* @export
|
|
4135
|
+
* @interface ContainerVersionResponseList
|
|
4136
|
+
*/
|
|
4137
|
+
export interface ContainerVersionResponseList {
|
|
4138
|
+
/**
|
|
4139
|
+
*
|
|
4140
|
+
* @type {Array<ContainerVersionResponse>}
|
|
4141
|
+
* @memberof ContainerVersionResponseList
|
|
4142
|
+
*/
|
|
4143
|
+
'results'?: Array<ContainerVersionResponse>;
|
|
4144
|
+
}
|
|
4113
4145
|
/**
|
|
4114
4146
|
*
|
|
4115
4147
|
* @export
|
|
@@ -8560,6 +8592,38 @@ export interface HelmResponseList {
|
|
|
8560
8592
|
*/
|
|
8561
8593
|
'results'?: Array<HelmResponse>;
|
|
8562
8594
|
}
|
|
8595
|
+
/**
|
|
8596
|
+
*
|
|
8597
|
+
* @export
|
|
8598
|
+
* @interface HelmVersionResponse
|
|
8599
|
+
*/
|
|
8600
|
+
export interface HelmVersionResponse {
|
|
8601
|
+
/**
|
|
8602
|
+
*
|
|
8603
|
+
* @type {string}
|
|
8604
|
+
* @memberof HelmVersionResponse
|
|
8605
|
+
*/
|
|
8606
|
+
'chart_name'?: string;
|
|
8607
|
+
/**
|
|
8608
|
+
*
|
|
8609
|
+
* @type {Array<string>}
|
|
8610
|
+
* @memberof HelmVersionResponse
|
|
8611
|
+
*/
|
|
8612
|
+
'versions'?: Array<string>;
|
|
8613
|
+
}
|
|
8614
|
+
/**
|
|
8615
|
+
*
|
|
8616
|
+
* @export
|
|
8617
|
+
* @interface HelmVersionResponseList
|
|
8618
|
+
*/
|
|
8619
|
+
export interface HelmVersionResponseList {
|
|
8620
|
+
/**
|
|
8621
|
+
*
|
|
8622
|
+
* @type {Array<HelmVersionResponse>}
|
|
8623
|
+
* @memberof HelmVersionResponseList
|
|
8624
|
+
*/
|
|
8625
|
+
'results'?: Array<HelmVersionResponse>;
|
|
8626
|
+
}
|
|
8563
8627
|
/**
|
|
8564
8628
|
*
|
|
8565
8629
|
* @export
|
|
@@ -19631,6 +19695,16 @@ export declare const ContainerRegistriesApiAxiosParamCreator: (configuration?: C
|
|
|
19631
19695
|
* @throws {RequiredError}
|
|
19632
19696
|
*/
|
|
19633
19697
|
getContainerRegistry: (organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19698
|
+
/**
|
|
19699
|
+
*
|
|
19700
|
+
* @summary List image version for a container registry
|
|
19701
|
+
* @param {string} organizationId Organization ID
|
|
19702
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19703
|
+
* @param {string} imageName container image name
|
|
19704
|
+
* @param {*} [options] Override http request option.
|
|
19705
|
+
* @throws {RequiredError}
|
|
19706
|
+
*/
|
|
19707
|
+
getContainerVersions: (organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19634
19708
|
/**
|
|
19635
19709
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19636
19710
|
* @summary List supported container registries
|
|
@@ -19689,6 +19763,16 @@ export declare const ContainerRegistriesApiFp: (configuration?: Configuration) =
|
|
|
19689
19763
|
* @throws {RequiredError}
|
|
19690
19764
|
*/
|
|
19691
19765
|
getContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerRegistryResponse>>;
|
|
19766
|
+
/**
|
|
19767
|
+
*
|
|
19768
|
+
* @summary List image version for a container registry
|
|
19769
|
+
* @param {string} organizationId Organization ID
|
|
19770
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19771
|
+
* @param {string} imageName container image name
|
|
19772
|
+
* @param {*} [options] Override http request option.
|
|
19773
|
+
* @throws {RequiredError}
|
|
19774
|
+
*/
|
|
19775
|
+
getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerVersionResponseList>>;
|
|
19692
19776
|
/**
|
|
19693
19777
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19694
19778
|
* @summary List supported container registries
|
|
@@ -19747,6 +19831,16 @@ export declare const ContainerRegistriesApiFactory: (configuration?: Configurati
|
|
|
19747
19831
|
* @throws {RequiredError}
|
|
19748
19832
|
*/
|
|
19749
19833
|
getContainerRegistry(organizationId: string, containerRegistryId: string, options?: any): AxiosPromise<ContainerRegistryResponse>;
|
|
19834
|
+
/**
|
|
19835
|
+
*
|
|
19836
|
+
* @summary List image version for a container registry
|
|
19837
|
+
* @param {string} organizationId Organization ID
|
|
19838
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19839
|
+
* @param {string} imageName container image name
|
|
19840
|
+
* @param {*} [options] Override http request option.
|
|
19841
|
+
* @throws {RequiredError}
|
|
19842
|
+
*/
|
|
19843
|
+
getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: any): AxiosPromise<ContainerVersionResponseList>;
|
|
19750
19844
|
/**
|
|
19751
19845
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19752
19846
|
* @summary List supported container registries
|
|
@@ -19811,6 +19905,17 @@ export declare class ContainerRegistriesApi extends BaseAPI {
|
|
|
19811
19905
|
* @memberof ContainerRegistriesApi
|
|
19812
19906
|
*/
|
|
19813
19907
|
getContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerRegistryResponse, any>>;
|
|
19908
|
+
/**
|
|
19909
|
+
*
|
|
19910
|
+
* @summary List image version for a container registry
|
|
19911
|
+
* @param {string} organizationId Organization ID
|
|
19912
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19913
|
+
* @param {string} imageName container image name
|
|
19914
|
+
* @param {*} [options] Override http request option.
|
|
19915
|
+
* @throws {RequiredError}
|
|
19916
|
+
* @memberof ContainerRegistriesApi
|
|
19917
|
+
*/
|
|
19918
|
+
getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerVersionResponseList, any>>;
|
|
19814
19919
|
/**
|
|
19815
19920
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19816
19921
|
* @summary List supported container registries
|
|
@@ -24704,6 +24809,16 @@ export declare const HelmRepositoriesApiAxiosParamCreator: (configuration?: Conf
|
|
|
24704
24809
|
* @throws {RequiredError}
|
|
24705
24810
|
*/
|
|
24706
24811
|
editHelmRepository: (organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24812
|
+
/**
|
|
24813
|
+
*
|
|
24814
|
+
* @summary List helm charts contained inside the repository
|
|
24815
|
+
* @param {string} organizationId Organization ID
|
|
24816
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
24817
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
24818
|
+
* @param {*} [options] Override http request option.
|
|
24819
|
+
* @throws {RequiredError}
|
|
24820
|
+
*/
|
|
24821
|
+
getHelmCharts: (organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24707
24822
|
/**
|
|
24708
24823
|
*
|
|
24709
24824
|
* @summary Get a helm repository
|
|
@@ -24762,6 +24877,16 @@ export declare const HelmRepositoriesApiFp: (configuration?: Configuration) => {
|
|
|
24762
24877
|
* @throws {RequiredError}
|
|
24763
24878
|
*/
|
|
24764
24879
|
editHelmRepository(organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRepositoryResponse>>;
|
|
24880
|
+
/**
|
|
24881
|
+
*
|
|
24882
|
+
* @summary List helm charts contained inside the repository
|
|
24883
|
+
* @param {string} organizationId Organization ID
|
|
24884
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
24885
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
24886
|
+
* @param {*} [options] Override http request option.
|
|
24887
|
+
* @throws {RequiredError}
|
|
24888
|
+
*/
|
|
24889
|
+
getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmVersionResponseList>>;
|
|
24765
24890
|
/**
|
|
24766
24891
|
*
|
|
24767
24892
|
* @summary Get a helm repository
|
|
@@ -24820,6 +24945,16 @@ export declare const HelmRepositoriesApiFactory: (configuration?: Configuration,
|
|
|
24820
24945
|
* @throws {RequiredError}
|
|
24821
24946
|
*/
|
|
24822
24947
|
editHelmRepository(organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: any): AxiosPromise<HelmRepositoryResponse>;
|
|
24948
|
+
/**
|
|
24949
|
+
*
|
|
24950
|
+
* @summary List helm charts contained inside the repository
|
|
24951
|
+
* @param {string} organizationId Organization ID
|
|
24952
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
24953
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
24954
|
+
* @param {*} [options] Override http request option.
|
|
24955
|
+
* @throws {RequiredError}
|
|
24956
|
+
*/
|
|
24957
|
+
getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: any): AxiosPromise<HelmVersionResponseList>;
|
|
24823
24958
|
/**
|
|
24824
24959
|
*
|
|
24825
24960
|
* @summary Get a helm repository
|
|
@@ -24883,6 +25018,17 @@ export declare class HelmRepositoriesApi extends BaseAPI {
|
|
|
24883
25018
|
* @memberof HelmRepositoriesApi
|
|
24884
25019
|
*/
|
|
24885
25020
|
editHelmRepository(organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmRepositoryResponse, any>>;
|
|
25021
|
+
/**
|
|
25022
|
+
*
|
|
25023
|
+
* @summary List helm charts contained inside the repository
|
|
25024
|
+
* @param {string} organizationId Organization ID
|
|
25025
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
25026
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
25027
|
+
* @param {*} [options] Override http request option.
|
|
25028
|
+
* @throws {RequiredError}
|
|
25029
|
+
* @memberof HelmRepositoriesApi
|
|
25030
|
+
*/
|
|
25031
|
+
getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmVersionResponseList, any>>;
|
|
24886
25032
|
/**
|
|
24887
25033
|
*
|
|
24888
25034
|
* @summary Get a helm repository
|
package/dist/api.js
CHANGED
|
@@ -12277,6 +12277,50 @@ const ContainerRegistriesApiAxiosParamCreator = function (configuration) {
|
|
|
12277
12277
|
options: localVarRequestOptions,
|
|
12278
12278
|
};
|
|
12279
12279
|
}),
|
|
12280
|
+
/**
|
|
12281
|
+
*
|
|
12282
|
+
* @summary List image version for a container registry
|
|
12283
|
+
* @param {string} organizationId Organization ID
|
|
12284
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12285
|
+
* @param {string} imageName container image name
|
|
12286
|
+
* @param {*} [options] Override http request option.
|
|
12287
|
+
* @throws {RequiredError}
|
|
12288
|
+
*/
|
|
12289
|
+
getContainerVersions: (organizationId, containerRegistryId, imageName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
12290
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
12291
|
+
(0, common_1.assertParamExists)('getContainerVersions', 'organizationId', organizationId);
|
|
12292
|
+
// verify required parameter 'containerRegistryId' is not null or undefined
|
|
12293
|
+
(0, common_1.assertParamExists)('getContainerVersions', 'containerRegistryId', containerRegistryId);
|
|
12294
|
+
// verify required parameter 'imageName' is not null or undefined
|
|
12295
|
+
(0, common_1.assertParamExists)('getContainerVersions', 'imageName', imageName);
|
|
12296
|
+
const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}/images`
|
|
12297
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
12298
|
+
.replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
|
|
12299
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12300
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12301
|
+
let baseOptions;
|
|
12302
|
+
if (configuration) {
|
|
12303
|
+
baseOptions = configuration.baseOptions;
|
|
12304
|
+
}
|
|
12305
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12306
|
+
const localVarHeaderParameter = {};
|
|
12307
|
+
const localVarQueryParameter = {};
|
|
12308
|
+
// authentication ApiKeyAuth required
|
|
12309
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12310
|
+
// authentication bearerAuth required
|
|
12311
|
+
// http bearer authentication required
|
|
12312
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12313
|
+
if (imageName !== undefined) {
|
|
12314
|
+
localVarQueryParameter['imageName'] = imageName;
|
|
12315
|
+
}
|
|
12316
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12317
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12318
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12319
|
+
return {
|
|
12320
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12321
|
+
options: localVarRequestOptions,
|
|
12322
|
+
};
|
|
12323
|
+
}),
|
|
12280
12324
|
/**
|
|
12281
12325
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12282
12326
|
* @summary List supported container registries
|
|
@@ -12408,6 +12452,21 @@ const ContainerRegistriesApiFp = function (configuration) {
|
|
|
12408
12452
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
12409
12453
|
});
|
|
12410
12454
|
},
|
|
12455
|
+
/**
|
|
12456
|
+
*
|
|
12457
|
+
* @summary List image version for a container registry
|
|
12458
|
+
* @param {string} organizationId Organization ID
|
|
12459
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12460
|
+
* @param {string} imageName container image name
|
|
12461
|
+
* @param {*} [options] Override http request option.
|
|
12462
|
+
* @throws {RequiredError}
|
|
12463
|
+
*/
|
|
12464
|
+
getContainerVersions(organizationId, containerRegistryId, imageName, options) {
|
|
12465
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12466
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getContainerVersions(organizationId, containerRegistryId, imageName, options);
|
|
12467
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
12468
|
+
});
|
|
12469
|
+
},
|
|
12411
12470
|
/**
|
|
12412
12471
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12413
12472
|
* @summary List supported container registries
|
|
@@ -12488,6 +12547,18 @@ const ContainerRegistriesApiFactory = function (configuration, basePath, axios)
|
|
|
12488
12547
|
getContainerRegistry(organizationId, containerRegistryId, options) {
|
|
12489
12548
|
return localVarFp.getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
|
|
12490
12549
|
},
|
|
12550
|
+
/**
|
|
12551
|
+
*
|
|
12552
|
+
* @summary List image version for a container registry
|
|
12553
|
+
* @param {string} organizationId Organization ID
|
|
12554
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12555
|
+
* @param {string} imageName container image name
|
|
12556
|
+
* @param {*} [options] Override http request option.
|
|
12557
|
+
* @throws {RequiredError}
|
|
12558
|
+
*/
|
|
12559
|
+
getContainerVersions(organizationId, containerRegistryId, imageName, options) {
|
|
12560
|
+
return localVarFp.getContainerVersions(organizationId, containerRegistryId, imageName, options).then((request) => request(axios, basePath));
|
|
12561
|
+
},
|
|
12491
12562
|
/**
|
|
12492
12563
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12493
12564
|
* @summary List supported container registries
|
|
@@ -12566,6 +12637,19 @@ class ContainerRegistriesApi extends base_1.BaseAPI {
|
|
|
12566
12637
|
getContainerRegistry(organizationId, containerRegistryId, options) {
|
|
12567
12638
|
return (0, exports.ContainerRegistriesApiFp)(this.configuration).getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
|
|
12568
12639
|
}
|
|
12640
|
+
/**
|
|
12641
|
+
*
|
|
12642
|
+
* @summary List image version for a container registry
|
|
12643
|
+
* @param {string} organizationId Organization ID
|
|
12644
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12645
|
+
* @param {string} imageName container image name
|
|
12646
|
+
* @param {*} [options] Override http request option.
|
|
12647
|
+
* @throws {RequiredError}
|
|
12648
|
+
* @memberof ContainerRegistriesApi
|
|
12649
|
+
*/
|
|
12650
|
+
getContainerVersions(organizationId, containerRegistryId, imageName, options) {
|
|
12651
|
+
return (0, exports.ContainerRegistriesApiFp)(this.configuration).getContainerVersions(organizationId, containerRegistryId, imageName, options).then((request) => request(this.axios, this.basePath));
|
|
12652
|
+
}
|
|
12569
12653
|
/**
|
|
12570
12654
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12571
12655
|
* @summary List supported container registries
|
|
@@ -22114,6 +22198,48 @@ const HelmRepositoriesApiAxiosParamCreator = function (configuration) {
|
|
|
22114
22198
|
options: localVarRequestOptions,
|
|
22115
22199
|
};
|
|
22116
22200
|
}),
|
|
22201
|
+
/**
|
|
22202
|
+
*
|
|
22203
|
+
* @summary List helm charts contained inside the repository
|
|
22204
|
+
* @param {string} organizationId Organization ID
|
|
22205
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
22206
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
22207
|
+
* @param {*} [options] Override http request option.
|
|
22208
|
+
* @throws {RequiredError}
|
|
22209
|
+
*/
|
|
22210
|
+
getHelmCharts: (organizationId, helmRepositoryId, chartName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
22211
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
22212
|
+
(0, common_1.assertParamExists)('getHelmCharts', 'organizationId', organizationId);
|
|
22213
|
+
// verify required parameter 'helmRepositoryId' is not null or undefined
|
|
22214
|
+
(0, common_1.assertParamExists)('getHelmCharts', 'helmRepositoryId', helmRepositoryId);
|
|
22215
|
+
const localVarPath = `/organization/{organizationId}/helmRepository/{helmRepositoryId}/charts`
|
|
22216
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
22217
|
+
.replace(`{${"helmRepositoryId"}}`, encodeURIComponent(String(helmRepositoryId)));
|
|
22218
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22219
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22220
|
+
let baseOptions;
|
|
22221
|
+
if (configuration) {
|
|
22222
|
+
baseOptions = configuration.baseOptions;
|
|
22223
|
+
}
|
|
22224
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
22225
|
+
const localVarHeaderParameter = {};
|
|
22226
|
+
const localVarQueryParameter = {};
|
|
22227
|
+
// authentication ApiKeyAuth required
|
|
22228
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
22229
|
+
// authentication bearerAuth required
|
|
22230
|
+
// http bearer authentication required
|
|
22231
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
22232
|
+
if (chartName !== undefined) {
|
|
22233
|
+
localVarQueryParameter['chartName'] = chartName;
|
|
22234
|
+
}
|
|
22235
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
22236
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22237
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22238
|
+
return {
|
|
22239
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
22240
|
+
options: localVarRequestOptions,
|
|
22241
|
+
};
|
|
22242
|
+
}),
|
|
22117
22243
|
/**
|
|
22118
22244
|
*
|
|
22119
22245
|
* @summary Get a helm repository
|
|
@@ -22269,6 +22395,21 @@ const HelmRepositoriesApiFp = function (configuration) {
|
|
|
22269
22395
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
22270
22396
|
});
|
|
22271
22397
|
},
|
|
22398
|
+
/**
|
|
22399
|
+
*
|
|
22400
|
+
* @summary List helm charts contained inside the repository
|
|
22401
|
+
* @param {string} organizationId Organization ID
|
|
22402
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
22403
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
22404
|
+
* @param {*} [options] Override http request option.
|
|
22405
|
+
* @throws {RequiredError}
|
|
22406
|
+
*/
|
|
22407
|
+
getHelmCharts(organizationId, helmRepositoryId, chartName, options) {
|
|
22408
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22409
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getHelmCharts(organizationId, helmRepositoryId, chartName, options);
|
|
22410
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
22411
|
+
});
|
|
22412
|
+
},
|
|
22272
22413
|
/**
|
|
22273
22414
|
*
|
|
22274
22415
|
* @summary Get a helm repository
|
|
@@ -22352,6 +22493,18 @@ const HelmRepositoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
22352
22493
|
editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options) {
|
|
22353
22494
|
return localVarFp.editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options).then((request) => request(axios, basePath));
|
|
22354
22495
|
},
|
|
22496
|
+
/**
|
|
22497
|
+
*
|
|
22498
|
+
* @summary List helm charts contained inside the repository
|
|
22499
|
+
* @param {string} organizationId Organization ID
|
|
22500
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
22501
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
22502
|
+
* @param {*} [options] Override http request option.
|
|
22503
|
+
* @throws {RequiredError}
|
|
22504
|
+
*/
|
|
22505
|
+
getHelmCharts(organizationId, helmRepositoryId, chartName, options) {
|
|
22506
|
+
return localVarFp.getHelmCharts(organizationId, helmRepositoryId, chartName, options).then((request) => request(axios, basePath));
|
|
22507
|
+
},
|
|
22355
22508
|
/**
|
|
22356
22509
|
*
|
|
22357
22510
|
* @summary Get a helm repository
|
|
@@ -22429,6 +22582,19 @@ class HelmRepositoriesApi extends base_1.BaseAPI {
|
|
|
22429
22582
|
editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options) {
|
|
22430
22583
|
return (0, exports.HelmRepositoriesApiFp)(this.configuration).editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22431
22584
|
}
|
|
22585
|
+
/**
|
|
22586
|
+
*
|
|
22587
|
+
* @summary List helm charts contained inside the repository
|
|
22588
|
+
* @param {string} organizationId Organization ID
|
|
22589
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
22590
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
22591
|
+
* @param {*} [options] Override http request option.
|
|
22592
|
+
* @throws {RequiredError}
|
|
22593
|
+
* @memberof HelmRepositoriesApi
|
|
22594
|
+
*/
|
|
22595
|
+
getHelmCharts(organizationId, helmRepositoryId, chartName, options) {
|
|
22596
|
+
return (0, exports.HelmRepositoriesApiFp)(this.configuration).getHelmCharts(organizationId, helmRepositoryId, chartName, options).then((request) => request(this.axios, this.basePath));
|
|
22597
|
+
}
|
|
22432
22598
|
/**
|
|
22433
22599
|
*
|
|
22434
22600
|
* @summary Get a helm repository
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -4110,6 +4110,38 @@ export interface ContainerSource {
|
|
|
4110
4110
|
*/
|
|
4111
4111
|
'registry': ContainerRegistryProviderDetailsResponse;
|
|
4112
4112
|
}
|
|
4113
|
+
/**
|
|
4114
|
+
*
|
|
4115
|
+
* @export
|
|
4116
|
+
* @interface ContainerVersionResponse
|
|
4117
|
+
*/
|
|
4118
|
+
export interface ContainerVersionResponse {
|
|
4119
|
+
/**
|
|
4120
|
+
*
|
|
4121
|
+
* @type {string}
|
|
4122
|
+
* @memberof ContainerVersionResponse
|
|
4123
|
+
*/
|
|
4124
|
+
'image_name'?: string;
|
|
4125
|
+
/**
|
|
4126
|
+
*
|
|
4127
|
+
* @type {Array<string>}
|
|
4128
|
+
* @memberof ContainerVersionResponse
|
|
4129
|
+
*/
|
|
4130
|
+
'versions'?: Array<string>;
|
|
4131
|
+
}
|
|
4132
|
+
/**
|
|
4133
|
+
*
|
|
4134
|
+
* @export
|
|
4135
|
+
* @interface ContainerVersionResponseList
|
|
4136
|
+
*/
|
|
4137
|
+
export interface ContainerVersionResponseList {
|
|
4138
|
+
/**
|
|
4139
|
+
*
|
|
4140
|
+
* @type {Array<ContainerVersionResponse>}
|
|
4141
|
+
* @memberof ContainerVersionResponseList
|
|
4142
|
+
*/
|
|
4143
|
+
'results'?: Array<ContainerVersionResponse>;
|
|
4144
|
+
}
|
|
4113
4145
|
/**
|
|
4114
4146
|
*
|
|
4115
4147
|
* @export
|
|
@@ -8560,6 +8592,38 @@ export interface HelmResponseList {
|
|
|
8560
8592
|
*/
|
|
8561
8593
|
'results'?: Array<HelmResponse>;
|
|
8562
8594
|
}
|
|
8595
|
+
/**
|
|
8596
|
+
*
|
|
8597
|
+
* @export
|
|
8598
|
+
* @interface HelmVersionResponse
|
|
8599
|
+
*/
|
|
8600
|
+
export interface HelmVersionResponse {
|
|
8601
|
+
/**
|
|
8602
|
+
*
|
|
8603
|
+
* @type {string}
|
|
8604
|
+
* @memberof HelmVersionResponse
|
|
8605
|
+
*/
|
|
8606
|
+
'chart_name'?: string;
|
|
8607
|
+
/**
|
|
8608
|
+
*
|
|
8609
|
+
* @type {Array<string>}
|
|
8610
|
+
* @memberof HelmVersionResponse
|
|
8611
|
+
*/
|
|
8612
|
+
'versions'?: Array<string>;
|
|
8613
|
+
}
|
|
8614
|
+
/**
|
|
8615
|
+
*
|
|
8616
|
+
* @export
|
|
8617
|
+
* @interface HelmVersionResponseList
|
|
8618
|
+
*/
|
|
8619
|
+
export interface HelmVersionResponseList {
|
|
8620
|
+
/**
|
|
8621
|
+
*
|
|
8622
|
+
* @type {Array<HelmVersionResponse>}
|
|
8623
|
+
* @memberof HelmVersionResponseList
|
|
8624
|
+
*/
|
|
8625
|
+
'results'?: Array<HelmVersionResponse>;
|
|
8626
|
+
}
|
|
8563
8627
|
/**
|
|
8564
8628
|
*
|
|
8565
8629
|
* @export
|
|
@@ -19631,6 +19695,16 @@ export declare const ContainerRegistriesApiAxiosParamCreator: (configuration?: C
|
|
|
19631
19695
|
* @throws {RequiredError}
|
|
19632
19696
|
*/
|
|
19633
19697
|
getContainerRegistry: (organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19698
|
+
/**
|
|
19699
|
+
*
|
|
19700
|
+
* @summary List image version for a container registry
|
|
19701
|
+
* @param {string} organizationId Organization ID
|
|
19702
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19703
|
+
* @param {string} imageName container image name
|
|
19704
|
+
* @param {*} [options] Override http request option.
|
|
19705
|
+
* @throws {RequiredError}
|
|
19706
|
+
*/
|
|
19707
|
+
getContainerVersions: (organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19634
19708
|
/**
|
|
19635
19709
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19636
19710
|
* @summary List supported container registries
|
|
@@ -19689,6 +19763,16 @@ export declare const ContainerRegistriesApiFp: (configuration?: Configuration) =
|
|
|
19689
19763
|
* @throws {RequiredError}
|
|
19690
19764
|
*/
|
|
19691
19765
|
getContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerRegistryResponse>>;
|
|
19766
|
+
/**
|
|
19767
|
+
*
|
|
19768
|
+
* @summary List image version for a container registry
|
|
19769
|
+
* @param {string} organizationId Organization ID
|
|
19770
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19771
|
+
* @param {string} imageName container image name
|
|
19772
|
+
* @param {*} [options] Override http request option.
|
|
19773
|
+
* @throws {RequiredError}
|
|
19774
|
+
*/
|
|
19775
|
+
getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerVersionResponseList>>;
|
|
19692
19776
|
/**
|
|
19693
19777
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19694
19778
|
* @summary List supported container registries
|
|
@@ -19747,6 +19831,16 @@ export declare const ContainerRegistriesApiFactory: (configuration?: Configurati
|
|
|
19747
19831
|
* @throws {RequiredError}
|
|
19748
19832
|
*/
|
|
19749
19833
|
getContainerRegistry(organizationId: string, containerRegistryId: string, options?: any): AxiosPromise<ContainerRegistryResponse>;
|
|
19834
|
+
/**
|
|
19835
|
+
*
|
|
19836
|
+
* @summary List image version for a container registry
|
|
19837
|
+
* @param {string} organizationId Organization ID
|
|
19838
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19839
|
+
* @param {string} imageName container image name
|
|
19840
|
+
* @param {*} [options] Override http request option.
|
|
19841
|
+
* @throws {RequiredError}
|
|
19842
|
+
*/
|
|
19843
|
+
getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: any): AxiosPromise<ContainerVersionResponseList>;
|
|
19750
19844
|
/**
|
|
19751
19845
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19752
19846
|
* @summary List supported container registries
|
|
@@ -19811,6 +19905,17 @@ export declare class ContainerRegistriesApi extends BaseAPI {
|
|
|
19811
19905
|
* @memberof ContainerRegistriesApi
|
|
19812
19906
|
*/
|
|
19813
19907
|
getContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerRegistryResponse, any>>;
|
|
19908
|
+
/**
|
|
19909
|
+
*
|
|
19910
|
+
* @summary List image version for a container registry
|
|
19911
|
+
* @param {string} organizationId Organization ID
|
|
19912
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19913
|
+
* @param {string} imageName container image name
|
|
19914
|
+
* @param {*} [options] Override http request option.
|
|
19915
|
+
* @throws {RequiredError}
|
|
19916
|
+
* @memberof ContainerRegistriesApi
|
|
19917
|
+
*/
|
|
19918
|
+
getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerVersionResponseList, any>>;
|
|
19814
19919
|
/**
|
|
19815
19920
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19816
19921
|
* @summary List supported container registries
|
|
@@ -24704,6 +24809,16 @@ export declare const HelmRepositoriesApiAxiosParamCreator: (configuration?: Conf
|
|
|
24704
24809
|
* @throws {RequiredError}
|
|
24705
24810
|
*/
|
|
24706
24811
|
editHelmRepository: (organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24812
|
+
/**
|
|
24813
|
+
*
|
|
24814
|
+
* @summary List helm charts contained inside the repository
|
|
24815
|
+
* @param {string} organizationId Organization ID
|
|
24816
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
24817
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
24818
|
+
* @param {*} [options] Override http request option.
|
|
24819
|
+
* @throws {RequiredError}
|
|
24820
|
+
*/
|
|
24821
|
+
getHelmCharts: (organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24707
24822
|
/**
|
|
24708
24823
|
*
|
|
24709
24824
|
* @summary Get a helm repository
|
|
@@ -24762,6 +24877,16 @@ export declare const HelmRepositoriesApiFp: (configuration?: Configuration) => {
|
|
|
24762
24877
|
* @throws {RequiredError}
|
|
24763
24878
|
*/
|
|
24764
24879
|
editHelmRepository(organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmRepositoryResponse>>;
|
|
24880
|
+
/**
|
|
24881
|
+
*
|
|
24882
|
+
* @summary List helm charts contained inside the repository
|
|
24883
|
+
* @param {string} organizationId Organization ID
|
|
24884
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
24885
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
24886
|
+
* @param {*} [options] Override http request option.
|
|
24887
|
+
* @throws {RequiredError}
|
|
24888
|
+
*/
|
|
24889
|
+
getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmVersionResponseList>>;
|
|
24765
24890
|
/**
|
|
24766
24891
|
*
|
|
24767
24892
|
* @summary Get a helm repository
|
|
@@ -24820,6 +24945,16 @@ export declare const HelmRepositoriesApiFactory: (configuration?: Configuration,
|
|
|
24820
24945
|
* @throws {RequiredError}
|
|
24821
24946
|
*/
|
|
24822
24947
|
editHelmRepository(organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: any): AxiosPromise<HelmRepositoryResponse>;
|
|
24948
|
+
/**
|
|
24949
|
+
*
|
|
24950
|
+
* @summary List helm charts contained inside the repository
|
|
24951
|
+
* @param {string} organizationId Organization ID
|
|
24952
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
24953
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
24954
|
+
* @param {*} [options] Override http request option.
|
|
24955
|
+
* @throws {RequiredError}
|
|
24956
|
+
*/
|
|
24957
|
+
getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: any): AxiosPromise<HelmVersionResponseList>;
|
|
24823
24958
|
/**
|
|
24824
24959
|
*
|
|
24825
24960
|
* @summary Get a helm repository
|
|
@@ -24883,6 +25018,17 @@ export declare class HelmRepositoriesApi extends BaseAPI {
|
|
|
24883
25018
|
* @memberof HelmRepositoriesApi
|
|
24884
25019
|
*/
|
|
24885
25020
|
editHelmRepository(organizationId: string, helmRepositoryId: string, helmRepositoryRequest?: HelmRepositoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmRepositoryResponse, any>>;
|
|
25021
|
+
/**
|
|
25022
|
+
*
|
|
25023
|
+
* @summary List helm charts contained inside the repository
|
|
25024
|
+
* @param {string} organizationId Organization ID
|
|
25025
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
25026
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
25027
|
+
* @param {*} [options] Override http request option.
|
|
25028
|
+
* @throws {RequiredError}
|
|
25029
|
+
* @memberof HelmRepositoriesApi
|
|
25030
|
+
*/
|
|
25031
|
+
getHelmCharts(organizationId: string, helmRepositoryId: string, chartName?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmVersionResponseList, any>>;
|
|
24886
25032
|
/**
|
|
24887
25033
|
*
|
|
24888
25034
|
* @summary Get a helm repository
|
package/dist/esm/api.js
CHANGED
|
@@ -12179,6 +12179,50 @@ export const ContainerRegistriesApiAxiosParamCreator = function (configuration)
|
|
|
12179
12179
|
options: localVarRequestOptions,
|
|
12180
12180
|
};
|
|
12181
12181
|
}),
|
|
12182
|
+
/**
|
|
12183
|
+
*
|
|
12184
|
+
* @summary List image version for a container registry
|
|
12185
|
+
* @param {string} organizationId Organization ID
|
|
12186
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12187
|
+
* @param {string} imageName container image name
|
|
12188
|
+
* @param {*} [options] Override http request option.
|
|
12189
|
+
* @throws {RequiredError}
|
|
12190
|
+
*/
|
|
12191
|
+
getContainerVersions: (organizationId, containerRegistryId, imageName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
12192
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
12193
|
+
assertParamExists('getContainerVersions', 'organizationId', organizationId);
|
|
12194
|
+
// verify required parameter 'containerRegistryId' is not null or undefined
|
|
12195
|
+
assertParamExists('getContainerVersions', 'containerRegistryId', containerRegistryId);
|
|
12196
|
+
// verify required parameter 'imageName' is not null or undefined
|
|
12197
|
+
assertParamExists('getContainerVersions', 'imageName', imageName);
|
|
12198
|
+
const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}/images`
|
|
12199
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
12200
|
+
.replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
|
|
12201
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12202
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12203
|
+
let baseOptions;
|
|
12204
|
+
if (configuration) {
|
|
12205
|
+
baseOptions = configuration.baseOptions;
|
|
12206
|
+
}
|
|
12207
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12208
|
+
const localVarHeaderParameter = {};
|
|
12209
|
+
const localVarQueryParameter = {};
|
|
12210
|
+
// authentication ApiKeyAuth required
|
|
12211
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
12212
|
+
// authentication bearerAuth required
|
|
12213
|
+
// http bearer authentication required
|
|
12214
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
12215
|
+
if (imageName !== undefined) {
|
|
12216
|
+
localVarQueryParameter['imageName'] = imageName;
|
|
12217
|
+
}
|
|
12218
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12219
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12220
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12221
|
+
return {
|
|
12222
|
+
url: toPathString(localVarUrlObj),
|
|
12223
|
+
options: localVarRequestOptions,
|
|
12224
|
+
};
|
|
12225
|
+
}),
|
|
12182
12226
|
/**
|
|
12183
12227
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12184
12228
|
* @summary List supported container registries
|
|
@@ -12309,6 +12353,21 @@ export const ContainerRegistriesApiFp = function (configuration) {
|
|
|
12309
12353
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12310
12354
|
});
|
|
12311
12355
|
},
|
|
12356
|
+
/**
|
|
12357
|
+
*
|
|
12358
|
+
* @summary List image version for a container registry
|
|
12359
|
+
* @param {string} organizationId Organization ID
|
|
12360
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12361
|
+
* @param {string} imageName container image name
|
|
12362
|
+
* @param {*} [options] Override http request option.
|
|
12363
|
+
* @throws {RequiredError}
|
|
12364
|
+
*/
|
|
12365
|
+
getContainerVersions(organizationId, containerRegistryId, imageName, options) {
|
|
12366
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12367
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getContainerVersions(organizationId, containerRegistryId, imageName, options);
|
|
12368
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12369
|
+
});
|
|
12370
|
+
},
|
|
12312
12371
|
/**
|
|
12313
12372
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12314
12373
|
* @summary List supported container registries
|
|
@@ -12388,6 +12447,18 @@ export const ContainerRegistriesApiFactory = function (configuration, basePath,
|
|
|
12388
12447
|
getContainerRegistry(organizationId, containerRegistryId, options) {
|
|
12389
12448
|
return localVarFp.getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
|
|
12390
12449
|
},
|
|
12450
|
+
/**
|
|
12451
|
+
*
|
|
12452
|
+
* @summary List image version for a container registry
|
|
12453
|
+
* @param {string} organizationId Organization ID
|
|
12454
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12455
|
+
* @param {string} imageName container image name
|
|
12456
|
+
* @param {*} [options] Override http request option.
|
|
12457
|
+
* @throws {RequiredError}
|
|
12458
|
+
*/
|
|
12459
|
+
getContainerVersions(organizationId, containerRegistryId, imageName, options) {
|
|
12460
|
+
return localVarFp.getContainerVersions(organizationId, containerRegistryId, imageName, options).then((request) => request(axios, basePath));
|
|
12461
|
+
},
|
|
12391
12462
|
/**
|
|
12392
12463
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12393
12464
|
* @summary List supported container registries
|
|
@@ -12465,6 +12536,19 @@ export class ContainerRegistriesApi extends BaseAPI {
|
|
|
12465
12536
|
getContainerRegistry(organizationId, containerRegistryId, options) {
|
|
12466
12537
|
return ContainerRegistriesApiFp(this.configuration).getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
|
|
12467
12538
|
}
|
|
12539
|
+
/**
|
|
12540
|
+
*
|
|
12541
|
+
* @summary List image version for a container registry
|
|
12542
|
+
* @param {string} organizationId Organization ID
|
|
12543
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12544
|
+
* @param {string} imageName container image name
|
|
12545
|
+
* @param {*} [options] Override http request option.
|
|
12546
|
+
* @throws {RequiredError}
|
|
12547
|
+
* @memberof ContainerRegistriesApi
|
|
12548
|
+
*/
|
|
12549
|
+
getContainerVersions(organizationId, containerRegistryId, imageName, options) {
|
|
12550
|
+
return ContainerRegistriesApiFp(this.configuration).getContainerVersions(organizationId, containerRegistryId, imageName, options).then((request) => request(this.axios, this.basePath));
|
|
12551
|
+
}
|
|
12468
12552
|
/**
|
|
12469
12553
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12470
12554
|
* @summary List supported container registries
|
|
@@ -21904,6 +21988,48 @@ export const HelmRepositoriesApiAxiosParamCreator = function (configuration) {
|
|
|
21904
21988
|
options: localVarRequestOptions,
|
|
21905
21989
|
};
|
|
21906
21990
|
}),
|
|
21991
|
+
/**
|
|
21992
|
+
*
|
|
21993
|
+
* @summary List helm charts contained inside the repository
|
|
21994
|
+
* @param {string} organizationId Organization ID
|
|
21995
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
21996
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
21997
|
+
* @param {*} [options] Override http request option.
|
|
21998
|
+
* @throws {RequiredError}
|
|
21999
|
+
*/
|
|
22000
|
+
getHelmCharts: (organizationId, helmRepositoryId, chartName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
22001
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
22002
|
+
assertParamExists('getHelmCharts', 'organizationId', organizationId);
|
|
22003
|
+
// verify required parameter 'helmRepositoryId' is not null or undefined
|
|
22004
|
+
assertParamExists('getHelmCharts', 'helmRepositoryId', helmRepositoryId);
|
|
22005
|
+
const localVarPath = `/organization/{organizationId}/helmRepository/{helmRepositoryId}/charts`
|
|
22006
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
22007
|
+
.replace(`{${"helmRepositoryId"}}`, encodeURIComponent(String(helmRepositoryId)));
|
|
22008
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22009
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22010
|
+
let baseOptions;
|
|
22011
|
+
if (configuration) {
|
|
22012
|
+
baseOptions = configuration.baseOptions;
|
|
22013
|
+
}
|
|
22014
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
22015
|
+
const localVarHeaderParameter = {};
|
|
22016
|
+
const localVarQueryParameter = {};
|
|
22017
|
+
// authentication ApiKeyAuth required
|
|
22018
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
22019
|
+
// authentication bearerAuth required
|
|
22020
|
+
// http bearer authentication required
|
|
22021
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
22022
|
+
if (chartName !== undefined) {
|
|
22023
|
+
localVarQueryParameter['chartName'] = chartName;
|
|
22024
|
+
}
|
|
22025
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22026
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22027
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22028
|
+
return {
|
|
22029
|
+
url: toPathString(localVarUrlObj),
|
|
22030
|
+
options: localVarRequestOptions,
|
|
22031
|
+
};
|
|
22032
|
+
}),
|
|
21907
22033
|
/**
|
|
21908
22034
|
*
|
|
21909
22035
|
* @summary Get a helm repository
|
|
@@ -22058,6 +22184,21 @@ export const HelmRepositoriesApiFp = function (configuration) {
|
|
|
22058
22184
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22059
22185
|
});
|
|
22060
22186
|
},
|
|
22187
|
+
/**
|
|
22188
|
+
*
|
|
22189
|
+
* @summary List helm charts contained inside the repository
|
|
22190
|
+
* @param {string} organizationId Organization ID
|
|
22191
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
22192
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
22193
|
+
* @param {*} [options] Override http request option.
|
|
22194
|
+
* @throws {RequiredError}
|
|
22195
|
+
*/
|
|
22196
|
+
getHelmCharts(organizationId, helmRepositoryId, chartName, options) {
|
|
22197
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22198
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getHelmCharts(organizationId, helmRepositoryId, chartName, options);
|
|
22199
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22200
|
+
});
|
|
22201
|
+
},
|
|
22061
22202
|
/**
|
|
22062
22203
|
*
|
|
22063
22204
|
* @summary Get a helm repository
|
|
@@ -22140,6 +22281,18 @@ export const HelmRepositoriesApiFactory = function (configuration, basePath, axi
|
|
|
22140
22281
|
editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options) {
|
|
22141
22282
|
return localVarFp.editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options).then((request) => request(axios, basePath));
|
|
22142
22283
|
},
|
|
22284
|
+
/**
|
|
22285
|
+
*
|
|
22286
|
+
* @summary List helm charts contained inside the repository
|
|
22287
|
+
* @param {string} organizationId Organization ID
|
|
22288
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
22289
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
22290
|
+
* @param {*} [options] Override http request option.
|
|
22291
|
+
* @throws {RequiredError}
|
|
22292
|
+
*/
|
|
22293
|
+
getHelmCharts(organizationId, helmRepositoryId, chartName, options) {
|
|
22294
|
+
return localVarFp.getHelmCharts(organizationId, helmRepositoryId, chartName, options).then((request) => request(axios, basePath));
|
|
22295
|
+
},
|
|
22143
22296
|
/**
|
|
22144
22297
|
*
|
|
22145
22298
|
* @summary Get a helm repository
|
|
@@ -22216,6 +22369,19 @@ export class HelmRepositoriesApi extends BaseAPI {
|
|
|
22216
22369
|
editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options) {
|
|
22217
22370
|
return HelmRepositoriesApiFp(this.configuration).editHelmRepository(organizationId, helmRepositoryId, helmRepositoryRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22218
22371
|
}
|
|
22372
|
+
/**
|
|
22373
|
+
*
|
|
22374
|
+
* @summary List helm charts contained inside the repository
|
|
22375
|
+
* @param {string} organizationId Organization ID
|
|
22376
|
+
* @param {string} helmRepositoryId Helm chart repository ID
|
|
22377
|
+
* @param {string} [chartName] Helm chart name to filter the result on
|
|
22378
|
+
* @param {*} [options] Override http request option.
|
|
22379
|
+
* @throws {RequiredError}
|
|
22380
|
+
* @memberof HelmRepositoriesApi
|
|
22381
|
+
*/
|
|
22382
|
+
getHelmCharts(organizationId, helmRepositoryId, chartName, options) {
|
|
22383
|
+
return HelmRepositoriesApiFp(this.configuration).getHelmCharts(organizationId, helmRepositoryId, chartName, options).then((request) => request(this.axios, this.basePath));
|
|
22384
|
+
}
|
|
22219
22385
|
/**
|
|
22220
22386
|
*
|
|
22221
22387
|
* @summary Get a helm repository
|