qovery-typescript-axios 1.1.476 → 1.1.478
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 +155 -102
- package/dist/api.d.ts +74 -60
- package/dist/api.js +136 -68
- package/dist/esm/api.d.ts +74 -60
- package/dist/esm/api.js +136 -68
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3386,37 +3386,16 @@ export interface ClusterStatus {
|
|
|
3386
3386
|
* @memberof ClusterStatus
|
|
3387
3387
|
*/
|
|
3388
3388
|
'is_deployed'?: boolean;
|
|
3389
|
-
}
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
/**
|
|
3393
|
-
*
|
|
3394
|
-
* @export
|
|
3395
|
-
* @interface ClusterStatusGet
|
|
3396
|
-
*/
|
|
3397
|
-
export interface ClusterStatusGet {
|
|
3398
3389
|
/**
|
|
3399
3390
|
*
|
|
3400
3391
|
* @type {string}
|
|
3401
|
-
* @memberof
|
|
3402
|
-
*/
|
|
3403
|
-
'cluster_id'?: string;
|
|
3404
|
-
/**
|
|
3405
|
-
*
|
|
3406
|
-
* @type {ClusterStateEnum}
|
|
3407
|
-
* @memberof ClusterStatusGet
|
|
3408
|
-
*/
|
|
3409
|
-
'status'?: ClusterStateEnum;
|
|
3410
|
-
/**
|
|
3411
|
-
*
|
|
3412
|
-
* @type {boolean}
|
|
3413
|
-
* @memberof ClusterStatusGet
|
|
3392
|
+
* @memberof ClusterStatus
|
|
3414
3393
|
*/
|
|
3415
|
-
'
|
|
3394
|
+
'next_k8s_available_version'?: string | null;
|
|
3416
3395
|
/**
|
|
3417
3396
|
*
|
|
3418
3397
|
* @type {string}
|
|
3419
|
-
* @memberof
|
|
3398
|
+
* @memberof ClusterStatus
|
|
3420
3399
|
*/
|
|
3421
3400
|
'last_execution_id'?: string;
|
|
3422
3401
|
}
|
|
@@ -3430,10 +3409,10 @@ export interface ClusterStatusGet {
|
|
|
3430
3409
|
export interface ClusterStatusResponseList {
|
|
3431
3410
|
/**
|
|
3432
3411
|
*
|
|
3433
|
-
* @type {Array<
|
|
3412
|
+
* @type {Array<ClusterStatus>}
|
|
3434
3413
|
* @memberof ClusterStatusResponseList
|
|
3435
3414
|
*/
|
|
3436
|
-
'results'?: Array<
|
|
3415
|
+
'results'?: Array<ClusterStatus>;
|
|
3437
3416
|
}
|
|
3438
3417
|
/**
|
|
3439
3418
|
*
|
|
@@ -24467,6 +24446,47 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
24467
24446
|
|
|
24468
24447
|
|
|
24469
24448
|
|
|
24449
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24450
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24451
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24452
|
+
|
|
24453
|
+
return {
|
|
24454
|
+
url: toPathString(localVarUrlObj),
|
|
24455
|
+
options: localVarRequestOptions,
|
|
24456
|
+
};
|
|
24457
|
+
},
|
|
24458
|
+
/**
|
|
24459
|
+
* allows to upgrade a cluster to next available kubernetes version
|
|
24460
|
+
* @summary Upgrade a cluster
|
|
24461
|
+
* @param {string} clusterId Cluster ID
|
|
24462
|
+
* @param {*} [options] Override http request option.
|
|
24463
|
+
* @throws {RequiredError}
|
|
24464
|
+
*/
|
|
24465
|
+
upgradeCluster: async (clusterId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24466
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
24467
|
+
assertParamExists('upgradeCluster', 'clusterId', clusterId)
|
|
24468
|
+
const localVarPath = `/cluster/{clusterId}/upgrade`
|
|
24469
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
24470
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24471
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24472
|
+
let baseOptions;
|
|
24473
|
+
if (configuration) {
|
|
24474
|
+
baseOptions = configuration.baseOptions;
|
|
24475
|
+
}
|
|
24476
|
+
|
|
24477
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
24478
|
+
const localVarHeaderParameter = {} as any;
|
|
24479
|
+
const localVarQueryParameter = {} as any;
|
|
24480
|
+
|
|
24481
|
+
// authentication ApiKeyAuth required
|
|
24482
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
24483
|
+
|
|
24484
|
+
// authentication bearerAuth required
|
|
24485
|
+
// http bearer authentication required
|
|
24486
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
24487
|
+
|
|
24488
|
+
|
|
24489
|
+
|
|
24470
24490
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24471
24491
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24472
24492
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -24620,7 +24640,7 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
24620
24640
|
* @param {*} [options] Override http request option.
|
|
24621
24641
|
* @throws {RequiredError}
|
|
24622
24642
|
*/
|
|
24623
|
-
async getClusterStatus(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
24643
|
+
async getClusterStatus(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>> {
|
|
24624
24644
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterStatus(organizationId, clusterId, options);
|
|
24625
24645
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24626
24646
|
},
|
|
@@ -24729,6 +24749,17 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
24729
24749
|
const localVarAxiosArgs = await localVarAxiosParamCreator.stopCluster(organizationId, clusterId, options);
|
|
24730
24750
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24731
24751
|
},
|
|
24752
|
+
/**
|
|
24753
|
+
* allows to upgrade a cluster to next available kubernetes version
|
|
24754
|
+
* @summary Upgrade a cluster
|
|
24755
|
+
* @param {string} clusterId Cluster ID
|
|
24756
|
+
* @param {*} [options] Override http request option.
|
|
24757
|
+
* @throws {RequiredError}
|
|
24758
|
+
*/
|
|
24759
|
+
async upgradeCluster(clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>> {
|
|
24760
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradeCluster(clusterId, options);
|
|
24761
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24762
|
+
},
|
|
24732
24763
|
}
|
|
24733
24764
|
};
|
|
24734
24765
|
|
|
@@ -24863,7 +24894,7 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
24863
24894
|
* @param {*} [options] Override http request option.
|
|
24864
24895
|
* @throws {RequiredError}
|
|
24865
24896
|
*/
|
|
24866
|
-
getClusterStatus(organizationId: string, clusterId: string, options?: any): AxiosPromise<
|
|
24897
|
+
getClusterStatus(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus> {
|
|
24867
24898
|
return localVarFp.getClusterStatus(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
24868
24899
|
},
|
|
24869
24900
|
/**
|
|
@@ -24962,6 +24993,16 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
24962
24993
|
stopCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus> {
|
|
24963
24994
|
return localVarFp.stopCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
24964
24995
|
},
|
|
24996
|
+
/**
|
|
24997
|
+
* allows to upgrade a cluster to next available kubernetes version
|
|
24998
|
+
* @summary Upgrade a cluster
|
|
24999
|
+
* @param {string} clusterId Cluster ID
|
|
25000
|
+
* @param {*} [options] Override http request option.
|
|
25001
|
+
* @throws {RequiredError}
|
|
25002
|
+
*/
|
|
25003
|
+
upgradeCluster(clusterId: string, options?: any): AxiosPromise<ClusterStatus> {
|
|
25004
|
+
return localVarFp.upgradeCluster(clusterId, options).then((request) => request(axios, basePath));
|
|
25005
|
+
},
|
|
24965
25006
|
};
|
|
24966
25007
|
};
|
|
24967
25008
|
|
|
@@ -25234,6 +25275,18 @@ export class ClustersApi extends BaseAPI {
|
|
|
25234
25275
|
public stopCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig) {
|
|
25235
25276
|
return ClustersApiFp(this.configuration).stopCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
25236
25277
|
}
|
|
25278
|
+
|
|
25279
|
+
/**
|
|
25280
|
+
* allows to upgrade a cluster to next available kubernetes version
|
|
25281
|
+
* @summary Upgrade a cluster
|
|
25282
|
+
* @param {string} clusterId Cluster ID
|
|
25283
|
+
* @param {*} [options] Override http request option.
|
|
25284
|
+
* @throws {RequiredError}
|
|
25285
|
+
* @memberof ClustersApi
|
|
25286
|
+
*/
|
|
25287
|
+
public upgradeCluster(clusterId: string, options?: AxiosRequestConfig) {
|
|
25288
|
+
return ClustersApiFp(this.configuration).upgradeCluster(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
25289
|
+
}
|
|
25237
25290
|
}
|
|
25238
25291
|
|
|
25239
25292
|
|
|
@@ -31787,47 +31840,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
31787
31840
|
|
|
31788
31841
|
|
|
31789
31842
|
|
|
31790
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31791
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31792
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31793
|
-
|
|
31794
|
-
return {
|
|
31795
|
-
url: toPathString(localVarUrlObj),
|
|
31796
|
-
options: localVarRequestOptions,
|
|
31797
|
-
};
|
|
31798
|
-
},
|
|
31799
|
-
/**
|
|
31800
|
-
* Get helm kubernetes services
|
|
31801
|
-
* @summary Get helm kubernetes services
|
|
31802
|
-
* @param {string} helmId
|
|
31803
|
-
* @param {*} [options] Override http request option.
|
|
31804
|
-
* @throws {RequiredError}
|
|
31805
|
-
*/
|
|
31806
|
-
getHelmKubernetesServices: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31807
|
-
// verify required parameter 'helmId' is not null or undefined
|
|
31808
|
-
assertParamExists('getHelmKubernetesServices', 'helmId', helmId)
|
|
31809
|
-
const localVarPath = `/helm/{helmId}/listServices`
|
|
31810
|
-
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
31811
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31812
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31813
|
-
let baseOptions;
|
|
31814
|
-
if (configuration) {
|
|
31815
|
-
baseOptions = configuration.baseOptions;
|
|
31816
|
-
}
|
|
31817
|
-
|
|
31818
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
31819
|
-
const localVarHeaderParameter = {} as any;
|
|
31820
|
-
const localVarQueryParameter = {} as any;
|
|
31821
|
-
|
|
31822
|
-
// authentication ApiKeyAuth required
|
|
31823
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
31824
|
-
|
|
31825
|
-
// authentication bearerAuth required
|
|
31826
|
-
// http bearer authentication required
|
|
31827
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31828
|
-
|
|
31829
|
-
|
|
31830
|
-
|
|
31831
31843
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31832
31844
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31833
31845
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -31858,17 +31870,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
31858
31870
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterTokenByClusterId(clusterId, options);
|
|
31859
31871
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31860
31872
|
},
|
|
31861
|
-
/**
|
|
31862
|
-
* Get helm kubernetes services
|
|
31863
|
-
* @summary Get helm kubernetes services
|
|
31864
|
-
* @param {string} helmId
|
|
31865
|
-
* @param {*} [options] Override http request option.
|
|
31866
|
-
* @throws {RequiredError}
|
|
31867
|
-
*/
|
|
31868
|
-
async getHelmKubernetesServices(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KubernetesService>>> {
|
|
31869
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmKubernetesServices(helmId, options);
|
|
31870
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31871
|
-
},
|
|
31872
31873
|
}
|
|
31873
31874
|
};
|
|
31874
31875
|
|
|
@@ -31889,16 +31890,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
31889
31890
|
getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response> {
|
|
31890
31891
|
return localVarFp.getClusterTokenByClusterId(clusterId, options).then((request) => request(axios, basePath));
|
|
31891
31892
|
},
|
|
31892
|
-
/**
|
|
31893
|
-
* Get helm kubernetes services
|
|
31894
|
-
* @summary Get helm kubernetes services
|
|
31895
|
-
* @param {string} helmId
|
|
31896
|
-
* @param {*} [options] Override http request option.
|
|
31897
|
-
* @throws {RequiredError}
|
|
31898
|
-
*/
|
|
31899
|
-
getHelmKubernetesServices(helmId: string, options?: any): AxiosPromise<Array<KubernetesService>> {
|
|
31900
|
-
return localVarFp.getHelmKubernetesServices(helmId, options).then((request) => request(axios, basePath));
|
|
31901
|
-
},
|
|
31902
31893
|
};
|
|
31903
31894
|
};
|
|
31904
31895
|
|
|
@@ -31920,18 +31911,6 @@ export class DefaultApi extends BaseAPI {
|
|
|
31920
31911
|
public getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig) {
|
|
31921
31912
|
return DefaultApiFp(this.configuration).getClusterTokenByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
31922
31913
|
}
|
|
31923
|
-
|
|
31924
|
-
/**
|
|
31925
|
-
* Get helm kubernetes services
|
|
31926
|
-
* @summary Get helm kubernetes services
|
|
31927
|
-
* @param {string} helmId
|
|
31928
|
-
* @param {*} [options] Override http request option.
|
|
31929
|
-
* @throws {RequiredError}
|
|
31930
|
-
* @memberof DefaultApi
|
|
31931
|
-
*/
|
|
31932
|
-
public getHelmKubernetesServices(helmId: string, options?: AxiosRequestConfig) {
|
|
31933
|
-
return DefaultApiFp(this.configuration).getHelmKubernetesServices(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
31934
|
-
}
|
|
31935
31914
|
}
|
|
31936
31915
|
|
|
31937
31916
|
|
|
@@ -38784,6 +38763,47 @@ export const HelmMainCallsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
38784
38763
|
|
|
38785
38764
|
|
|
38786
38765
|
|
|
38766
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38767
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38768
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38769
|
+
|
|
38770
|
+
return {
|
|
38771
|
+
url: toPathString(localVarUrlObj),
|
|
38772
|
+
options: localVarRequestOptions,
|
|
38773
|
+
};
|
|
38774
|
+
},
|
|
38775
|
+
/**
|
|
38776
|
+
* Get helm kubernetes services
|
|
38777
|
+
* @summary Get helm kubernetes services
|
|
38778
|
+
* @param {string} helmId
|
|
38779
|
+
* @param {*} [options] Override http request option.
|
|
38780
|
+
* @throws {RequiredError}
|
|
38781
|
+
*/
|
|
38782
|
+
getHelmKubernetesServices: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38783
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
38784
|
+
assertParamExists('getHelmKubernetesServices', 'helmId', helmId)
|
|
38785
|
+
const localVarPath = `/helm/{helmId}/listServices`
|
|
38786
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
38787
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38788
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38789
|
+
let baseOptions;
|
|
38790
|
+
if (configuration) {
|
|
38791
|
+
baseOptions = configuration.baseOptions;
|
|
38792
|
+
}
|
|
38793
|
+
|
|
38794
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
38795
|
+
const localVarHeaderParameter = {} as any;
|
|
38796
|
+
const localVarQueryParameter = {} as any;
|
|
38797
|
+
|
|
38798
|
+
// authentication ApiKeyAuth required
|
|
38799
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
38800
|
+
|
|
38801
|
+
// authentication bearerAuth required
|
|
38802
|
+
// http bearer authentication required
|
|
38803
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
38804
|
+
|
|
38805
|
+
|
|
38806
|
+
|
|
38787
38807
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38788
38808
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38789
38809
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -38965,6 +38985,17 @@ export const HelmMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
38965
38985
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getHelm(helmId, options);
|
|
38966
38986
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38967
38987
|
},
|
|
38988
|
+
/**
|
|
38989
|
+
* Get helm kubernetes services
|
|
38990
|
+
* @summary Get helm kubernetes services
|
|
38991
|
+
* @param {string} helmId
|
|
38992
|
+
* @param {*} [options] Override http request option.
|
|
38993
|
+
* @throws {RequiredError}
|
|
38994
|
+
*/
|
|
38995
|
+
async getHelmKubernetesServices(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KubernetesService>>> {
|
|
38996
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmKubernetesServices(helmId, options);
|
|
38997
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38998
|
+
},
|
|
38968
38999
|
/**
|
|
38969
39000
|
*
|
|
38970
39001
|
* @summary Get helm status
|
|
@@ -39040,6 +39071,16 @@ export const HelmMainCallsApiFactory = function (configuration?: Configuration,
|
|
|
39040
39071
|
getHelm(helmId: string, options?: any): AxiosPromise<HelmResponse> {
|
|
39041
39072
|
return localVarFp.getHelm(helmId, options).then((request) => request(axios, basePath));
|
|
39042
39073
|
},
|
|
39074
|
+
/**
|
|
39075
|
+
* Get helm kubernetes services
|
|
39076
|
+
* @summary Get helm kubernetes services
|
|
39077
|
+
* @param {string} helmId
|
|
39078
|
+
* @param {*} [options] Override http request option.
|
|
39079
|
+
* @throws {RequiredError}
|
|
39080
|
+
*/
|
|
39081
|
+
getHelmKubernetesServices(helmId: string, options?: any): AxiosPromise<Array<KubernetesService>> {
|
|
39082
|
+
return localVarFp.getHelmKubernetesServices(helmId, options).then((request) => request(axios, basePath));
|
|
39083
|
+
},
|
|
39043
39084
|
/**
|
|
39044
39085
|
*
|
|
39045
39086
|
* @summary Get helm status
|
|
@@ -39118,6 +39159,18 @@ export class HelmMainCallsApi extends BaseAPI {
|
|
|
39118
39159
|
return HelmMainCallsApiFp(this.configuration).getHelm(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
39119
39160
|
}
|
|
39120
39161
|
|
|
39162
|
+
/**
|
|
39163
|
+
* Get helm kubernetes services
|
|
39164
|
+
* @summary Get helm kubernetes services
|
|
39165
|
+
* @param {string} helmId
|
|
39166
|
+
* @param {*} [options] Override http request option.
|
|
39167
|
+
* @throws {RequiredError}
|
|
39168
|
+
* @memberof HelmMainCallsApi
|
|
39169
|
+
*/
|
|
39170
|
+
public getHelmKubernetesServices(helmId: string, options?: AxiosRequestConfig) {
|
|
39171
|
+
return HelmMainCallsApiFp(this.configuration).getHelmKubernetesServices(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
39172
|
+
}
|
|
39173
|
+
|
|
39121
39174
|
/**
|
|
39122
39175
|
*
|
|
39123
39176
|
* @summary Get helm status
|
package/dist/api.d.ts
CHANGED
|
@@ -3295,35 +3295,16 @@ export interface ClusterStatus {
|
|
|
3295
3295
|
* @memberof ClusterStatus
|
|
3296
3296
|
*/
|
|
3297
3297
|
'is_deployed'?: boolean;
|
|
3298
|
-
}
|
|
3299
|
-
/**
|
|
3300
|
-
*
|
|
3301
|
-
* @export
|
|
3302
|
-
* @interface ClusterStatusGet
|
|
3303
|
-
*/
|
|
3304
|
-
export interface ClusterStatusGet {
|
|
3305
3298
|
/**
|
|
3306
3299
|
*
|
|
3307
3300
|
* @type {string}
|
|
3308
|
-
* @memberof
|
|
3309
|
-
*/
|
|
3310
|
-
'cluster_id'?: string;
|
|
3311
|
-
/**
|
|
3312
|
-
*
|
|
3313
|
-
* @type {ClusterStateEnum}
|
|
3314
|
-
* @memberof ClusterStatusGet
|
|
3315
|
-
*/
|
|
3316
|
-
'status'?: ClusterStateEnum;
|
|
3317
|
-
/**
|
|
3318
|
-
*
|
|
3319
|
-
* @type {boolean}
|
|
3320
|
-
* @memberof ClusterStatusGet
|
|
3301
|
+
* @memberof ClusterStatus
|
|
3321
3302
|
*/
|
|
3322
|
-
'
|
|
3303
|
+
'next_k8s_available_version'?: string | null;
|
|
3323
3304
|
/**
|
|
3324
3305
|
*
|
|
3325
3306
|
* @type {string}
|
|
3326
|
-
* @memberof
|
|
3307
|
+
* @memberof ClusterStatus
|
|
3327
3308
|
*/
|
|
3328
3309
|
'last_execution_id'?: string;
|
|
3329
3310
|
}
|
|
@@ -3335,10 +3316,10 @@ export interface ClusterStatusGet {
|
|
|
3335
3316
|
export interface ClusterStatusResponseList {
|
|
3336
3317
|
/**
|
|
3337
3318
|
*
|
|
3338
|
-
* @type {Array<
|
|
3319
|
+
* @type {Array<ClusterStatus>}
|
|
3339
3320
|
* @memberof ClusterStatusResponseList
|
|
3340
3321
|
*/
|
|
3341
|
-
'results'?: Array<
|
|
3322
|
+
'results'?: Array<ClusterStatus>;
|
|
3342
3323
|
}
|
|
3343
3324
|
/**
|
|
3344
3325
|
*
|
|
@@ -18890,6 +18871,14 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18890
18871
|
* @throws {RequiredError}
|
|
18891
18872
|
*/
|
|
18892
18873
|
stopCluster: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18874
|
+
/**
|
|
18875
|
+
* allows to upgrade a cluster to next available kubernetes version
|
|
18876
|
+
* @summary Upgrade a cluster
|
|
18877
|
+
* @param {string} clusterId Cluster ID
|
|
18878
|
+
* @param {*} [options] Override http request option.
|
|
18879
|
+
* @throws {RequiredError}
|
|
18880
|
+
*/
|
|
18881
|
+
upgradeCluster: (clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18893
18882
|
};
|
|
18894
18883
|
/**
|
|
18895
18884
|
* ClustersApi - functional programming interface
|
|
@@ -19000,7 +18989,7 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
19000
18989
|
* @param {*} [options] Override http request option.
|
|
19001
18990
|
* @throws {RequiredError}
|
|
19002
18991
|
*/
|
|
19003
|
-
getClusterStatus(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
18992
|
+
getClusterStatus(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>>;
|
|
19004
18993
|
/**
|
|
19005
18994
|
* Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/cluster-advanced-settings/)
|
|
19006
18995
|
* @summary List default cluster advanced settings
|
|
@@ -19079,6 +19068,14 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
19079
19068
|
* @throws {RequiredError}
|
|
19080
19069
|
*/
|
|
19081
19070
|
stopCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>>;
|
|
19071
|
+
/**
|
|
19072
|
+
* allows to upgrade a cluster to next available kubernetes version
|
|
19073
|
+
* @summary Upgrade a cluster
|
|
19074
|
+
* @param {string} clusterId Cluster ID
|
|
19075
|
+
* @param {*} [options] Override http request option.
|
|
19076
|
+
* @throws {RequiredError}
|
|
19077
|
+
*/
|
|
19078
|
+
upgradeCluster(clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>>;
|
|
19082
19079
|
};
|
|
19083
19080
|
/**
|
|
19084
19081
|
* ClustersApi - factory interface
|
|
@@ -19189,7 +19186,7 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
19189
19186
|
* @param {*} [options] Override http request option.
|
|
19190
19187
|
* @throws {RequiredError}
|
|
19191
19188
|
*/
|
|
19192
|
-
getClusterStatus(organizationId: string, clusterId: string, options?: any): AxiosPromise<
|
|
19189
|
+
getClusterStatus(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus>;
|
|
19193
19190
|
/**
|
|
19194
19191
|
* Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/cluster-advanced-settings/)
|
|
19195
19192
|
* @summary List default cluster advanced settings
|
|
@@ -19268,6 +19265,14 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
19268
19265
|
* @throws {RequiredError}
|
|
19269
19266
|
*/
|
|
19270
19267
|
stopCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus>;
|
|
19268
|
+
/**
|
|
19269
|
+
* allows to upgrade a cluster to next available kubernetes version
|
|
19270
|
+
* @summary Upgrade a cluster
|
|
19271
|
+
* @param {string} clusterId Cluster ID
|
|
19272
|
+
* @param {*} [options] Override http request option.
|
|
19273
|
+
* @throws {RequiredError}
|
|
19274
|
+
*/
|
|
19275
|
+
upgradeCluster(clusterId: string, options?: any): AxiosPromise<ClusterStatus>;
|
|
19271
19276
|
};
|
|
19272
19277
|
/**
|
|
19273
19278
|
* ClustersApi - object-oriented interface
|
|
@@ -19391,7 +19396,7 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
19391
19396
|
* @throws {RequiredError}
|
|
19392
19397
|
* @memberof ClustersApi
|
|
19393
19398
|
*/
|
|
19394
|
-
getClusterStatus(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
19399
|
+
getClusterStatus(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterStatus, any>>;
|
|
19395
19400
|
/**
|
|
19396
19401
|
* Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/cluster-advanced-settings/)
|
|
19397
19402
|
* @summary List default cluster advanced settings
|
|
@@ -19479,6 +19484,15 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
19479
19484
|
* @memberof ClustersApi
|
|
19480
19485
|
*/
|
|
19481
19486
|
stopCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterStatus, any>>;
|
|
19487
|
+
/**
|
|
19488
|
+
* allows to upgrade a cluster to next available kubernetes version
|
|
19489
|
+
* @summary Upgrade a cluster
|
|
19490
|
+
* @param {string} clusterId Cluster ID
|
|
19491
|
+
* @param {*} [options] Override http request option.
|
|
19492
|
+
* @throws {RequiredError}
|
|
19493
|
+
* @memberof ClustersApi
|
|
19494
|
+
*/
|
|
19495
|
+
upgradeCluster(clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterStatus, any>>;
|
|
19482
19496
|
}
|
|
19483
19497
|
/**
|
|
19484
19498
|
* ContainerActionsApi - axios parameter creator
|
|
@@ -22572,14 +22586,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
22572
22586
|
* @throws {RequiredError}
|
|
22573
22587
|
*/
|
|
22574
22588
|
getClusterTokenByClusterId: (clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22575
|
-
/**
|
|
22576
|
-
* Get helm kubernetes services
|
|
22577
|
-
* @summary Get helm kubernetes services
|
|
22578
|
-
* @param {string} helmId
|
|
22579
|
-
* @param {*} [options] Override http request option.
|
|
22580
|
-
* @throws {RequiredError}
|
|
22581
|
-
*/
|
|
22582
|
-
getHelmKubernetesServices: (helmId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22583
22589
|
};
|
|
22584
22590
|
/**
|
|
22585
22591
|
* DefaultApi - functional programming interface
|
|
@@ -22594,14 +22600,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
22594
22600
|
* @throws {RequiredError}
|
|
22595
22601
|
*/
|
|
22596
22602
|
getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterTokenByClusterId200Response>>;
|
|
22597
|
-
/**
|
|
22598
|
-
* Get helm kubernetes services
|
|
22599
|
-
* @summary Get helm kubernetes services
|
|
22600
|
-
* @param {string} helmId
|
|
22601
|
-
* @param {*} [options] Override http request option.
|
|
22602
|
-
* @throws {RequiredError}
|
|
22603
|
-
*/
|
|
22604
|
-
getHelmKubernetesServices(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KubernetesService>>>;
|
|
22605
22603
|
};
|
|
22606
22604
|
/**
|
|
22607
22605
|
* DefaultApi - factory interface
|
|
@@ -22616,14 +22614,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
22616
22614
|
* @throws {RequiredError}
|
|
22617
22615
|
*/
|
|
22618
22616
|
getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response>;
|
|
22619
|
-
/**
|
|
22620
|
-
* Get helm kubernetes services
|
|
22621
|
-
* @summary Get helm kubernetes services
|
|
22622
|
-
* @param {string} helmId
|
|
22623
|
-
* @param {*} [options] Override http request option.
|
|
22624
|
-
* @throws {RequiredError}
|
|
22625
|
-
*/
|
|
22626
|
-
getHelmKubernetesServices(helmId: string, options?: any): AxiosPromise<Array<KubernetesService>>;
|
|
22627
22617
|
};
|
|
22628
22618
|
/**
|
|
22629
22619
|
* DefaultApi - object-oriented interface
|
|
@@ -22641,15 +22631,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
22641
22631
|
* @memberof DefaultApi
|
|
22642
22632
|
*/
|
|
22643
22633
|
getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterTokenByClusterId200Response, any>>;
|
|
22644
|
-
/**
|
|
22645
|
-
* Get helm kubernetes services
|
|
22646
|
-
* @summary Get helm kubernetes services
|
|
22647
|
-
* @param {string} helmId
|
|
22648
|
-
* @param {*} [options] Override http request option.
|
|
22649
|
-
* @throws {RequiredError}
|
|
22650
|
-
* @memberof DefaultApi
|
|
22651
|
-
*/
|
|
22652
|
-
getHelmKubernetesServices(helmId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KubernetesService[], any>>;
|
|
22653
22634
|
}
|
|
22654
22635
|
/**
|
|
22655
22636
|
* DeploymentStageMainCallsApi - axios parameter creator
|
|
@@ -25889,6 +25870,14 @@ export declare const HelmMainCallsApiAxiosParamCreator: (configuration?: Configu
|
|
|
25889
25870
|
* @throws {RequiredError}
|
|
25890
25871
|
*/
|
|
25891
25872
|
getHelm: (helmId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25873
|
+
/**
|
|
25874
|
+
* Get helm kubernetes services
|
|
25875
|
+
* @summary Get helm kubernetes services
|
|
25876
|
+
* @param {string} helmId
|
|
25877
|
+
* @param {*} [options] Override http request option.
|
|
25878
|
+
* @throws {RequiredError}
|
|
25879
|
+
*/
|
|
25880
|
+
getHelmKubernetesServices: (helmId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25892
25881
|
/**
|
|
25893
25882
|
*
|
|
25894
25883
|
* @summary Get helm status
|
|
@@ -25945,6 +25934,14 @@ export declare const HelmMainCallsApiFp: (configuration?: Configuration) => {
|
|
|
25945
25934
|
* @throws {RequiredError}
|
|
25946
25935
|
*/
|
|
25947
25936
|
getHelm(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
|
|
25937
|
+
/**
|
|
25938
|
+
* Get helm kubernetes services
|
|
25939
|
+
* @summary Get helm kubernetes services
|
|
25940
|
+
* @param {string} helmId
|
|
25941
|
+
* @param {*} [options] Override http request option.
|
|
25942
|
+
* @throws {RequiredError}
|
|
25943
|
+
*/
|
|
25944
|
+
getHelmKubernetesServices(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<KubernetesService>>>;
|
|
25948
25945
|
/**
|
|
25949
25946
|
*
|
|
25950
25947
|
* @summary Get helm status
|
|
@@ -26001,6 +25998,14 @@ export declare const HelmMainCallsApiFactory: (configuration?: Configuration, ba
|
|
|
26001
25998
|
* @throws {RequiredError}
|
|
26002
25999
|
*/
|
|
26003
26000
|
getHelm(helmId: string, options?: any): AxiosPromise<HelmResponse>;
|
|
26001
|
+
/**
|
|
26002
|
+
* Get helm kubernetes services
|
|
26003
|
+
* @summary Get helm kubernetes services
|
|
26004
|
+
* @param {string} helmId
|
|
26005
|
+
* @param {*} [options] Override http request option.
|
|
26006
|
+
* @throws {RequiredError}
|
|
26007
|
+
*/
|
|
26008
|
+
getHelmKubernetesServices(helmId: string, options?: any): AxiosPromise<Array<KubernetesService>>;
|
|
26004
26009
|
/**
|
|
26005
26010
|
*
|
|
26006
26011
|
* @summary Get helm status
|
|
@@ -26062,6 +26067,15 @@ export declare class HelmMainCallsApi extends BaseAPI {
|
|
|
26062
26067
|
* @memberof HelmMainCallsApi
|
|
26063
26068
|
*/
|
|
26064
26069
|
getHelm(helmId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
|
|
26070
|
+
/**
|
|
26071
|
+
* Get helm kubernetes services
|
|
26072
|
+
* @summary Get helm kubernetes services
|
|
26073
|
+
* @param {string} helmId
|
|
26074
|
+
* @param {*} [options] Override http request option.
|
|
26075
|
+
* @throws {RequiredError}
|
|
26076
|
+
* @memberof HelmMainCallsApi
|
|
26077
|
+
*/
|
|
26078
|
+
getHelmKubernetesServices(helmId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KubernetesService[], any>>;
|
|
26065
26079
|
/**
|
|
26066
26080
|
*
|
|
26067
26081
|
* @summary Get helm status
|