kb-cloud-client-typescript 2.3.84 → 2.3.85
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/alert-object-api.d.ts +26 -2
- package/dist/adminapi/apis/alert-object-api.d.ts.map +1 -1
- package/dist/adminapi/apis/alert-object-api.js +20 -5
- package/dist/adminapi/apis/alert-object-api.js.map +1 -1
- package/dist/adminapi/models/component-item-create.d.ts +2 -2
- package/dist/adminapi/models/component-item.d.ts +1 -1
- package/dist/adminapi/models/instance-template-attribute.d.ts +0 -2
- package/dist/adminapi/models/instance-template-attribute.d.ts.map +1 -1
- package/dist/adminapi/models/instance-template-attribute.js +0 -2
- package/dist/adminapi/models/instance-template-attribute.js.map +1 -1
- package/dist/adminapi/models/instance-template-create-env-inner.d.ts +1 -1
- package/dist/adminapi/models/instance-template-create.d.ts +3 -19
- package/dist/adminapi/models/instance-template-create.d.ts.map +1 -1
- package/dist/adminapi/models/instance-template-env.d.ts +3 -3
- package/dist/adminapi/models/mode-component-instance-template.d.ts +2 -2
- package/dist/adminapi/models/placement-scope.d.ts +1 -1
- package/dist/adminapi/models/placement-scope.js +1 -1
- package/dist/internalapi/models/component-item.d.ts +1 -1
- package/dist/internalapi/models/instance-template-create-env-inner.d.ts +1 -1
- package/dist/internalapi/models/instance-template-create.d.ts +3 -19
- package/dist/internalapi/models/instance-template-create.d.ts.map +1 -1
- package/dist/openapi/models/component-item-create.d.ts +2 -2
- package/dist/openapi/models/component-item.d.ts +1 -1
- package/dist/openapi/models/instance-template-attribute.d.ts +0 -2
- package/dist/openapi/models/instance-template-attribute.d.ts.map +1 -1
- package/dist/openapi/models/instance-template-attribute.js +0 -2
- package/dist/openapi/models/instance-template-attribute.js.map +1 -1
- package/dist/openapi/models/instance-template-create-env-inner.d.ts +1 -1
- package/dist/openapi/models/instance-template-create.d.ts +3 -19
- package/dist/openapi/models/instance-template-create.d.ts.map +1 -1
- package/dist/openapi/models/instance-template-env.d.ts +3 -3
- package/dist/openapi/models/mode-component-instance-template.d.ts +2 -2
- package/dist/openapi/models/placement-scope.d.ts +1 -1
- package/dist/openapi/models/placement-scope.js +1 -1
- package/package.json +1 -1
- package/src/adminapi/apis/alert-object-api.ts +44 -5
- package/src/adminapi/models/component-item-create.ts +2 -2
- package/src/adminapi/models/component-item.ts +1 -1
- package/src/adminapi/models/instance-template-attribute.ts +0 -2
- package/src/adminapi/models/instance-template-create-env-inner.ts +1 -1
- package/src/adminapi/models/instance-template-create.ts +3 -15
- package/src/adminapi/models/instance-template-env.ts +3 -3
- package/src/adminapi/models/mode-component-instance-template.ts +2 -2
- package/src/adminapi/models/placement-scope.ts +1 -1
- package/src/adminapi.yaml +32 -32
- package/src/internalapi/models/component-item.ts +1 -1
- package/src/internalapi/models/instance-template-create-env-inner.ts +1 -1
- package/src/internalapi/models/instance-template-create.ts +3 -15
- package/src/internalapi.yaml +6 -16
- package/src/openapi/models/component-item-create.ts +2 -2
- package/src/openapi/models/component-item.ts +1 -1
- package/src/openapi/models/instance-template-attribute.ts +0 -2
- package/src/openapi/models/instance-template-create-env-inner.ts +1 -1
- package/src/openapi/models/instance-template-create.ts +3 -15
- package/src/openapi/models/instance-template-env.ts +3 -3
- package/src/openapi/models/mode-component-instance-template.ts +2 -2
- package/src/openapi/models/placement-scope.ts +1 -1
- package/src/openapi.yaml +14 -32
|
@@ -25,10 +25,13 @@ export declare const AlertObjectApiAxiosParamCreator: (configuration?: Configura
|
|
|
25
25
|
* @param {string} [orgName] name of the Org
|
|
26
26
|
* @param {number} [page] page number
|
|
27
27
|
* @param {number} [pageSize] page size
|
|
28
|
+
* @param {string} [clusterName] filter by cluster name
|
|
29
|
+
* @param {string} [status] filter by alert status
|
|
30
|
+
* @param {string} [severity] filter by alert severity
|
|
28
31
|
* @param {*} [options] Override http request option.
|
|
29
32
|
* @throws {RequiredError}
|
|
30
33
|
*/
|
|
31
|
-
listAlertObjects: (orgName?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
listAlertObjects: (orgName?: string, page?: number, pageSize?: number, clusterName?: string, status?: string, severity?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
35
|
/**
|
|
33
36
|
*
|
|
34
37
|
* @summary Set alert object status
|
|
@@ -59,10 +62,13 @@ export declare const AlertObjectApiFp: (configuration?: Configuration) => {
|
|
|
59
62
|
* @param {string} [orgName] name of the Org
|
|
60
63
|
* @param {number} [page] page number
|
|
61
64
|
* @param {number} [pageSize] page size
|
|
65
|
+
* @param {string} [clusterName] filter by cluster name
|
|
66
|
+
* @param {string} [status] filter by alert status
|
|
67
|
+
* @param {string} [severity] filter by alert severity
|
|
62
68
|
* @param {*} [options] Override http request option.
|
|
63
69
|
* @throws {RequiredError}
|
|
64
70
|
*/
|
|
65
|
-
listAlertObjects(orgName?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertObjectList>>;
|
|
71
|
+
listAlertObjects(orgName?: string, page?: number, pageSize?: number, clusterName?: string, status?: string, severity?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertObjectList>>;
|
|
66
72
|
/**
|
|
67
73
|
*
|
|
68
74
|
* @summary Set alert object status
|
|
@@ -170,6 +176,24 @@ export interface AlertObjectApiListAlertObjectsRequest {
|
|
|
170
176
|
* @memberof AlertObjectApiListAlertObjects
|
|
171
177
|
*/
|
|
172
178
|
readonly pageSize?: number;
|
|
179
|
+
/**
|
|
180
|
+
* filter by cluster name
|
|
181
|
+
* @type {string}
|
|
182
|
+
* @memberof AlertObjectApiListAlertObjects
|
|
183
|
+
*/
|
|
184
|
+
readonly clusterName?: string;
|
|
185
|
+
/**
|
|
186
|
+
* filter by alert status
|
|
187
|
+
* @type {string}
|
|
188
|
+
* @memberof AlertObjectApiListAlertObjects
|
|
189
|
+
*/
|
|
190
|
+
readonly status?: string;
|
|
191
|
+
/**
|
|
192
|
+
* filter by alert severity
|
|
193
|
+
* @type {string}
|
|
194
|
+
* @memberof AlertObjectApiListAlertObjects
|
|
195
|
+
*/
|
|
196
|
+
readonly severity?: string;
|
|
173
197
|
}
|
|
174
198
|
/**
|
|
175
199
|
* Request parameters for setAlertObjectStatus operation in AlertObjectApi.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-object-api.d.ts","sourceRoot":"","sources":["../../../src/adminapi/apis/alert-object-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMhF,OAAO,EAAiC,KAAK,WAAW,EAAE,OAAO,EAAqC,MAAM,SAAS,CAAC;AAItH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACjD;;;GAGG;AACH,eAAO,MAAM,+BAA+B,GAAa,gBAAgB,aAAa;IAE9E
|
|
1
|
+
{"version":3,"file":"alert-object-api.d.ts","sourceRoot":"","sources":["../../../src/adminapi/apis/alert-object-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMhF,OAAO,EAAiC,KAAK,WAAW,EAAE,OAAO,EAAqC,MAAM,SAAS,CAAC;AAItH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACjD;;;GAGG;AACH,eAAO,MAAM,+BAA+B,GAAa,gBA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G;AACH,MAAM,WAAW,0CAA0C;IACvD;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IAEvB;;;;OAIG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,CAAA;CAC5C;AAED;;;;;GAKG;AACH,qBAAa,cAAe,SAAQ,OAAQ,YAAW,uBAAuB;IAC1E;;;;;;;OAOG;IACI,gBAAgB,CAAC,iBAAiB,GAAE,qCAA0C,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAItH;;;;;;;OAOG;IACI,oBAAoB,CAAC,iBAAiB,EAAE,yCAAyC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIzH;;;;;;;OAOG;IACI,qBAAqB,CAAC,iBAAiB,EAAE,0CAA0C,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAG9H"}
|
|
@@ -35,10 +35,13 @@ const AlertObjectApiAxiosParamCreator = function (configuration) {
|
|
|
35
35
|
* @param {string} [orgName] name of the Org
|
|
36
36
|
* @param {number} [page] page number
|
|
37
37
|
* @param {number} [pageSize] page size
|
|
38
|
+
* @param {string} [clusterName] filter by cluster name
|
|
39
|
+
* @param {string} [status] filter by alert status
|
|
40
|
+
* @param {string} [severity] filter by alert severity
|
|
38
41
|
* @param {*} [options] Override http request option.
|
|
39
42
|
* @throws {RequiredError}
|
|
40
43
|
*/
|
|
41
|
-
listAlertObjects: async (orgName, page, pageSize, options = {}) => {
|
|
44
|
+
listAlertObjects: async (orgName, page, pageSize, clusterName, status, severity, options = {}) => {
|
|
42
45
|
const localVarPath = `/admin/v1/alerts/objects`;
|
|
43
46
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44
47
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -63,6 +66,15 @@ const AlertObjectApiAxiosParamCreator = function (configuration) {
|
|
|
63
66
|
if (pageSize !== undefined) {
|
|
64
67
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
65
68
|
}
|
|
69
|
+
if (clusterName !== undefined) {
|
|
70
|
+
localVarQueryParameter['clusterName'] = clusterName;
|
|
71
|
+
}
|
|
72
|
+
if (status !== undefined) {
|
|
73
|
+
localVarQueryParameter['status'] = status;
|
|
74
|
+
}
|
|
75
|
+
if (severity !== undefined) {
|
|
76
|
+
localVarQueryParameter['severity'] = severity;
|
|
77
|
+
}
|
|
66
78
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
67
79
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68
80
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -166,12 +178,15 @@ const AlertObjectApiFp = function (configuration) {
|
|
|
166
178
|
* @param {string} [orgName] name of the Org
|
|
167
179
|
* @param {number} [page] page number
|
|
168
180
|
* @param {number} [pageSize] page size
|
|
181
|
+
* @param {string} [clusterName] filter by cluster name
|
|
182
|
+
* @param {string} [status] filter by alert status
|
|
183
|
+
* @param {string} [severity] filter by alert severity
|
|
169
184
|
* @param {*} [options] Override http request option.
|
|
170
185
|
* @throws {RequiredError}
|
|
171
186
|
*/
|
|
172
|
-
async listAlertObjects(orgName, page, pageSize, options) {
|
|
187
|
+
async listAlertObjects(orgName, page, pageSize, clusterName, status, severity, options) {
|
|
173
188
|
var _a, _b, _c;
|
|
174
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAlertObjects(orgName, page, pageSize, options);
|
|
189
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAlertObjects(orgName, page, pageSize, clusterName, status, severity, options);
|
|
175
190
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
176
191
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AlertObjectApi.listAlertObjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
177
192
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -224,7 +239,7 @@ const AlertObjectApiFactory = function (configuration, basePath, axios) {
|
|
|
224
239
|
* @throws {RequiredError}
|
|
225
240
|
*/
|
|
226
241
|
listAlertObjects(requestParameters = {}, options) {
|
|
227
|
-
return localVarFp.listAlertObjects(requestParameters.orgName, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
242
|
+
return localVarFp.listAlertObjects(requestParameters.orgName, requestParameters.page, requestParameters.pageSize, requestParameters.clusterName, requestParameters.status, requestParameters.severity, options).then((request) => request(axios, basePath));
|
|
228
243
|
},
|
|
229
244
|
/**
|
|
230
245
|
*
|
|
@@ -265,7 +280,7 @@ class AlertObjectApi extends base_1.BaseAPI {
|
|
|
265
280
|
* @memberof AlertObjectApi
|
|
266
281
|
*/
|
|
267
282
|
listAlertObjects(requestParameters = {}, options) {
|
|
268
|
-
return (0, exports.AlertObjectApiFp)(this.configuration).listAlertObjects(requestParameters.orgName, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
283
|
+
return (0, exports.AlertObjectApiFp)(this.configuration).listAlertObjects(requestParameters.orgName, requestParameters.page, requestParameters.pageSize, requestParameters.clusterName, requestParameters.status, requestParameters.severity, options).then((request) => request(this.axios, this.basePath));
|
|
269
284
|
}
|
|
270
285
|
/**
|
|
271
286
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-object-api.js","sourceRoot":"","sources":["../../../src/adminapi/apis/alert-object-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAOtH;;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IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpS,CAAC;IAED;;;;;;;OAOG;IACI,oBAAoB,CAAC,iBAA4D,EAAE,OAA+B;QACrH,OAAO,IAAA,wBAAgB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACzL,CAAC;IAED;;;;;;;OAOG;IACI,qBAAqB,CAAC,iBAA6D,EAAE,OAA+B;QACvH,OAAO,IAAA,wBAAgB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC9L,CAAC;CACJ;AApCD,wCAoCC"}
|
|
@@ -41,7 +41,7 @@ export interface ComponentItemCreate {
|
|
|
41
41
|
*/
|
|
42
42
|
'nodeGroup'?: string;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Component AZ, enabled in the environment. Required when placementScope is component and this component has no templates; otherwise forbidden. An omitted nodeGroup does not inherit the cluster host group.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof ComponentItemCreate
|
|
47
47
|
*/
|
|
@@ -65,7 +65,7 @@ export interface ComponentItemCreate {
|
|
|
65
65
|
*/
|
|
66
66
|
'replicas'?: number;
|
|
67
67
|
/**
|
|
68
|
-
* Per-template replicas and optional overlays (env,
|
|
68
|
+
* Per-template replicas and optional overlays (env, availability zone, storage class). Required when the current mode component declares instanceTemplate in engine_options; otherwise omit. Names must exactly match all chart-rendered instances, without missing, extra, or duplicate names; order does not matter. Component replicas must equal the sum of all requested instance template replica counts.
|
|
69
69
|
* @type {Array<InstanceTemplateCreate>}
|
|
70
70
|
* @memberof ComponentItemCreate
|
|
71
71
|
*/
|
|
@@ -47,7 +47,7 @@ export interface ComponentItem {
|
|
|
47
47
|
*/
|
|
48
48
|
'availabilityZone'?: string;
|
|
49
49
|
/**
|
|
50
|
-
* Instance template assignments with effective replicas, placement and storage class, and user-provided env
|
|
50
|
+
* Instance template assignments with effective replicas, placement and storage class, and user-provided env.
|
|
51
51
|
* @type {Array<InstanceTemplateCreate>}
|
|
52
52
|
* @memberof ComponentItem
|
|
53
53
|
*/
|
|
@@ -16,8 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export declare const InstanceTemplateAttribute: {
|
|
18
18
|
readonly env: "env";
|
|
19
|
-
readonly annotations: "annotations";
|
|
20
|
-
readonly labels: "labels";
|
|
21
19
|
readonly storageClass: "storageClass";
|
|
22
20
|
};
|
|
23
21
|
export type InstanceTemplateAttribute = typeof InstanceTemplateAttribute[keyof typeof InstanceTemplateAttribute];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-attribute.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-attribute.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"instance-template-attribute.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-attribute.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,yBAAyB;;;CAG5B,CAAC;AAEX,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-attribute.js","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-attribute.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,yBAAyB,GAAG;IACrC,GAAG,EAAE,KAAK;IACV,
|
|
1
|
+
{"version":3,"file":"instance-template-attribute.js","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-attribute.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,yBAAyB,GAAG;IACrC,GAAG,EAAE,KAAK;IACV,YAAY,EAAE,cAAc;CACtB,CAAC"}
|
|
@@ -22,7 +22,7 @@ export interface InstanceTemplateCreateEnvInner {
|
|
|
22
22
|
*/
|
|
23
23
|
'name': string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Literal string; optional values may be empty. valueFrom is unsupported.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof InstanceTemplateCreateEnvInner
|
|
28
28
|
*/
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Instance template assignment. Include every chart-rendered template exactly once, with name and replicas. env and storageClass are optional. Placement follows the mode placementScope: component scope requires template availabilityZone and permits nodeGroup; cluster scope forbids template placement.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface InstanceTemplateCreate
|
|
17
17
|
*/
|
|
@@ -35,7 +35,7 @@ export interface InstanceTemplateCreate {
|
|
|
35
35
|
*/
|
|
36
36
|
'replicas': number;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Template AZ, enabled in the environment. Required when placementScope is component; forbidden in cluster scope. The containing component must omit placement. An omitted nodeGroup does not inherit an upper-level host group.
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof InstanceTemplateCreate
|
|
41
41
|
*/
|
|
@@ -47,26 +47,10 @@ export interface InstanceTemplateCreate {
|
|
|
47
47
|
*/
|
|
48
48
|
'storageClass'?: string;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Declared env overrides. Names must be unique; defaults apply only to omitted variables.
|
|
51
51
|
* @type {Array<InstanceTemplateCreateEnvInner>}
|
|
52
52
|
* @memberof InstanceTemplateCreate
|
|
53
53
|
*/
|
|
54
54
|
'env'?: Array<InstanceTemplateCreateEnvInner>;
|
|
55
|
-
/**
|
|
56
|
-
* Annotation map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted.
|
|
57
|
-
* @type {{ [key: string]: string; }}
|
|
58
|
-
* @memberof InstanceTemplateCreate
|
|
59
|
-
*/
|
|
60
|
-
'annotations'?: {
|
|
61
|
-
[key: string]: string;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Label map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted. The apps.kubeblocks.io/instance-template label is managed by the system and must equal the template name if supplied.
|
|
65
|
-
* @type {{ [key: string]: string; }}
|
|
66
|
-
* @memberof InstanceTemplateCreate
|
|
67
|
-
*/
|
|
68
|
-
'labels'?: {
|
|
69
|
-
[key: string]: string;
|
|
70
|
-
};
|
|
71
55
|
}
|
|
72
56
|
//# sourceMappingURL=instance-template-create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;CACjD"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { LocalizedDescription } from './localized-description';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Allowed template env variable and its input constraints.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface InstanceTemplateEnv
|
|
17
17
|
*/
|
|
@@ -35,13 +35,13 @@ export interface InstanceTemplateEnv {
|
|
|
35
35
|
*/
|
|
36
36
|
'description'?: LocalizedDescription;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Requires a non-blank value after applying the default.
|
|
39
39
|
* @type {boolean}
|
|
40
40
|
* @memberof InstanceTemplateEnv
|
|
41
41
|
*/
|
|
42
42
|
'required'?: boolean;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Used only when the variable is omitted.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof InstanceTemplateEnv
|
|
47
47
|
*/
|
|
@@ -31,13 +31,13 @@ export interface ModeComponentInstanceTemplate {
|
|
|
31
31
|
*/
|
|
32
32
|
'ops': Array<InstanceTemplateOp>;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Template UI attributes. Env overrides require env to be enabled.
|
|
35
35
|
* @type {Set<InstanceTemplateAttribute>}
|
|
36
36
|
* @memberof ModeComponentInstanceTemplate
|
|
37
37
|
*/
|
|
38
38
|
'attributes'?: Set<InstanceTemplateAttribute>;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Allowed env variables, with defaults and required checks applied before persistence.
|
|
41
41
|
* @type {Array<InstanceTemplateEnv>}
|
|
42
42
|
* @memberof ModeComponentInstanceTemplate
|
|
43
43
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Placement scope; defaults to cluster. Cluster placement excludes component/template placement. In component scope, each ordinary component or each declared instance template requires availabilityZone; nodeGroup is optional. Cluster availabilityZones, nodeGroup and singleZone are forbidden. A component cannot specify placement alongside its templates.
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.PlacementScope = void 0;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Placement scope; defaults to cluster. Cluster placement excludes component/template placement. In component scope, each ordinary component or each declared instance template requires availabilityZone; nodeGroup is optional. Cluster availabilityZones, nodeGroup and singleZone are forbidden. A component cannot specify placement alongside its templates.
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
@@ -47,7 +47,7 @@ export interface ComponentItem {
|
|
|
47
47
|
*/
|
|
48
48
|
'availabilityZone'?: string;
|
|
49
49
|
/**
|
|
50
|
-
* Instance template assignments with effective replicas, placement and storage class, and user-provided env
|
|
50
|
+
* Instance template assignments with effective replicas, placement and storage class, and user-provided env.
|
|
51
51
|
* @type {Array<InstanceTemplateCreate>}
|
|
52
52
|
* @memberof ComponentItem
|
|
53
53
|
*/
|
|
@@ -22,7 +22,7 @@ export interface InstanceTemplateCreateEnvInner {
|
|
|
22
22
|
*/
|
|
23
23
|
'name': string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Literal string; optional values may be empty. valueFrom is unsupported.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof InstanceTemplateCreateEnvInner
|
|
28
28
|
*/
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Instance template assignment. Include every chart-rendered template exactly once, with name and replicas. env and storageClass are optional. Placement follows the mode placementScope: component scope requires template availabilityZone and permits nodeGroup; cluster scope forbids template placement.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface InstanceTemplateCreate
|
|
17
17
|
*/
|
|
@@ -35,7 +35,7 @@ export interface InstanceTemplateCreate {
|
|
|
35
35
|
*/
|
|
36
36
|
'replicas': number;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Template AZ, enabled in the environment. Required when placementScope is component; forbidden in cluster scope. The containing component must omit placement. An omitted nodeGroup does not inherit an upper-level host group.
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof InstanceTemplateCreate
|
|
41
41
|
*/
|
|
@@ -47,26 +47,10 @@ export interface InstanceTemplateCreate {
|
|
|
47
47
|
*/
|
|
48
48
|
'storageClass'?: string;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Declared env overrides. Names must be unique; defaults apply only to omitted variables.
|
|
51
51
|
* @type {Array<InstanceTemplateCreateEnvInner>}
|
|
52
52
|
* @memberof InstanceTemplateCreate
|
|
53
53
|
*/
|
|
54
54
|
'env'?: Array<InstanceTemplateCreateEnvInner>;
|
|
55
|
-
/**
|
|
56
|
-
* Annotation map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted.
|
|
57
|
-
* @type {{ [key: string]: string; }}
|
|
58
|
-
* @memberof InstanceTemplateCreate
|
|
59
|
-
*/
|
|
60
|
-
'annotations'?: {
|
|
61
|
-
[key: string]: string;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Label map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted. The apps.kubeblocks.io/instance-template label is managed by the system and must equal the template name if supplied.
|
|
65
|
-
* @type {{ [key: string]: string; }}
|
|
66
|
-
* @memberof InstanceTemplateCreate
|
|
67
|
-
*/
|
|
68
|
-
'labels'?: {
|
|
69
|
-
[key: string]: string;
|
|
70
|
-
};
|
|
71
55
|
}
|
|
72
56
|
//# sourceMappingURL=instance-template-create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;CACjD"}
|
|
@@ -41,7 +41,7 @@ export interface ComponentItemCreate {
|
|
|
41
41
|
*/
|
|
42
42
|
'nodeGroup'?: string;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Component AZ, enabled in the environment. Required when placementScope is component and this component has no templates; otherwise forbidden. An omitted nodeGroup does not inherit the cluster host group.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof ComponentItemCreate
|
|
47
47
|
*/
|
|
@@ -65,7 +65,7 @@ export interface ComponentItemCreate {
|
|
|
65
65
|
*/
|
|
66
66
|
'replicas'?: number;
|
|
67
67
|
/**
|
|
68
|
-
* Per-template replicas and optional overlays (env,
|
|
68
|
+
* Per-template replicas and optional overlays (env, availability zone, storage class). Required when the current mode component declares instanceTemplate in engine_options; otherwise omit. Names must exactly match all chart-rendered instances, without missing, extra, or duplicate names; order does not matter. Component replicas must equal the sum of all requested instance template replica counts.
|
|
69
69
|
* @type {Array<InstanceTemplateCreate>}
|
|
70
70
|
* @memberof ComponentItemCreate
|
|
71
71
|
*/
|
|
@@ -47,7 +47,7 @@ export interface ComponentItem {
|
|
|
47
47
|
*/
|
|
48
48
|
'availabilityZone'?: string;
|
|
49
49
|
/**
|
|
50
|
-
* Instance template assignments with effective replicas, placement and storage class, and user-provided env
|
|
50
|
+
* Instance template assignments with effective replicas, placement and storage class, and user-provided env.
|
|
51
51
|
* @type {Array<InstanceTemplateCreate>}
|
|
52
52
|
* @memberof ComponentItem
|
|
53
53
|
*/
|
|
@@ -16,8 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export declare const InstanceTemplateAttribute: {
|
|
18
18
|
readonly env: "env";
|
|
19
|
-
readonly annotations: "annotations";
|
|
20
|
-
readonly labels: "labels";
|
|
21
19
|
readonly storageClass: "storageClass";
|
|
22
20
|
};
|
|
23
21
|
export type InstanceTemplateAttribute = typeof InstanceTemplateAttribute[keyof typeof InstanceTemplateAttribute];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-attribute.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-attribute.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"instance-template-attribute.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-attribute.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,yBAAyB;;;CAG5B,CAAC;AAEX,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-attribute.js","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-attribute.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,yBAAyB,GAAG;IACrC,GAAG,EAAE,KAAK;IACV,
|
|
1
|
+
{"version":3,"file":"instance-template-attribute.js","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-attribute.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,yBAAyB,GAAG;IACrC,GAAG,EAAE,KAAK;IACV,YAAY,EAAE,cAAc;CACtB,CAAC"}
|
|
@@ -22,7 +22,7 @@ export interface InstanceTemplateCreateEnvInner {
|
|
|
22
22
|
*/
|
|
23
23
|
'name': string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Literal string; optional values may be empty. valueFrom is unsupported.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof InstanceTemplateCreateEnvInner
|
|
28
28
|
*/
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { InstanceTemplateCreateEnvInner } from './instance-template-create-env-inner';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Instance template assignment. Include every chart-rendered template exactly once, with name and replicas. env and storageClass are optional. Placement follows the mode placementScope: component scope requires template availabilityZone and permits nodeGroup; cluster scope forbids template placement.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface InstanceTemplateCreate
|
|
17
17
|
*/
|
|
@@ -35,7 +35,7 @@ export interface InstanceTemplateCreate {
|
|
|
35
35
|
*/
|
|
36
36
|
'replicas': number;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Template AZ, enabled in the environment. Required when placementScope is component; forbidden in cluster scope. The containing component must omit placement. An omitted nodeGroup does not inherit an upper-level host group.
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof InstanceTemplateCreate
|
|
41
41
|
*/
|
|
@@ -47,26 +47,10 @@ export interface InstanceTemplateCreate {
|
|
|
47
47
|
*/
|
|
48
48
|
'storageClass'?: string;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Declared env overrides. Names must be unique; defaults apply only to omitted variables.
|
|
51
51
|
* @type {Array<InstanceTemplateCreateEnvInner>}
|
|
52
52
|
* @memberof InstanceTemplateCreate
|
|
53
53
|
*/
|
|
54
54
|
'env'?: Array<InstanceTemplateCreateEnvInner>;
|
|
55
|
-
/**
|
|
56
|
-
* Annotation map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted.
|
|
57
|
-
* @type {{ [key: string]: string; }}
|
|
58
|
-
* @memberof InstanceTemplateCreate
|
|
59
|
-
*/
|
|
60
|
-
'annotations'?: {
|
|
61
|
-
[key: string]: string;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Label map (string key to string value). Merged into this template; same-name keys overwritten. Chart keys are not deleted. The apps.kubeblocks.io/instance-template label is managed by the system and must equal the template name if supplied.
|
|
65
|
-
* @type {{ [key: string]: string; }}
|
|
66
|
-
* @memberof InstanceTemplateCreate
|
|
67
|
-
*/
|
|
68
|
-
'labels'?: {
|
|
69
|
-
[key: string]: string;
|
|
70
|
-
};
|
|
71
55
|
}
|
|
72
56
|
//# sourceMappingURL=instance-template-create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"instance-template-create.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/instance-template-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;CACjD"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { LocalizedDescription } from './localized-description';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Allowed template env variable and its input constraints.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface InstanceTemplateEnv
|
|
17
17
|
*/
|
|
@@ -35,13 +35,13 @@ export interface InstanceTemplateEnv {
|
|
|
35
35
|
*/
|
|
36
36
|
'description'?: LocalizedDescription;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Requires a non-blank value after applying the default.
|
|
39
39
|
* @type {boolean}
|
|
40
40
|
* @memberof InstanceTemplateEnv
|
|
41
41
|
*/
|
|
42
42
|
'required'?: boolean;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Used only when the variable is omitted.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof InstanceTemplateEnv
|
|
47
47
|
*/
|