qovery-typescript-axios 1.1.306 → 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 +81 -0
- package/dist/api.d.ts +37 -0
- package/dist/api.js +75 -0
- package/dist/esm/api.d.ts +37 -0
- package/dist/esm/api.js +75 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -23015,6 +23015,51 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
23015
23015
|
|
|
23016
23016
|
|
|
23017
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
|
+
|
|
23018
23063
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23019
23064
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23020
23065
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23560,6 +23605,18 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
23560
23605
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterAdvancedSettings(organizationId, clusterId, options);
|
|
23561
23606
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23562
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
|
+
},
|
|
23563
23620
|
/**
|
|
23564
23621
|
*
|
|
23565
23622
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -23768,6 +23825,17 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
23768
23825
|
getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterAdvancedSettings> {
|
|
23769
23826
|
return localVarFp.getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
23770
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
|
+
},
|
|
23771
23839
|
/**
|
|
23772
23840
|
*
|
|
23773
23841
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -23980,6 +24048,19 @@ export class ClustersApi extends BaseAPI {
|
|
|
23980
24048
|
return ClustersApiFp(this.configuration).getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
23981
24049
|
}
|
|
23982
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
|
+
|
|
23983
24064
|
/**
|
|
23984
24065
|
*
|
|
23985
24066
|
* @summary Know if a cluster is ready to be deployed or not
|
package/dist/api.d.ts
CHANGED
|
@@ -17714,6 +17714,15 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
17714
17714
|
* @throws {RequiredError}
|
|
17715
17715
|
*/
|
|
17716
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>;
|
|
17717
17726
|
/**
|
|
17718
17727
|
*
|
|
17719
17728
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -17874,6 +17883,15 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
17874
17883
|
* @throws {RequiredError}
|
|
17875
17884
|
*/
|
|
17876
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>>;
|
|
17877
17895
|
/**
|
|
17878
17896
|
*
|
|
17879
17897
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -18034,6 +18052,15 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
18034
18052
|
* @throws {RequiredError}
|
|
18035
18053
|
*/
|
|
18036
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>;
|
|
18037
18064
|
/**
|
|
18038
18065
|
*
|
|
18039
18066
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -18203,6 +18230,16 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
18203
18230
|
* @memberof ClustersApi
|
|
18204
18231
|
*/
|
|
18205
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>>;
|
|
18206
18243
|
/**
|
|
18207
18244
|
*
|
|
18208
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
|
@@ -17714,6 +17714,15 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
17714
17714
|
* @throws {RequiredError}
|
|
17715
17715
|
*/
|
|
17716
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>;
|
|
17717
17726
|
/**
|
|
17718
17727
|
*
|
|
17719
17728
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -17874,6 +17883,15 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
17874
17883
|
* @throws {RequiredError}
|
|
17875
17884
|
*/
|
|
17876
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>>;
|
|
17877
17895
|
/**
|
|
17878
17896
|
*
|
|
17879
17897
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -18034,6 +18052,15 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
18034
18052
|
* @throws {RequiredError}
|
|
18035
18053
|
*/
|
|
18036
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>;
|
|
18037
18064
|
/**
|
|
18038
18065
|
*
|
|
18039
18066
|
* @summary Know if a cluster is ready to be deployed or not
|
|
@@ -18203,6 +18230,16 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
18203
18230
|
* @memberof ClustersApi
|
|
18204
18231
|
*/
|
|
18205
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>>;
|
|
18206
18243
|
/**
|
|
18207
18244
|
*
|
|
18208
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
|