kb-cloud-client-typescript 2.3.0-beta.0 → 2.3.0-beta.2
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/dist/adminapi/apis/cluster-api.d.ts +36 -4
- package/dist/adminapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-api.js +30 -10
- package/dist/adminapi/apis/cluster-api.js.map +1 -1
- package/dist/adminapi/apis/load-balancer-api.d.ts +175 -0
- package/dist/adminapi/apis/load-balancer-api.d.ts.map +1 -1
- package/dist/adminapi/apis/load-balancer-api.js +213 -0
- package/dist/adminapi/apis/load-balancer-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +36 -4
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +30 -10
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/cluster-list-item.d.ts +20 -0
- package/dist/adminapi/models/cluster-list-item.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +4 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +4 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/load-balancer-annotations.d.ts +35 -0
- package/dist/adminapi/models/load-balancer-annotations.d.ts.map +1 -0
- package/dist/adminapi/models/load-balancer-annotations.js +16 -0
- package/dist/adminapi/models/load-balancer-annotations.js.map +1 -0
- package/dist/adminapi/models/load-balancer-config-update.d.ts +26 -0
- package/dist/adminapi/models/load-balancer-config-update.d.ts.map +1 -0
- package/dist/adminapi/models/load-balancer-config-update.js +16 -0
- package/dist/adminapi/models/load-balancer-config-update.js.map +1 -0
- package/dist/adminapi/models/load-balancer-config.d.ts +32 -0
- package/dist/adminapi/models/load-balancer-config.d.ts.map +1 -0
- package/dist/adminapi/models/load-balancer-config.js +16 -0
- package/dist/adminapi/models/load-balancer-config.js.map +1 -0
- package/dist/adminapi/models/scheduling-config.d.ts +14 -0
- package/dist/adminapi/models/scheduling-config.d.ts.map +1 -1
- package/dist/adminapi/models/system-component-scheduler-policy.d.ts +22 -0
- package/dist/adminapi/models/system-component-scheduler-policy.d.ts.map +1 -0
- package/dist/adminapi/models/system-component-scheduler-policy.js +26 -0
- package/dist/adminapi/models/system-component-scheduler-policy.js.map +1 -0
- package/dist/internalapi/apis/cluster-api.d.ts +18 -2
- package/dist/internalapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/internalapi/apis/cluster-api.js +15 -5
- package/dist/internalapi/apis/cluster-api.js.map +1 -1
- package/dist/internalapi/models/cluster-list-item.d.ts +20 -0
- package/dist/internalapi/models/cluster-list-item.d.ts.map +1 -1
- package/dist/internalapi/models/index.d.ts +1 -0
- package/dist/internalapi/models/index.d.ts.map +1 -1
- package/dist/internalapi/models/index.js +1 -0
- package/dist/internalapi/models/index.js.map +1 -1
- package/dist/internalapi/models/tag.d.ts +37 -0
- package/dist/internalapi/models/tag.d.ts.map +1 -0
- package/dist/internalapi/models/tag.js +16 -0
- package/dist/internalapi/models/tag.js.map +1 -0
- package/dist/openapi/apis/cluster-api.d.ts +18 -2
- package/dist/openapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/openapi/apis/cluster-api.js +15 -5
- package/dist/openapi/apis/cluster-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +18 -2
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +15 -5
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/cluster-list-item.d.ts +20 -0
- package/dist/openapi/models/cluster-list-item.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +4 -0
- package/src/adminapi/apis/cluster-api.ts +62 -10
- package/src/adminapi/apis/load-balancer-api.ts +318 -0
- package/src/adminapi/apis/shared-api.ts +62 -10
- package/src/adminapi/models/cluster-list-item.ts +24 -0
- package/src/adminapi/models/index.ts +4 -0
- package/src/adminapi/models/load-balancer-annotations.ts +36 -0
- package/src/adminapi/models/load-balancer-config-update.ts +33 -0
- package/src/adminapi/models/load-balancer-config.ts +39 -0
- package/src/adminapi/models/scheduling-config.ts +18 -0
- package/src/adminapi/models/system-component-scheduler-policy.ts +31 -0
- package/src/adminapi.yaml +249 -82
- package/src/internalapi/.openapi-generator/FILES +1 -0
- package/src/internalapi/apis/cluster-api.ts +31 -5
- package/src/internalapi/models/cluster-list-item.ts +24 -0
- package/src/internalapi/models/index.ts +1 -0
- package/src/internalapi/models/tag.ts +42 -0
- package/src/internalapi.yaml +107 -66
- package/src/openapi/apis/cluster-api.ts +31 -5
- package/src/openapi/apis/shared-api.ts +31 -5
- package/src/openapi/models/cluster-list-item.ts +24 -0
- package/src/openapi.yaml +107 -82
|
@@ -6540,10 +6540,12 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
6540
6540
|
* @param {Array<string>} [tagValues] A list of tags\' values corresponding to the tagKeys
|
|
6541
6541
|
* @param {number} [licenseId] license id
|
|
6542
6542
|
* @param {string} [refClusterName] list clusters referenced by this cluster
|
|
6543
|
+
* @param {string} [endpointHost] Case-insensitive substring to match against the host part of cached cluster endpoints
|
|
6544
|
+
* @param {boolean} [includeEndpoints] Whether to include cached user-visible endpoints in each cluster item
|
|
6543
6545
|
* @param {*} [options] Override http request option.
|
|
6544
6546
|
* @throws {RequiredError}
|
|
6545
6547
|
*/
|
|
6546
|
-
listCluster: async (orgName, clusterDefinition, environmentName, environmentType, tagKey, tagValue, tagKeys, tagValues, licenseId, refClusterName, options = {}) => {
|
|
6548
|
+
listCluster: async (orgName, clusterDefinition, environmentName, environmentType, tagKey, tagValue, tagKeys, tagValues, licenseId, refClusterName, endpointHost, includeEndpoints, options = {}) => {
|
|
6547
6549
|
// verify required parameter 'orgName' is not null or undefined
|
|
6548
6550
|
(0, common_1.assertParamExists)('listCluster', 'orgName', orgName);
|
|
6549
6551
|
const localVarPath = `/admin/v1/organizations/{orgName}/clusters`
|
|
@@ -6589,6 +6591,12 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
6589
6591
|
if (refClusterName !== undefined) {
|
|
6590
6592
|
localVarQueryParameter['refClusterName'] = refClusterName;
|
|
6591
6593
|
}
|
|
6594
|
+
if (endpointHost !== undefined) {
|
|
6595
|
+
localVarQueryParameter['endpointHost'] = endpointHost;
|
|
6596
|
+
}
|
|
6597
|
+
if (includeEndpoints !== undefined) {
|
|
6598
|
+
localVarQueryParameter['includeEndpoints'] = includeEndpoints;
|
|
6599
|
+
}
|
|
6592
6600
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6593
6601
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6594
6602
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -6641,10 +6649,12 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
6641
6649
|
* @param {string} [orgName] Organization name, if envName is provided, orgName is required
|
|
6642
6650
|
* @param {string} [envName] Environment name
|
|
6643
6651
|
* @param {boolean} [withStatic] Whether to include static clusters
|
|
6652
|
+
* @param {string} [endpointHost] Case-insensitive substring to match against the host part of cached cluster endpoints
|
|
6653
|
+
* @param {boolean} [includeEndpoints] Whether to include cached user-visible endpoints in each cluster item
|
|
6644
6654
|
* @param {*} [options] Override http request option.
|
|
6645
6655
|
* @throws {RequiredError}
|
|
6646
6656
|
*/
|
|
6647
|
-
listClusters: async (orgName, envName, withStatic, options = {}) => {
|
|
6657
|
+
listClusters: async (orgName, envName, withStatic, endpointHost, includeEndpoints, options = {}) => {
|
|
6648
6658
|
const localVarPath = `/admin/v1/clusters`;
|
|
6649
6659
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6650
6660
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -6669,6 +6679,12 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
6669
6679
|
if (withStatic !== undefined) {
|
|
6670
6680
|
localVarQueryParameter['withStatic'] = withStatic;
|
|
6671
6681
|
}
|
|
6682
|
+
if (endpointHost !== undefined) {
|
|
6683
|
+
localVarQueryParameter['endpointHost'] = endpointHost;
|
|
6684
|
+
}
|
|
6685
|
+
if (includeEndpoints !== undefined) {
|
|
6686
|
+
localVarQueryParameter['includeEndpoints'] = includeEndpoints;
|
|
6687
|
+
}
|
|
6672
6688
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6673
6689
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6674
6690
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -15595,12 +15611,14 @@ const SharedApiFp = function (configuration) {
|
|
|
15595
15611
|
* @param {Array<string>} [tagValues] A list of tags\' values corresponding to the tagKeys
|
|
15596
15612
|
* @param {number} [licenseId] license id
|
|
15597
15613
|
* @param {string} [refClusterName] list clusters referenced by this cluster
|
|
15614
|
+
* @param {string} [endpointHost] Case-insensitive substring to match against the host part of cached cluster endpoints
|
|
15615
|
+
* @param {boolean} [includeEndpoints] Whether to include cached user-visible endpoints in each cluster item
|
|
15598
15616
|
* @param {*} [options] Override http request option.
|
|
15599
15617
|
* @throws {RequiredError}
|
|
15600
15618
|
*/
|
|
15601
|
-
async listCluster(orgName, clusterDefinition, environmentName, environmentType, tagKey, tagValue, tagKeys, tagValues, licenseId, refClusterName, options) {
|
|
15619
|
+
async listCluster(orgName, clusterDefinition, environmentName, environmentType, tagKey, tagValue, tagKeys, tagValues, licenseId, refClusterName, endpointHost, includeEndpoints, options) {
|
|
15602
15620
|
var _a, _b, _c;
|
|
15603
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listCluster(orgName, clusterDefinition, environmentName, environmentType, tagKey, tagValue, tagKeys, tagValues, licenseId, refClusterName, options);
|
|
15621
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCluster(orgName, clusterDefinition, environmentName, environmentType, tagKey, tagValue, tagKeys, tagValues, licenseId, refClusterName, endpointHost, includeEndpoints, options);
|
|
15604
15622
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15605
15623
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15606
15624
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -15626,12 +15644,14 @@ const SharedApiFp = function (configuration) {
|
|
|
15626
15644
|
* @param {string} [orgName] Organization name, if envName is provided, orgName is required
|
|
15627
15645
|
* @param {string} [envName] Environment name
|
|
15628
15646
|
* @param {boolean} [withStatic] Whether to include static clusters
|
|
15647
|
+
* @param {string} [endpointHost] Case-insensitive substring to match against the host part of cached cluster endpoints
|
|
15648
|
+
* @param {boolean} [includeEndpoints] Whether to include cached user-visible endpoints in each cluster item
|
|
15629
15649
|
* @param {*} [options] Override http request option.
|
|
15630
15650
|
* @throws {RequiredError}
|
|
15631
15651
|
*/
|
|
15632
|
-
async listClusters(orgName, envName, withStatic, options) {
|
|
15652
|
+
async listClusters(orgName, envName, withStatic, endpointHost, includeEndpoints, options) {
|
|
15633
15653
|
var _a, _b, _c;
|
|
15634
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusters(orgName, envName, withStatic, options);
|
|
15654
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusters(orgName, envName, withStatic, endpointHost, includeEndpoints, options);
|
|
15635
15655
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
15636
15656
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listClusters']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
15637
15657
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -19446,7 +19466,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19446
19466
|
* @throws {RequiredError}
|
|
19447
19467
|
*/
|
|
19448
19468
|
listCluster(requestParameters, options) {
|
|
19449
|
-
return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, options).then((request) => request(axios, basePath));
|
|
19469
|
+
return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
|
|
19450
19470
|
},
|
|
19451
19471
|
/**
|
|
19452
19472
|
*
|
|
@@ -19466,7 +19486,7 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
19466
19486
|
* @throws {RequiredError}
|
|
19467
19487
|
*/
|
|
19468
19488
|
listClusters(requestParameters = {}, options) {
|
|
19469
|
-
return localVarFp.listClusters(requestParameters.orgName, requestParameters.envName, requestParameters.withStatic, options).then((request) => request(axios, basePath));
|
|
19489
|
+
return localVarFp.listClusters(requestParameters.orgName, requestParameters.envName, requestParameters.withStatic, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
|
|
19470
19490
|
},
|
|
19471
19491
|
/**
|
|
19472
19492
|
*
|
|
@@ -22445,7 +22465,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22445
22465
|
* @memberof SharedApi
|
|
22446
22466
|
*/
|
|
22447
22467
|
listCluster(requestParameters, options) {
|
|
22448
|
-
return (0, exports.SharedApiFp)(this.configuration).listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, options).then((request) => request(this.axios, this.basePath));
|
|
22468
|
+
return (0, exports.SharedApiFp)(this.configuration).listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(this.axios, this.basePath));
|
|
22449
22469
|
}
|
|
22450
22470
|
/**
|
|
22451
22471
|
*
|
|
@@ -22467,7 +22487,7 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
22467
22487
|
* @memberof SharedApi
|
|
22468
22488
|
*/
|
|
22469
22489
|
listClusters(requestParameters = {}, options) {
|
|
22470
|
-
return (0, exports.SharedApiFp)(this.configuration).listClusters(requestParameters.orgName, requestParameters.envName, requestParameters.withStatic, options).then((request) => request(this.axios, this.basePath));
|
|
22490
|
+
return (0, exports.SharedApiFp)(this.configuration).listClusters(requestParameters.orgName, requestParameters.envName, requestParameters.withStatic, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(this.axios, this.basePath));
|
|
22471
22491
|
}
|
|
22472
22492
|
/**
|
|
22473
22493
|
*
|