qovery-typescript-axios 1.1.305 → 1.1.307
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 +86 -30
- package/dist/api.d.ts +42 -30
- package/dist/api.js +75 -0
- package/dist/esm/api.d.ts +42 -30
- package/dist/esm/api.js +75 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2821,35 +2821,10 @@ export interface ClusterRoutingTable {
|
|
|
2821
2821
|
export interface ClusterRoutingTableRequest {
|
|
2822
2822
|
/**
|
|
2823
2823
|
*
|
|
2824
|
-
* @type {Array<
|
|
2824
|
+
* @type {Array<ClusterRoutingTableResultsInner>}
|
|
2825
2825
|
* @memberof ClusterRoutingTableRequest
|
|
2826
2826
|
*/
|
|
2827
|
-
'routes': Array<
|
|
2828
|
-
}
|
|
2829
|
-
/**
|
|
2830
|
-
*
|
|
2831
|
-
* @export
|
|
2832
|
-
* @interface ClusterRoutingTableRequestRoutesInner
|
|
2833
|
-
*/
|
|
2834
|
-
export interface ClusterRoutingTableRequestRoutesInner {
|
|
2835
|
-
/**
|
|
2836
|
-
*
|
|
2837
|
-
* @type {string}
|
|
2838
|
-
* @memberof ClusterRoutingTableRequestRoutesInner
|
|
2839
|
-
*/
|
|
2840
|
-
'destination': string;
|
|
2841
|
-
/**
|
|
2842
|
-
*
|
|
2843
|
-
* @type {string}
|
|
2844
|
-
* @memberof ClusterRoutingTableRequestRoutesInner
|
|
2845
|
-
*/
|
|
2846
|
-
'target': string;
|
|
2847
|
-
/**
|
|
2848
|
-
*
|
|
2849
|
-
* @type {string}
|
|
2850
|
-
* @memberof ClusterRoutingTableRequestRoutesInner
|
|
2851
|
-
*/
|
|
2852
|
-
'description': string;
|
|
2827
|
+
'routes': Array<ClusterRoutingTableResultsInner>;
|
|
2853
2828
|
}
|
|
2854
2829
|
/**
|
|
2855
2830
|
*
|
|
@@ -2862,19 +2837,19 @@ export interface ClusterRoutingTableResultsInner {
|
|
|
2862
2837
|
* @type {string}
|
|
2863
2838
|
* @memberof ClusterRoutingTableResultsInner
|
|
2864
2839
|
*/
|
|
2865
|
-
'destination'
|
|
2840
|
+
'destination': string;
|
|
2866
2841
|
/**
|
|
2867
2842
|
*
|
|
2868
2843
|
* @type {string}
|
|
2869
2844
|
* @memberof ClusterRoutingTableResultsInner
|
|
2870
2845
|
*/
|
|
2871
|
-
'target'
|
|
2846
|
+
'target': string;
|
|
2872
2847
|
/**
|
|
2873
2848
|
*
|
|
2874
2849
|
* @type {string}
|
|
2875
2850
|
* @memberof ClusterRoutingTableResultsInner
|
|
2876
2851
|
*/
|
|
2877
|
-
'description'
|
|
2852
|
+
'description': string;
|
|
2878
2853
|
}
|
|
2879
2854
|
/**
|
|
2880
2855
|
*
|
|
@@ -23040,6 +23015,51 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
23040
23015
|
|
|
23041
23016
|
|
|
23042
23017
|
|
|
23018
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23019
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23020
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23021
|
+
|
|
23022
|
+
return {
|
|
23023
|
+
url: toPathString(localVarUrlObj),
|
|
23024
|
+
options: localVarRequestOptions,
|
|
23025
|
+
};
|
|
23026
|
+
},
|
|
23027
|
+
/**
|
|
23028
|
+
*
|
|
23029
|
+
* @summary Get cluster kubeconfig
|
|
23030
|
+
* @param {string} organizationId Organization ID
|
|
23031
|
+
* @param {string} clusterId Cluster ID
|
|
23032
|
+
* @param {*} [options] Override http request option.
|
|
23033
|
+
* @throws {RequiredError}
|
|
23034
|
+
*/
|
|
23035
|
+
getClusterKubeconfig: async (organizationId: string, clusterId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23036
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
23037
|
+
assertParamExists('getClusterKubeconfig', 'organizationId', organizationId)
|
|
23038
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
23039
|
+
assertParamExists('getClusterKubeconfig', 'clusterId', clusterId)
|
|
23040
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/kubeconfig`
|
|
23041
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
23042
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
23043
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23044
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23045
|
+
let baseOptions;
|
|
23046
|
+
if (configuration) {
|
|
23047
|
+
baseOptions = configuration.baseOptions;
|
|
23048
|
+
}
|
|
23049
|
+
|
|
23050
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23051
|
+
const localVarHeaderParameter = {} as any;
|
|
23052
|
+
const localVarQueryParameter = {} as any;
|
|
23053
|
+
|
|
23054
|
+
// authentication ApiKeyAuth required
|
|
23055
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
23056
|
+
|
|
23057
|
+
// authentication bearerAuth required
|
|
23058
|
+
// http bearer authentication required
|
|
23059
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23060
|
+
|
|
23061
|
+
|
|
23062
|
+
|
|
23043
23063
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23044
23064
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23045
23065
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23585,6 +23605,18 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
23585
23605
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterAdvancedSettings(organizationId, clusterId, options);
|
|
23586
23606
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23587
23607
|
},
|
|
23608
|
+
/**
|
|
23609
|
+
*
|
|
23610
|
+
* @summary Get cluster kubeconfig
|
|
23611
|
+
* @param {string} organizationId Organization ID
|
|
23612
|
+
* @param {string} clusterId Cluster ID
|
|
23613
|
+
* @param {*} [options] Override http request option.
|
|
23614
|
+
* @throws {RequiredError}
|
|
23615
|
+
*/
|
|
23616
|
+
async getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
23617
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterKubeconfig(organizationId, clusterId, options);
|
|
23618
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23619
|
+
},
|
|
23588
23620
|
/**
|
|
23589
23621
|
*
|
|
23590
23622
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -23793,6 +23825,17 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
23793
23825
|
getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterAdvancedSettings> {
|
|
23794
23826
|
return localVarFp.getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
23795
23827
|
},
|
|
23828
|
+
/**
|
|
23829
|
+
*
|
|
23830
|
+
* @summary Get cluster kubeconfig
|
|
23831
|
+
* @param {string} organizationId Organization ID
|
|
23832
|
+
* @param {string} clusterId Cluster ID
|
|
23833
|
+
* @param {*} [options] Override http request option.
|
|
23834
|
+
* @throws {RequiredError}
|
|
23835
|
+
*/
|
|
23836
|
+
getClusterKubeconfig(organizationId: string, clusterId: string, options?: any): AxiosPromise<string> {
|
|
23837
|
+
return localVarFp.getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
23838
|
+
},
|
|
23796
23839
|
/**
|
|
23797
23840
|
*
|
|
23798
23841
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -24005,6 +24048,19 @@ export class ClustersApi extends BaseAPI {
|
|
|
24005
24048
|
return ClustersApiFp(this.configuration).getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
24006
24049
|
}
|
|
24007
24050
|
|
|
24051
|
+
/**
|
|
24052
|
+
*
|
|
24053
|
+
* @summary Get cluster kubeconfig
|
|
24054
|
+
* @param {string} organizationId Organization ID
|
|
24055
|
+
* @param {string} clusterId Cluster ID
|
|
24056
|
+
* @param {*} [options] Override http request option.
|
|
24057
|
+
* @throws {RequiredError}
|
|
24058
|
+
* @memberof ClustersApi
|
|
24059
|
+
*/
|
|
24060
|
+
public getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig) {
|
|
24061
|
+
return ClustersApiFp(this.configuration).getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
24062
|
+
}
|
|
24063
|
+
|
|
24008
24064
|
/**
|
|
24009
24065
|
*
|
|
24010
24066
|
* @summary Know if a cluster is ready to be deployed or not
|
package/dist/api.d.ts
CHANGED
|
@@ -2747,35 +2747,10 @@ export interface ClusterRoutingTable {
|
|
|
2747
2747
|
export interface ClusterRoutingTableRequest {
|
|
2748
2748
|
/**
|
|
2749
2749
|
*
|
|
2750
|
-
* @type {Array<
|
|
2750
|
+
* @type {Array<ClusterRoutingTableResultsInner>}
|
|
2751
2751
|
* @memberof ClusterRoutingTableRequest
|
|
2752
2752
|
*/
|
|
2753
|
-
'routes': Array<
|
|
2754
|
-
}
|
|
2755
|
-
/**
|
|
2756
|
-
*
|
|
2757
|
-
* @export
|
|
2758
|
-
* @interface ClusterRoutingTableRequestRoutesInner
|
|
2759
|
-
*/
|
|
2760
|
-
export interface ClusterRoutingTableRequestRoutesInner {
|
|
2761
|
-
/**
|
|
2762
|
-
*
|
|
2763
|
-
* @type {string}
|
|
2764
|
-
* @memberof ClusterRoutingTableRequestRoutesInner
|
|
2765
|
-
*/
|
|
2766
|
-
'destination': string;
|
|
2767
|
-
/**
|
|
2768
|
-
*
|
|
2769
|
-
* @type {string}
|
|
2770
|
-
* @memberof ClusterRoutingTableRequestRoutesInner
|
|
2771
|
-
*/
|
|
2772
|
-
'target': string;
|
|
2773
|
-
/**
|
|
2774
|
-
*
|
|
2775
|
-
* @type {string}
|
|
2776
|
-
* @memberof ClusterRoutingTableRequestRoutesInner
|
|
2777
|
-
*/
|
|
2778
|
-
'description': string;
|
|
2753
|
+
'routes': Array<ClusterRoutingTableResultsInner>;
|
|
2779
2754
|
}
|
|
2780
2755
|
/**
|
|
2781
2756
|
*
|
|
@@ -2788,19 +2763,19 @@ export interface ClusterRoutingTableResultsInner {
|
|
|
2788
2763
|
* @type {string}
|
|
2789
2764
|
* @memberof ClusterRoutingTableResultsInner
|
|
2790
2765
|
*/
|
|
2791
|
-
'destination'
|
|
2766
|
+
'destination': string;
|
|
2792
2767
|
/**
|
|
2793
2768
|
*
|
|
2794
2769
|
* @type {string}
|
|
2795
2770
|
* @memberof ClusterRoutingTableResultsInner
|
|
2796
2771
|
*/
|
|
2797
|
-
'target'
|
|
2772
|
+
'target': string;
|
|
2798
2773
|
/**
|
|
2799
2774
|
*
|
|
2800
2775
|
* @type {string}
|
|
2801
2776
|
* @memberof ClusterRoutingTableResultsInner
|
|
2802
2777
|
*/
|
|
2803
|
-
'description'
|
|
2778
|
+
'description': string;
|
|
2804
2779
|
}
|
|
2805
2780
|
/**
|
|
2806
2781
|
*
|
|
@@ -17739,6 +17714,15 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
17739
17714
|
* @throws {RequiredError}
|
|
17740
17715
|
*/
|
|
17741
17716
|
getClusterAdvancedSettings: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17717
|
+
/**
|
|
17718
|
+
*
|
|
17719
|
+
* @summary Get cluster kubeconfig
|
|
17720
|
+
* @param {string} organizationId Organization ID
|
|
17721
|
+
* @param {string} clusterId Cluster ID
|
|
17722
|
+
* @param {*} [options] Override http request option.
|
|
17723
|
+
* @throws {RequiredError}
|
|
17724
|
+
*/
|
|
17725
|
+
getClusterKubeconfig: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17742
17726
|
/**
|
|
17743
17727
|
*
|
|
17744
17728
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -17899,6 +17883,15 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
17899
17883
|
* @throws {RequiredError}
|
|
17900
17884
|
*/
|
|
17901
17885
|
getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>>;
|
|
17886
|
+
/**
|
|
17887
|
+
*
|
|
17888
|
+
* @summary Get cluster kubeconfig
|
|
17889
|
+
* @param {string} organizationId Organization ID
|
|
17890
|
+
* @param {string} clusterId Cluster ID
|
|
17891
|
+
* @param {*} [options] Override http request option.
|
|
17892
|
+
* @throws {RequiredError}
|
|
17893
|
+
*/
|
|
17894
|
+
getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
17902
17895
|
/**
|
|
17903
17896
|
*
|
|
17904
17897
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -18059,6 +18052,15 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
18059
18052
|
* @throws {RequiredError}
|
|
18060
18053
|
*/
|
|
18061
18054
|
getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterAdvancedSettings>;
|
|
18055
|
+
/**
|
|
18056
|
+
*
|
|
18057
|
+
* @summary Get cluster kubeconfig
|
|
18058
|
+
* @param {string} organizationId Organization ID
|
|
18059
|
+
* @param {string} clusterId Cluster ID
|
|
18060
|
+
* @param {*} [options] Override http request option.
|
|
18061
|
+
* @throws {RequiredError}
|
|
18062
|
+
*/
|
|
18063
|
+
getClusterKubeconfig(organizationId: string, clusterId: string, options?: any): AxiosPromise<string>;
|
|
18062
18064
|
/**
|
|
18063
18065
|
*
|
|
18064
18066
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -18228,6 +18230,16 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
18228
18230
|
* @memberof ClustersApi
|
|
18229
18231
|
*/
|
|
18230
18232
|
getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterAdvancedSettings, any>>;
|
|
18233
|
+
/**
|
|
18234
|
+
*
|
|
18235
|
+
* @summary Get cluster kubeconfig
|
|
18236
|
+
* @param {string} organizationId Organization ID
|
|
18237
|
+
* @param {string} clusterId Cluster ID
|
|
18238
|
+
* @param {*} [options] Override http request option.
|
|
18239
|
+
* @throws {RequiredError}
|
|
18240
|
+
* @memberof ClustersApi
|
|
18241
|
+
*/
|
|
18242
|
+
getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
18231
18243
|
/**
|
|
18232
18244
|
*
|
|
18233
18245
|
* @summary Know if a cluster is ready to be deployed or not
|
package/dist/api.js
CHANGED
|
@@ -8945,6 +8945,44 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
8945
8945
|
options: localVarRequestOptions,
|
|
8946
8946
|
};
|
|
8947
8947
|
}),
|
|
8948
|
+
/**
|
|
8949
|
+
*
|
|
8950
|
+
* @summary Get cluster kubeconfig
|
|
8951
|
+
* @param {string} organizationId Organization ID
|
|
8952
|
+
* @param {string} clusterId Cluster ID
|
|
8953
|
+
* @param {*} [options] Override http request option.
|
|
8954
|
+
* @throws {RequiredError}
|
|
8955
|
+
*/
|
|
8956
|
+
getClusterKubeconfig: (organizationId, clusterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
8957
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
8958
|
+
(0, common_1.assertParamExists)('getClusterKubeconfig', 'organizationId', organizationId);
|
|
8959
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
8960
|
+
(0, common_1.assertParamExists)('getClusterKubeconfig', 'clusterId', clusterId);
|
|
8961
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/kubeconfig`
|
|
8962
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
8963
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
8964
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8965
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8966
|
+
let baseOptions;
|
|
8967
|
+
if (configuration) {
|
|
8968
|
+
baseOptions = configuration.baseOptions;
|
|
8969
|
+
}
|
|
8970
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8971
|
+
const localVarHeaderParameter = {};
|
|
8972
|
+
const localVarQueryParameter = {};
|
|
8973
|
+
// authentication ApiKeyAuth required
|
|
8974
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8975
|
+
// authentication bearerAuth required
|
|
8976
|
+
// http bearer authentication required
|
|
8977
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8978
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8979
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8980
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8981
|
+
return {
|
|
8982
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8983
|
+
options: localVarRequestOptions,
|
|
8984
|
+
};
|
|
8985
|
+
}),
|
|
8948
8986
|
/**
|
|
8949
8987
|
*
|
|
8950
8988
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -9424,6 +9462,20 @@ const ClustersApiFp = function (configuration) {
|
|
|
9424
9462
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
9425
9463
|
});
|
|
9426
9464
|
},
|
|
9465
|
+
/**
|
|
9466
|
+
*
|
|
9467
|
+
* @summary Get cluster kubeconfig
|
|
9468
|
+
* @param {string} organizationId Organization ID
|
|
9469
|
+
* @param {string} clusterId Cluster ID
|
|
9470
|
+
* @param {*} [options] Override http request option.
|
|
9471
|
+
* @throws {RequiredError}
|
|
9472
|
+
*/
|
|
9473
|
+
getClusterKubeconfig(organizationId, clusterId, options) {
|
|
9474
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9475
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterKubeconfig(organizationId, clusterId, options);
|
|
9476
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
9477
|
+
});
|
|
9478
|
+
},
|
|
9427
9479
|
/**
|
|
9428
9480
|
*
|
|
9429
9481
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -9652,6 +9704,17 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
9652
9704
|
getClusterAdvancedSettings(organizationId, clusterId, options) {
|
|
9653
9705
|
return localVarFp.getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
9654
9706
|
},
|
|
9707
|
+
/**
|
|
9708
|
+
*
|
|
9709
|
+
* @summary Get cluster kubeconfig
|
|
9710
|
+
* @param {string} organizationId Organization ID
|
|
9711
|
+
* @param {string} clusterId Cluster ID
|
|
9712
|
+
* @param {*} [options] Override http request option.
|
|
9713
|
+
* @throws {RequiredError}
|
|
9714
|
+
*/
|
|
9715
|
+
getClusterKubeconfig(organizationId, clusterId, options) {
|
|
9716
|
+
return localVarFp.getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
9717
|
+
},
|
|
9655
9718
|
/**
|
|
9656
9719
|
*
|
|
9657
9720
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -9857,6 +9920,18 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
9857
9920
|
getClusterAdvancedSettings(organizationId, clusterId, options) {
|
|
9858
9921
|
return (0, exports.ClustersApiFp)(this.configuration).getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
9859
9922
|
}
|
|
9923
|
+
/**
|
|
9924
|
+
*
|
|
9925
|
+
* @summary Get cluster kubeconfig
|
|
9926
|
+
* @param {string} organizationId Organization ID
|
|
9927
|
+
* @param {string} clusterId Cluster ID
|
|
9928
|
+
* @param {*} [options] Override http request option.
|
|
9929
|
+
* @throws {RequiredError}
|
|
9930
|
+
* @memberof ClustersApi
|
|
9931
|
+
*/
|
|
9932
|
+
getClusterKubeconfig(organizationId, clusterId, options) {
|
|
9933
|
+
return (0, exports.ClustersApiFp)(this.configuration).getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
9934
|
+
}
|
|
9860
9935
|
/**
|
|
9861
9936
|
*
|
|
9862
9937
|
* @summary Know if a cluster is ready to be deployed or not
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2747,35 +2747,10 @@ export interface ClusterRoutingTable {
|
|
|
2747
2747
|
export interface ClusterRoutingTableRequest {
|
|
2748
2748
|
/**
|
|
2749
2749
|
*
|
|
2750
|
-
* @type {Array<
|
|
2750
|
+
* @type {Array<ClusterRoutingTableResultsInner>}
|
|
2751
2751
|
* @memberof ClusterRoutingTableRequest
|
|
2752
2752
|
*/
|
|
2753
|
-
'routes': Array<
|
|
2754
|
-
}
|
|
2755
|
-
/**
|
|
2756
|
-
*
|
|
2757
|
-
* @export
|
|
2758
|
-
* @interface ClusterRoutingTableRequestRoutesInner
|
|
2759
|
-
*/
|
|
2760
|
-
export interface ClusterRoutingTableRequestRoutesInner {
|
|
2761
|
-
/**
|
|
2762
|
-
*
|
|
2763
|
-
* @type {string}
|
|
2764
|
-
* @memberof ClusterRoutingTableRequestRoutesInner
|
|
2765
|
-
*/
|
|
2766
|
-
'destination': string;
|
|
2767
|
-
/**
|
|
2768
|
-
*
|
|
2769
|
-
* @type {string}
|
|
2770
|
-
* @memberof ClusterRoutingTableRequestRoutesInner
|
|
2771
|
-
*/
|
|
2772
|
-
'target': string;
|
|
2773
|
-
/**
|
|
2774
|
-
*
|
|
2775
|
-
* @type {string}
|
|
2776
|
-
* @memberof ClusterRoutingTableRequestRoutesInner
|
|
2777
|
-
*/
|
|
2778
|
-
'description': string;
|
|
2753
|
+
'routes': Array<ClusterRoutingTableResultsInner>;
|
|
2779
2754
|
}
|
|
2780
2755
|
/**
|
|
2781
2756
|
*
|
|
@@ -2788,19 +2763,19 @@ export interface ClusterRoutingTableResultsInner {
|
|
|
2788
2763
|
* @type {string}
|
|
2789
2764
|
* @memberof ClusterRoutingTableResultsInner
|
|
2790
2765
|
*/
|
|
2791
|
-
'destination'
|
|
2766
|
+
'destination': string;
|
|
2792
2767
|
/**
|
|
2793
2768
|
*
|
|
2794
2769
|
* @type {string}
|
|
2795
2770
|
* @memberof ClusterRoutingTableResultsInner
|
|
2796
2771
|
*/
|
|
2797
|
-
'target'
|
|
2772
|
+
'target': string;
|
|
2798
2773
|
/**
|
|
2799
2774
|
*
|
|
2800
2775
|
* @type {string}
|
|
2801
2776
|
* @memberof ClusterRoutingTableResultsInner
|
|
2802
2777
|
*/
|
|
2803
|
-
'description'
|
|
2778
|
+
'description': string;
|
|
2804
2779
|
}
|
|
2805
2780
|
/**
|
|
2806
2781
|
*
|
|
@@ -17739,6 +17714,15 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
17739
17714
|
* @throws {RequiredError}
|
|
17740
17715
|
*/
|
|
17741
17716
|
getClusterAdvancedSettings: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17717
|
+
/**
|
|
17718
|
+
*
|
|
17719
|
+
* @summary Get cluster kubeconfig
|
|
17720
|
+
* @param {string} organizationId Organization ID
|
|
17721
|
+
* @param {string} clusterId Cluster ID
|
|
17722
|
+
* @param {*} [options] Override http request option.
|
|
17723
|
+
* @throws {RequiredError}
|
|
17724
|
+
*/
|
|
17725
|
+
getClusterKubeconfig: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17742
17726
|
/**
|
|
17743
17727
|
*
|
|
17744
17728
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -17899,6 +17883,15 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
17899
17883
|
* @throws {RequiredError}
|
|
17900
17884
|
*/
|
|
17901
17885
|
getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>>;
|
|
17886
|
+
/**
|
|
17887
|
+
*
|
|
17888
|
+
* @summary Get cluster kubeconfig
|
|
17889
|
+
* @param {string} organizationId Organization ID
|
|
17890
|
+
* @param {string} clusterId Cluster ID
|
|
17891
|
+
* @param {*} [options] Override http request option.
|
|
17892
|
+
* @throws {RequiredError}
|
|
17893
|
+
*/
|
|
17894
|
+
getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
17902
17895
|
/**
|
|
17903
17896
|
*
|
|
17904
17897
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -18059,6 +18052,15 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
18059
18052
|
* @throws {RequiredError}
|
|
18060
18053
|
*/
|
|
18061
18054
|
getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterAdvancedSettings>;
|
|
18055
|
+
/**
|
|
18056
|
+
*
|
|
18057
|
+
* @summary Get cluster kubeconfig
|
|
18058
|
+
* @param {string} organizationId Organization ID
|
|
18059
|
+
* @param {string} clusterId Cluster ID
|
|
18060
|
+
* @param {*} [options] Override http request option.
|
|
18061
|
+
* @throws {RequiredError}
|
|
18062
|
+
*/
|
|
18063
|
+
getClusterKubeconfig(organizationId: string, clusterId: string, options?: any): AxiosPromise<string>;
|
|
18062
18064
|
/**
|
|
18063
18065
|
*
|
|
18064
18066
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -18228,6 +18230,16 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
18228
18230
|
* @memberof ClustersApi
|
|
18229
18231
|
*/
|
|
18230
18232
|
getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterAdvancedSettings, any>>;
|
|
18233
|
+
/**
|
|
18234
|
+
*
|
|
18235
|
+
* @summary Get cluster kubeconfig
|
|
18236
|
+
* @param {string} organizationId Organization ID
|
|
18237
|
+
* @param {string} clusterId Cluster ID
|
|
18238
|
+
* @param {*} [options] Override http request option.
|
|
18239
|
+
* @throws {RequiredError}
|
|
18240
|
+
* @memberof ClustersApi
|
|
18241
|
+
*/
|
|
18242
|
+
getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
18231
18243
|
/**
|
|
18232
18244
|
*
|
|
18233
18245
|
* @summary Know if a cluster is ready to be deployed or not
|
package/dist/esm/api.js
CHANGED
|
@@ -8875,6 +8875,44 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
8875
8875
|
options: localVarRequestOptions,
|
|
8876
8876
|
};
|
|
8877
8877
|
}),
|
|
8878
|
+
/**
|
|
8879
|
+
*
|
|
8880
|
+
* @summary Get cluster kubeconfig
|
|
8881
|
+
* @param {string} organizationId Organization ID
|
|
8882
|
+
* @param {string} clusterId Cluster ID
|
|
8883
|
+
* @param {*} [options] Override http request option.
|
|
8884
|
+
* @throws {RequiredError}
|
|
8885
|
+
*/
|
|
8886
|
+
getClusterKubeconfig: (organizationId, clusterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
8887
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
8888
|
+
assertParamExists('getClusterKubeconfig', 'organizationId', organizationId);
|
|
8889
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
8890
|
+
assertParamExists('getClusterKubeconfig', 'clusterId', clusterId);
|
|
8891
|
+
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/kubeconfig`
|
|
8892
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
8893
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
8894
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8895
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8896
|
+
let baseOptions;
|
|
8897
|
+
if (configuration) {
|
|
8898
|
+
baseOptions = configuration.baseOptions;
|
|
8899
|
+
}
|
|
8900
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8901
|
+
const localVarHeaderParameter = {};
|
|
8902
|
+
const localVarQueryParameter = {};
|
|
8903
|
+
// authentication ApiKeyAuth required
|
|
8904
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
8905
|
+
// authentication bearerAuth required
|
|
8906
|
+
// http bearer authentication required
|
|
8907
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8908
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8909
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8910
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8911
|
+
return {
|
|
8912
|
+
url: toPathString(localVarUrlObj),
|
|
8913
|
+
options: localVarRequestOptions,
|
|
8914
|
+
};
|
|
8915
|
+
}),
|
|
8878
8916
|
/**
|
|
8879
8917
|
*
|
|
8880
8918
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -9353,6 +9391,20 @@ export const ClustersApiFp = function (configuration) {
|
|
|
9353
9391
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9354
9392
|
});
|
|
9355
9393
|
},
|
|
9394
|
+
/**
|
|
9395
|
+
*
|
|
9396
|
+
* @summary Get cluster kubeconfig
|
|
9397
|
+
* @param {string} organizationId Organization ID
|
|
9398
|
+
* @param {string} clusterId Cluster ID
|
|
9399
|
+
* @param {*} [options] Override http request option.
|
|
9400
|
+
* @throws {RequiredError}
|
|
9401
|
+
*/
|
|
9402
|
+
getClusterKubeconfig(organizationId, clusterId, options) {
|
|
9403
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9404
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterKubeconfig(organizationId, clusterId, options);
|
|
9405
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9406
|
+
});
|
|
9407
|
+
},
|
|
9356
9408
|
/**
|
|
9357
9409
|
*
|
|
9358
9410
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -9580,6 +9632,17 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
9580
9632
|
getClusterAdvancedSettings(organizationId, clusterId, options) {
|
|
9581
9633
|
return localVarFp.getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
9582
9634
|
},
|
|
9635
|
+
/**
|
|
9636
|
+
*
|
|
9637
|
+
* @summary Get cluster kubeconfig
|
|
9638
|
+
* @param {string} organizationId Organization ID
|
|
9639
|
+
* @param {string} clusterId Cluster ID
|
|
9640
|
+
* @param {*} [options] Override http request option.
|
|
9641
|
+
* @throws {RequiredError}
|
|
9642
|
+
*/
|
|
9643
|
+
getClusterKubeconfig(organizationId, clusterId, options) {
|
|
9644
|
+
return localVarFp.getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
9645
|
+
},
|
|
9583
9646
|
/**
|
|
9584
9647
|
*
|
|
9585
9648
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -9784,6 +9847,18 @@ export class ClustersApi extends BaseAPI {
|
|
|
9784
9847
|
getClusterAdvancedSettings(organizationId, clusterId, options) {
|
|
9785
9848
|
return ClustersApiFp(this.configuration).getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
9786
9849
|
}
|
|
9850
|
+
/**
|
|
9851
|
+
*
|
|
9852
|
+
* @summary Get cluster kubeconfig
|
|
9853
|
+
* @param {string} organizationId Organization ID
|
|
9854
|
+
* @param {string} clusterId Cluster ID
|
|
9855
|
+
* @param {*} [options] Override http request option.
|
|
9856
|
+
* @throws {RequiredError}
|
|
9857
|
+
* @memberof ClustersApi
|
|
9858
|
+
*/
|
|
9859
|
+
getClusterKubeconfig(organizationId, clusterId, options) {
|
|
9860
|
+
return ClustersApiFp(this.configuration).getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
9861
|
+
}
|
|
9787
9862
|
/**
|
|
9788
9863
|
*
|
|
9789
9864
|
* @summary Know if a cluster is ready to be deployed or not
|