kb-cloud-client-typescript 2.4.0-alpha.125 → 2.4.0-alpha.126

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.
Files changed (75) hide show
  1. package/dist/adminapi/models/component-item-create.d.ts +8 -0
  2. package/dist/adminapi/models/component-item-create.d.ts.map +1 -1
  3. package/dist/adminapi/models/component-item.d.ts +8 -0
  4. package/dist/adminapi/models/component-item.d.ts.map +1 -1
  5. package/dist/adminapi/models/component-option.d.ts +6 -0
  6. package/dist/adminapi/models/component-option.d.ts.map +1 -1
  7. package/dist/adminapi/models/index.d.ts +1 -0
  8. package/dist/adminapi/models/index.d.ts.map +1 -1
  9. package/dist/adminapi/models/index.js +1 -0
  10. package/dist/adminapi/models/index.js.map +1 -1
  11. package/dist/adminapi/models/static-cluster-component.d.ts +43 -0
  12. package/dist/adminapi/models/static-cluster-component.d.ts.map +1 -0
  13. package/dist/adminapi/models/static-cluster-component.js +16 -0
  14. package/dist/adminapi/models/static-cluster-component.js.map +1 -0
  15. package/dist/adminapi/models/static-cluster.d.ts +4 -15
  16. package/dist/adminapi/models/static-cluster.d.ts.map +1 -1
  17. package/dist/adminapi/models/victoria-logs-config.d.ts.map +1 -1
  18. package/dist/internalapi/api.d.ts +1 -0
  19. package/dist/internalapi/api.d.ts.map +1 -1
  20. package/dist/internalapi/api.js +1 -0
  21. package/dist/internalapi/api.js.map +1 -1
  22. package/dist/internalapi/apis/victoria-logs-cluster-api.d.ts +113 -0
  23. package/dist/internalapi/apis/victoria-logs-cluster-api.d.ts.map +1 -0
  24. package/dist/internalapi/apis/victoria-logs-cluster-api.js +135 -0
  25. package/dist/internalapi/apis/victoria-logs-cluster-api.js.map +1 -0
  26. package/dist/internalapi/apis/victoria-metrics-cluster-api.d.ts +11 -2
  27. package/dist/internalapi/apis/victoria-metrics-cluster-api.d.ts.map +1 -1
  28. package/dist/internalapi/apis/victoria-metrics-cluster-api.js +9 -5
  29. package/dist/internalapi/apis/victoria-metrics-cluster-api.js.map +1 -1
  30. package/dist/internalapi/models/component-item.d.ts +8 -0
  31. package/dist/internalapi/models/component-item.d.ts.map +1 -1
  32. package/dist/internalapi/models/index.d.ts +2 -0
  33. package/dist/internalapi/models/index.d.ts.map +1 -1
  34. package/dist/internalapi/models/index.js +2 -0
  35. package/dist/internalapi/models/index.js.map +1 -1
  36. package/dist/internalapi/models/static-cluster-component.d.ts +43 -0
  37. package/dist/internalapi/models/static-cluster-component.d.ts.map +1 -0
  38. package/dist/internalapi/models/static-cluster-component.js +16 -0
  39. package/dist/internalapi/models/static-cluster-component.js.map +1 -0
  40. package/dist/internalapi/models/static-cluster.d.ts +4 -15
  41. package/dist/internalapi/models/static-cluster.d.ts.map +1 -1
  42. package/dist/internalapi/models/victoria-logs-config.d.ts +18 -0
  43. package/dist/internalapi/models/victoria-logs-config.d.ts.map +1 -0
  44. package/dist/internalapi/models/victoria-logs-config.js +16 -0
  45. package/dist/internalapi/models/victoria-logs-config.js.map +1 -0
  46. package/dist/openapi/models/component-item-create.d.ts +8 -0
  47. package/dist/openapi/models/component-item-create.d.ts.map +1 -1
  48. package/dist/openapi/models/component-item.d.ts +8 -0
  49. package/dist/openapi/models/component-item.d.ts.map +1 -1
  50. package/dist/openapi/models/component-option.d.ts +6 -0
  51. package/dist/openapi/models/component-option.d.ts.map +1 -1
  52. package/package.json +1 -1
  53. package/src/adminapi/.openapi-generator/FILES +1 -0
  54. package/src/adminapi/models/component-item-create.ts +6 -0
  55. package/src/adminapi/models/component-item.ts +6 -0
  56. package/src/adminapi/models/component-option.ts +6 -0
  57. package/src/adminapi/models/index.ts +1 -0
  58. package/src/adminapi/models/static-cluster-component.ts +48 -0
  59. package/src/adminapi/models/static-cluster.ts +6 -15
  60. package/src/adminapi/models/victoria-logs-config.ts +3 -0
  61. package/src/adminapi.yaml +43 -10
  62. package/src/internalapi/.openapi-generator/FILES +3 -0
  63. package/src/internalapi/api.ts +1 -0
  64. package/src/internalapi/apis/victoria-logs-cluster-api.ts +183 -0
  65. package/src/internalapi/apis/victoria-metrics-cluster-api.ts +19 -5
  66. package/src/internalapi/models/component-item.ts +6 -0
  67. package/src/internalapi/models/index.ts +2 -0
  68. package/src/internalapi/models/static-cluster-component.ts +48 -0
  69. package/src/internalapi/models/static-cluster.ts +6 -15
  70. package/src/internalapi/models/victoria-logs-config.ts +29 -0
  71. package/src/internalapi.yaml +90 -8
  72. package/src/openapi/models/component-item-create.ts +6 -0
  73. package/src/openapi/models/component-item.ts +6 -0
  74. package/src/openapi/models/component-option.ts +6 -0
  75. package/src/openapi.yaml +14 -0
@@ -0,0 +1,135 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * KubeBlocks Cloud Internal API
6
+ * The Internal API is using for interaction of ApeCloud platform microservices.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __importDefault = (this && this.__importDefault) || function (mod) {
16
+ return (mod && mod.__esModule) ? mod : { "default": mod };
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.VictoriaLogsClusterApi = exports.VictoriaLogsClusterApiFactory = exports.VictoriaLogsClusterApiFp = exports.VictoriaLogsClusterApiAxiosParamCreator = void 0;
20
+ const axios_1 = __importDefault(require("axios"));
21
+ // Some imports not used depending on template conditions
22
+ // @ts-ignore
23
+ const common_1 = require("../common");
24
+ // @ts-ignore
25
+ const base_1 = require("../base");
26
+ /**
27
+ * VictoriaLogsClusterApi - axios parameter creator
28
+ * @export
29
+ */
30
+ const VictoriaLogsClusterApiAxiosParamCreator = function (configuration) {
31
+ return {
32
+ /**
33
+ * Create VictoriaLogs with optional per-component resources and retention. Omitted components keep installer defaults.
34
+ * @summary Create VictoriaLogs cluster
35
+ * @param {string} environmentName name of the environment
36
+ * @param {VictoriaLogsConfig} [victoriaLogsConfig]
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ createVictoriaLogsCluster: async (environmentName, victoriaLogsConfig, options = {}) => {
41
+ // verify required parameter 'environmentName' is not null or undefined
42
+ (0, common_1.assertParamExists)('createVictoriaLogsCluster', 'environmentName', environmentName);
43
+ const localVarPath = `/internal/v1/environments/{environmentName}/victoriaLogsCluster`
44
+ .replace(`{${"environmentName"}}`, encodeURIComponent(String(environmentName)));
45
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
46
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
47
+ let baseOptions;
48
+ if (configuration) {
49
+ baseOptions = configuration.baseOptions;
50
+ }
51
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
52
+ const localVarHeaderParameter = {};
53
+ const localVarQueryParameter = {};
54
+ // authentication BasicAuth required
55
+ // http basic authentication required
56
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
57
+ localVarHeaderParameter['Content-Type'] = 'application/json';
58
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
59
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
60
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
61
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(victoriaLogsConfig, localVarRequestOptions, configuration);
62
+ return {
63
+ url: (0, common_1.toPathString)(localVarUrlObj),
64
+ options: localVarRequestOptions,
65
+ };
66
+ },
67
+ };
68
+ };
69
+ exports.VictoriaLogsClusterApiAxiosParamCreator = VictoriaLogsClusterApiAxiosParamCreator;
70
+ /**
71
+ * VictoriaLogsClusterApi - functional programming interface
72
+ * @export
73
+ */
74
+ const VictoriaLogsClusterApiFp = function (configuration) {
75
+ const localVarAxiosParamCreator = (0, exports.VictoriaLogsClusterApiAxiosParamCreator)(configuration);
76
+ return {
77
+ /**
78
+ * Create VictoriaLogs with optional per-component resources and retention. Omitted components keep installer defaults.
79
+ * @summary Create VictoriaLogs cluster
80
+ * @param {string} environmentName name of the environment
81
+ * @param {VictoriaLogsConfig} [victoriaLogsConfig]
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ async createVictoriaLogsCluster(environmentName, victoriaLogsConfig, options) {
86
+ var _a, _b, _c;
87
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createVictoriaLogsCluster(environmentName, victoriaLogsConfig, options);
88
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
89
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['VictoriaLogsClusterApi.createVictoriaLogsCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
90
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
91
+ },
92
+ };
93
+ };
94
+ exports.VictoriaLogsClusterApiFp = VictoriaLogsClusterApiFp;
95
+ /**
96
+ * VictoriaLogsClusterApi - factory interface
97
+ * @export
98
+ */
99
+ const VictoriaLogsClusterApiFactory = function (configuration, basePath, axios) {
100
+ const localVarFp = (0, exports.VictoriaLogsClusterApiFp)(configuration);
101
+ return {
102
+ /**
103
+ * Create VictoriaLogs with optional per-component resources and retention. Omitted components keep installer defaults.
104
+ * @summary Create VictoriaLogs cluster
105
+ * @param {VictoriaLogsClusterApiCreateVictoriaLogsClusterRequest} requestParameters Request parameters.
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ createVictoriaLogsCluster(requestParameters, options) {
110
+ return localVarFp.createVictoriaLogsCluster(requestParameters.environmentName, requestParameters.victoriaLogsConfig, options).then((request) => request(axios, basePath));
111
+ },
112
+ };
113
+ };
114
+ exports.VictoriaLogsClusterApiFactory = VictoriaLogsClusterApiFactory;
115
+ /**
116
+ * VictoriaLogsClusterApi - object-oriented interface
117
+ * @export
118
+ * @class VictoriaLogsClusterApi
119
+ * @extends {BaseAPI}
120
+ */
121
+ class VictoriaLogsClusterApi extends base_1.BaseAPI {
122
+ /**
123
+ * Create VictoriaLogs with optional per-component resources and retention. Omitted components keep installer defaults.
124
+ * @summary Create VictoriaLogs cluster
125
+ * @param {VictoriaLogsClusterApiCreateVictoriaLogsClusterRequest} requestParameters Request parameters.
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ * @memberof VictoriaLogsClusterApi
129
+ */
130
+ createVictoriaLogsCluster(requestParameters, options) {
131
+ return (0, exports.VictoriaLogsClusterApiFp)(this.configuration).createVictoriaLogsCluster(requestParameters.environmentName, requestParameters.victoriaLogsConfig, options).then((request) => request(this.axios, this.basePath));
132
+ }
133
+ }
134
+ exports.VictoriaLogsClusterApi = VictoriaLogsClusterApi;
135
+ //# sourceMappingURL=victoria-logs-cluster-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"victoria-logs-cluster-api.js","sourceRoot":"","sources":["../../../src/internalapi/apis/victoria-logs-cluster-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAOtH;;;GAGG;AACI,MAAM,uCAAuC,GAAG,UAAU,aAA6B;IAC1F,OAAO;QACH;;;;;;;WAOG;QACH,yBAAyB,EAAE,KAAK,EAAE,eAAuB,EAAE,kBAAuC,EAAE,UAAiC,EAAE,EAAwB,EAAE;YAC7J,uEAAuE;YACvE,IAAA,0BAAiB,EAAC,2BAA2B,EAAE,iBAAiB,EAAE,eAAe,CAAC,CAAA;YAClF,MAAM,YAAY,GAAG,iEAAiE;iBACjF,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O;IAC/C;;;;;;;OAOG;IACI,yBAAyB,CAAC,iBAAyE,EAAE,OAA+B;QACvI,OAAO,IAAA,gCAAwB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,yBAAyB,CAAC,iBAAiB,CAAC,eAAe,EAAE,iBAAiB,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC1N,CAAC;CACJ;AAZD,wDAYC"}
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { Cluster } from '../models';
16
+ import type { StaticCluster } from '../models';
16
17
  /**
17
18
  * VictoriaMetricsClusterApi - axios parameter creator
18
19
  * @export
@@ -22,10 +23,11 @@ export declare const VictoriaMetricsClusterApiAxiosParamCreator: (configuration?
22
23
  * create VictoriaMetrics Cluster and install victoria-metrics addon when it\'s uninstalled
23
24
  * @summary create metrics Monitor
24
25
  * @param {string} environmentName name of the environment
26
+ * @param {StaticCluster} [staticCluster] Optional per-component resources. Omitted components keep installer defaults.
25
27
  * @param {*} [options] Override http request option.
26
28
  * @throws {RequiredError}
27
29
  */
28
- createVictoriaMetricsCluster: (environmentName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
+ createVictoriaMetricsCluster: (environmentName: string, staticCluster?: StaticCluster, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
31
  };
30
32
  /**
31
33
  * VictoriaMetricsClusterApi - functional programming interface
@@ -36,10 +38,11 @@ export declare const VictoriaMetricsClusterApiFp: (configuration?: Configuration
36
38
  * create VictoriaMetrics Cluster and install victoria-metrics addon when it\'s uninstalled
37
39
  * @summary create metrics Monitor
38
40
  * @param {string} environmentName name of the environment
41
+ * @param {StaticCluster} [staticCluster] Optional per-component resources. Omitted components keep installer defaults.
39
42
  * @param {*} [options] Override http request option.
40
43
  * @throws {RequiredError}
41
44
  */
42
- createVictoriaMetricsCluster(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Cluster>>;
45
+ createVictoriaMetricsCluster(environmentName: string, staticCluster?: StaticCluster, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Cluster>>;
43
46
  };
44
47
  /**
45
48
  * VictoriaMetricsClusterApi - factory interface
@@ -83,6 +86,12 @@ export interface VictoriaMetricsClusterApiCreateVictoriaMetricsClusterRequest {
83
86
  * @memberof VictoriaMetricsClusterApiCreateVictoriaMetricsCluster
84
87
  */
85
88
  readonly environmentName: string;
89
+ /**
90
+ * Optional per-component resources. Omitted components keep installer defaults.
91
+ * @type {StaticCluster}
92
+ * @memberof VictoriaMetricsClusterApiCreateVictoriaMetricsCluster
93
+ */
94
+ readonly staticCluster?: StaticCluster;
86
95
  }
87
96
  /**
88
97
  * VictoriaMetricsClusterApi - object-oriented interface
@@ -1 +1 @@
1
- {"version":3,"file":"victoria-metrics-cluster-api.d.ts","sourceRoot":"","sources":["../../../src/internalapi/apis/victoria-metrics-cluster-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,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC;;;GAGG;AACH,eAAO,MAAM,0CAA0C,GAAa,gBAAgB,aAAa;IAEzF;;;;;;OAMG;oDACmD,MAAM,YAAW,qBAAqB,KAAQ,OAAO,CAAC,WAAW,CAAC;CA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}
@@ -33,10 +33,11 @@ const VictoriaMetricsClusterApiAxiosParamCreator = function (configuration) {
33
33
  * create VictoriaMetrics Cluster and install victoria-metrics addon when it\'s uninstalled
34
34
  * @summary create metrics Monitor
35
35
  * @param {string} environmentName name of the environment
36
+ * @param {StaticCluster} [staticCluster] Optional per-component resources. Omitted components keep installer defaults.
36
37
  * @param {*} [options] Override http request option.
37
38
  * @throws {RequiredError}
38
39
  */
39
- createVictoriaMetricsCluster: async (environmentName, options = {}) => {
40
+ createVictoriaMetricsCluster: async (environmentName, staticCluster, options = {}) => {
40
41
  // verify required parameter 'environmentName' is not null or undefined
41
42
  (0, common_1.assertParamExists)('createVictoriaMetricsCluster', 'environmentName', environmentName);
42
43
  const localVarPath = `/internal/v1/environments/{environmentName}/victoriaMetricsCluster`
@@ -53,9 +54,11 @@ const VictoriaMetricsClusterApiAxiosParamCreator = function (configuration) {
53
54
  // authentication BasicAuth required
54
55
  // http basic authentication required
55
56
  (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
57
+ localVarHeaderParameter['Content-Type'] = 'application/json';
56
58
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
57
59
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58
60
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
61
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(staticCluster, localVarRequestOptions, configuration);
59
62
  return {
60
63
  url: (0, common_1.toPathString)(localVarUrlObj),
61
64
  options: localVarRequestOptions,
@@ -75,12 +78,13 @@ const VictoriaMetricsClusterApiFp = function (configuration) {
75
78
  * create VictoriaMetrics Cluster and install victoria-metrics addon when it\'s uninstalled
76
79
  * @summary create metrics Monitor
77
80
  * @param {string} environmentName name of the environment
81
+ * @param {StaticCluster} [staticCluster] Optional per-component resources. Omitted components keep installer defaults.
78
82
  * @param {*} [options] Override http request option.
79
83
  * @throws {RequiredError}
80
84
  */
81
- async createVictoriaMetricsCluster(environmentName, options) {
85
+ async createVictoriaMetricsCluster(environmentName, staticCluster, options) {
82
86
  var _a, _b, _c;
83
- const localVarAxiosArgs = await localVarAxiosParamCreator.createVictoriaMetricsCluster(environmentName, options);
87
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createVictoriaMetricsCluster(environmentName, staticCluster, options);
84
88
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
85
89
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['VictoriaMetricsClusterApi.createVictoriaMetricsCluster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
86
90
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -103,7 +107,7 @@ const VictoriaMetricsClusterApiFactory = function (configuration, basePath, axio
103
107
  * @throws {RequiredError}
104
108
  */
105
109
  createVictoriaMetricsCluster(requestParameters, options) {
106
- return localVarFp.createVictoriaMetricsCluster(requestParameters.environmentName, options).then((request) => request(axios, basePath));
110
+ return localVarFp.createVictoriaMetricsCluster(requestParameters.environmentName, requestParameters.staticCluster, options).then((request) => request(axios, basePath));
107
111
  },
108
112
  };
109
113
  };
@@ -124,7 +128,7 @@ class VictoriaMetricsClusterApi extends base_1.BaseAPI {
124
128
  * @memberof VictoriaMetricsClusterApi
125
129
  */
126
130
  createVictoriaMetricsCluster(requestParameters, options) {
127
- return (0, exports.VictoriaMetricsClusterApiFp)(this.configuration).createVictoriaMetricsCluster(requestParameters.environmentName, options).then((request) => request(this.axios, this.basePath));
131
+ return (0, exports.VictoriaMetricsClusterApiFp)(this.configuration).createVictoriaMetricsCluster(requestParameters.environmentName, requestParameters.staticCluster, options).then((request) => request(this.axios, this.basePath));
128
132
  }
129
133
  }
130
134
  exports.VictoriaMetricsClusterApi = VictoriaMetricsClusterApi;
@@ -1 +1 @@
1
- {"version":3,"file":"victoria-metrics-cluster-api.js","sourceRoot":"","sources":["../../../src/internalapi/apis/victoria-metrics-cluster-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAKtH;;;GAGG;AACI,MAAM,0CAA0C,GAAG,UAAU,aAA6B;IAC7F,OAAO;QACH;;;;;;WAMG;QACH,4BAA4B,EAAE,KAAK,EAAE,eAAuB,EAAE,UAAiC,EAAE,EAAwB,EAAE;YACvH,uEAAuE;YACvE,IAAA,0BAAiB,EAAC,8BAA8B,EAAE,iBAAiB,EAAE,eAAe,CAAC,CAAA;YACrF,MAAM,YAAY,GAAG,oEAAoE;iBACpF,OAAO,CAAC,IAAI,iBAAiB,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;YACpF,oFAAoF;YACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YAC7D,IAAI,WAAW,CAAC;YAChB,IAAI,aAAa,EAAE,CAAC;gBAChB,WAAW,GAAG,aAAa,CAAC,WAAW,CAAC;YAC5C,CAAC;YAED,MAAM,sBAAsB,iCAAK,MAAM,EAAE,MAAM,IAAK,WAAW,GAAK,OAAO,CAAC,CAAC;YAC7E,MAAM,uBAAuB,GAAG,EAAS,CAAC;YAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;YAEzC,oCAAoC;YACpC,qCAAqC;YACrC,IAAA,6BAAoB,EAAC,sBAAsB,EAAE,aAAa,CAAC,CAAA;YAI3D,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,IAAI,sBAAsB,GAAG,WAAW,IAAI,WAAW,CAAC,OAAO,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,OAAO;QACH;;;;;;WAMG;QACH,4BAA4B,CAAC,iBAA+E,EAAE,OAA+B;YACzI,OAAO,UAAU,CAAC,4BAA4B,CAAC,iBAAiB,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;QAC3I,CAAC;KACJ,CAAC;AACN,CAAC,CAAC;AAdW,QAAA,gCAAgC,oCAc3C;AAkCF;;;;;GAKG;AACH,MAAa,yBAA0B,SAAQ,cAAO;IAClD;;;;;;;OAOG;IACI,4BAA4B,CAAC,iBAA+E,EAAE,OAA+B;QAChJ,OAAO,IAAA,mCAA2B,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,4BAA4B,CAAC,iBAAiB,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC1L,CAAC;CACJ;AAZD,8DAYC"}
1
+ {"version":3,"file":"victoria-metrics-cluster-api.js","sourceRoot":"","sources":["../../../src/internalapi/apis/victoria-metrics-cluster-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,sCAA6N;AAC7N,aAAa;AACb,kCAAsH;AAOtH;;;GAGG;AACI,MAAM,0CAA0C,GAAG,UAAU,aAA6B;IAC7F,OAAO;QACH;;;;;;;WAOG;QACH,4BAA4B,EAAE,KAAK,EAAE,eAAuB,EAAE,aAA6B,EAAE,UAAiC,EAAE,EAAwB,EAAE;YACtJ,uEAAuE;YACvE,IAAA,0BAAiB,EAAC,8BAA8B,EAAE,iBAAiB,EAAE,eAAe,CAAC,CAAA;YACrF,MAAM,YAAY,GAAG,oEAAoE;iBACpF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;;;;;;;OAOG;IACI,4BAA4B,CAAC,iBAA+E,EAAE,OAA+B;QAChJ,OAAO,IAAA,mCAA2B,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,4BAA4B,CAAC,iBAAiB,CAAC,eAAe,EAAE,iBAAiB,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC3N,CAAC;CACJ;AAZD,8DAYC"}
@@ -26,6 +26,14 @@ export interface ComponentItem {
26
26
  'annotations'?: {
27
27
  [key: string]: string;
28
28
  };
29
+ /**
30
+ * User-provided component labels. Does not include chart defaults or system-generated values.
31
+ * @type {{ [key: string]: string; }}
32
+ * @memberof ComponentItem
33
+ */
34
+ 'labels'?: {
35
+ [key: string]: string;
36
+ };
29
37
  /**
30
38
  * Optional host group in this environment. Explicit placement does not inherit an upper-level host group.
31
39
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"component-item.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/component-item.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpD;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
1
+ {"version":3,"file":"component-item.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/component-item.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACtC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpD;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
@@ -62,9 +62,11 @@ export * from './scheduling-policy-type';
62
62
  export * from './service-descriptor';
63
63
  export * from './service-ref';
64
64
  export * from './static-cluster';
65
+ export * from './static-cluster-component';
65
66
  export * from './storage';
66
67
  export * from './storage-create';
67
68
  export * from './tag';
68
69
  export * from './task-schedule';
69
70
  export * from './task-schedule-type';
71
+ export * from './victoria-logs-config';
70
72
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BA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y-type"), exports);
78
78
  __exportStar(require("./service-descriptor"), exports);
79
79
  __exportStar(require("./service-ref"), exports);
80
80
  __exportStar(require("./static-cluster"), exports);
81
+ __exportStar(require("./static-cluster-component"), exports);
81
82
  __exportStar(require("./storage"), exports);
82
83
  __exportStar(require("./storage-create"), exports);
83
84
  __exportStar(require("./tag"), exports);
84
85
  __exportStar(require("./task-schedule"), exports);
85
86
  __exportStar(require("./task-schedule-type"), exports);
87
+ __exportStar(require("./victoria-logs-config"), exports);
86
88
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/internalapi/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B;AAC/B,0CAAwB;AACxB,iDAA+B;AAC/B,2DAAyC;AACzC,2DAAyC;AACzC,qDAAmC;AACnC,8DAA4C;AAC5C,4DAA0C;AAC1C,4CAA0B;AAC1B,mDAAiC;AACjC,oDAAkC;AAClC,iDAA+B;AAC/B,sDAAoC;AACpC,8DAA4C;AAC5C,kEAAgD;AAChD,sDAAoC;AACpC,+DAA6C;AAC7C,iDAA+B;AAC/B,mDAAiC;AACjC,mDAAiC;AACjC,sDAAoC;AACpC,0DAAwC;AACxC,sDAAoC;AACpC,6CAA2B;AAC3B,kDAAgC;AAChC,0DAAwC;AACxC,kDAAgC;AAChC,2CAAyB;AACzB,kDAAgC;AAChC,wDAAsC;AACtC,6DAA2C;AAC3C,qDAAmC;AACnC,uDAAqC;AACrC,8DAA4C;AAC5C,8CAA4B;AAC5B,mDAAiC;AACjC,qDAAmC;AACnC,6DAA2C;AAC3C,uEAAqD;AACrD,gDAA8B;AAC9B,qDAAmC;AACnC,sDAAoC;AACpC,2EAAyD;AACzD,wCAAsB;AACtB,6CAA2B;AAC3B,0DAAwC;AACxC,iDAA+B;AAC/B,qDAAmC;AACnC,kDAAgC;AAChC,gDAA8B;AAC9B,oDAAkC;AAClC,mDAAiC;AACjC,mDAAiC;AACjC,mDAAiC;AACjC,iEAA+C;AAC/C,uDAAqC;AACrC,mEAAiD;AACjD,mDAAiC;AACjC,uDAAqC;AACrC,2DAAyC;AACzC,uDAAqC;AACrC,gDAA8B;AAC9B,mDAAiC;AACjC,4CAA0B;AAC1B,mDAAiC;AACjC,wCAAsB;AACtB,kDAAgC;AAChC,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/internalapi/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,iDAA+B;AAC/B,0CAAwB;AACxB,iDAA+B;AAC/B,2DAAyC;AACzC,2DAAyC;AACzC,qDAAmC;AACnC,8DAA4C;AAC5C,4DAA0C;AAC1C,4CAA0B;AAC1B,mDAAiC;AACjC,oDAAkC;AAClC,iDAA+B;AAC/B,sDAAoC;AACpC,8DAA4C;AAC5C,kEAAgD;AAChD,sDAAoC;AACpC,+DAA6C;AAC7C,iDAA+B;AAC/B,mDAAiC;AACjC,mDAAiC;AACjC,sDAAoC;AACpC,0DAAwC;AACxC,sDAAoC;AACpC,6CAA2B;AAC3B,kDAAgC;AAChC,0DAAwC;AACxC,kDAAgC;AAChC,2CAAyB;AACzB,kDAAgC;AAChC,wDAAsC;AACtC,6DAA2C;AAC3C,qDAAmC;AACnC,uDAAqC;AACrC,8DAA4C;AAC5C,8CAA4B;AAC5B,mDAAiC;AACjC,qDAAmC;AACnC,6DAA2C;AAC3C,uEAAqD;AACrD,gDAA8B;AAC9B,qDAAmC;AACnC,sDAAoC;AACpC,2EAAyD;AACzD,wCAAsB;AACtB,6CAA2B;AAC3B,0DAAwC;AACxC,iDAA+B;AAC/B,qDAAmC;AACnC,kDAAgC;AAChC,gDAA8B;AAC9B,oDAAkC;AAClC,mDAAiC;AACjC,mDAAiC;AACjC,mDAAiC;AACjC,iEAA+C;AAC/C,uDAAqC;AACrC,mEAAiD;AACjD,mDAAiC;AACjC,uDAAqC;AACrC,2DAAyC;AACzC,uDAAqC;AACrC,gDAA8B;AAC9B,mDAAiC;AACjC,6DAA2C;AAC3C,4CAA0B;AAC1B,mDAAiC;AACjC,wCAAsB;AACtB,kDAAgC;AAChC,uDAAqC;AACrC,yDAAuC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * KubeBlocks Cloud Internal API
3
+ * The Internal API is using for interaction of ApeCloud platform microservices.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface StaticClusterComponent
16
+ */
17
+ export interface StaticClusterComponent {
18
+ /**
19
+ * Exact component name supported by the selected engine during environment installation. Each component may appear only once.
20
+ * @type {string}
21
+ * @memberof StaticClusterComponent
22
+ */
23
+ 'component': string;
24
+ /**
25
+ * Number of replicas. Omit to keep the installer default.
26
+ * @type {number}
27
+ * @memberof StaticClusterComponent
28
+ */
29
+ 'replicas'?: number | null;
30
+ /**
31
+ * Resource class for this exact engine, mode and component. Omit to keep the installer default.
32
+ * @type {string}
33
+ * @memberof StaticClusterComponent
34
+ */
35
+ 'classCode'?: string;
36
+ /**
37
+ * Disk capacity in Gi. Only vm-storage, vlstorage and minio accept this field.
38
+ * @type {number}
39
+ * @memberof StaticClusterComponent
40
+ */
41
+ 'storage'?: number | null;
42
+ }
43
+ //# sourceMappingURL=static-cluster-component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-cluster-component.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/static-cluster-component.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * KubeBlocks Cloud Internal API
6
+ * The Internal API is using for interaction of ApeCloud platform microservices.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=static-cluster-component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"static-cluster-component.js","sourceRoot":"","sources":["../../../src/internalapi/models/static-cluster-component.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { StaticClusterComponent } from './static-cluster-component';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -16,22 +17,10 @@
16
17
  */
17
18
  export interface StaticCluster {
18
19
  /**
19
- * the number of replicas
20
- * @type {number}
20
+ * Optional component overrides. Unknown, duplicate or other-engine components are rejected.
21
+ * @type {Array<StaticClusterComponent>}
21
22
  * @memberof StaticCluster
22
23
  */
23
- 'replicas'?: number;
24
- /**
25
- * Storage size, the unit is Gi.
26
- * @type {number}
27
- * @memberof StaticCluster
28
- */
29
- 'storage'?: number;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof StaticCluster
34
- */
35
- 'classCode'?: string;
24
+ 'components'?: Array<StaticClusterComponent>;
36
25
  }
37
26
  //# sourceMappingURL=static-cluster.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"static-cluster.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/static-cluster.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"static-cluster.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/static-cluster.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;CAChD"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * KubeBlocks Cloud Internal API
3
+ * The Internal API is using for interaction of ApeCloud platform microservices.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { StaticCluster } from './static-cluster';
13
+ /**
14
+ * @type VictoriaLogsConfig
15
+ * @export
16
+ */
17
+ export type VictoriaLogsConfig = StaticCluster;
18
+ //# sourceMappingURL=victoria-logs-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"victoria-logs-config.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/victoria-logs-config.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKtD;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,aAAa,CAAC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * KubeBlocks Cloud Internal API
6
+ * The Internal API is using for interaction of ApeCloud platform microservices.
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=victoria-logs-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"victoria-logs-config.js","sourceRoot":"","sources":["../../../src/internalapi/models/victoria-logs-config.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
@@ -26,6 +26,14 @@ export interface ComponentItemCreate {
26
26
  'annotations'?: {
27
27
  [key: string]: string;
28
28
  };
29
+ /**
30
+ * User-provided component labels, merged over chart defaults. Key prefixes before / matching kubeblocks.io, kubernetes.io, k8s.io or any of their subdomains are reserved. Keys and values must satisfy Kubernetes label syntax. Omitted or empty preserves defaults; empty string values are literal values, not deletions.
31
+ * @type {{ [key: string]: string; }}
32
+ * @memberof ComponentItemCreate
33
+ */
34
+ 'labels'?: {
35
+ [key: string]: string;
36
+ };
29
37
  /**
30
38
  * Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
31
39
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"component-item-create.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/component-item-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpD;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
1
+ {"version":3,"file":"component-item-create.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/component-item-create.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACtC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpD;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
@@ -26,6 +26,14 @@ export interface ComponentItem {
26
26
  'annotations'?: {
27
27
  [key: string]: string;
28
28
  };
29
+ /**
30
+ * User-provided component labels. Does not include chart defaults or system-generated values.
31
+ * @type {{ [key: string]: string; }}
32
+ * @memberof ComponentItem
33
+ */
34
+ 'labels'?: {
35
+ [key: string]: string;
36
+ };
29
37
  /**
30
38
  * Optional host group in this environment. Explicit placement does not inherit an upper-level host group.
31
39
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"component-item.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/component-item.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAGnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC3C;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACpD;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
1
+ {"version":3,"file":"component-item.d.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AC,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
@@ -77,6 +77,12 @@ export interface ComponentOption {
77
77
  * @memberof ComponentOption
78
78
  */
79
79
  'customAnnotations'?: boolean;
80
+ /**
81
+ * Whether to show the component labels editor during cluster creation. Omitted or false hides the editor. This is a UI visibility hint and does not restrict the cluster creation API. Applies to this component in every engine mode, including sharding templates, on KubeBlocks 0.9 and 1.0.
82
+ * @type {boolean}
83
+ * @memberof ComponentOption
84
+ */
85
+ 'customLabels'?: boolean;
80
86
  /**
81
87
  * whether the component supports custom secret
82
88
  * @type {boolean}
@@ -1 +1 @@
1
- {"version":3,"file":"component-option.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/component-option.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAGzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,OAAO,EAAE,oBAAoB,CAAC;IAC9B;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;;;OAIG;IACH,2BAA2B,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5C;;;;OAIG;IACH,SAAS,EAAE,sBAAsB,CAAC;IAClC;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B"}
1
+ {"version":3,"file":"component-option.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/component-option.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAGzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,OAAO,EAAE,oBAAoB,CAAC;IAC9B;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;;;OAIG;IACH,2BAA2B,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5C;;;;OAIG;IACH,SAAS,EAAE,sBAAsB,CAAC;IAClC;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kb-cloud-client-typescript",
3
- "version": "2.4.0-alpha.125",
3
+ "version": "2.4.0-alpha.126",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -1209,6 +1209,7 @@ models/sql-audit-status.ts
1209
1209
  models/sql-audit-switch-option.ts
1210
1210
  models/standard-definition.ts
1211
1211
  models/standard-resource.ts
1212
+ models/static-cluster-component.ts
1212
1213
  models/static-cluster.ts
1213
1214
  models/storage-check-result.ts
1214
1215
  models/storage-class-create.ts
@@ -35,6 +35,12 @@ export interface ComponentItemCreate {
35
35
  * @memberof ComponentItemCreate
36
36
  */
37
37
  'annotations'?: { [key: string]: string; };
38
+ /**
39
+ * User-provided component labels, merged over chart defaults. Key prefixes before / matching kubeblocks.io, kubernetes.io, k8s.io or any of their subdomains are reserved. Keys and values must satisfy Kubernetes label syntax. Omitted or empty preserves defaults; empty string values are literal values, not deletions.
40
+ * @type {{ [key: string]: string; }}
41
+ * @memberof ComponentItemCreate
42
+ */
43
+ 'labels'?: { [key: string]: string; };
38
44
  /**
39
45
  * Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
40
46
  * @type {string}
@@ -35,6 +35,12 @@ export interface ComponentItem {
35
35
  * @memberof ComponentItem
36
36
  */
37
37
  'annotations'?: { [key: string]: string; };
38
+ /**
39
+ * User-provided component labels. Does not include chart defaults or system-generated values.
40
+ * @type {{ [key: string]: string; }}
41
+ * @memberof ComponentItem
42
+ */
43
+ 'labels'?: { [key: string]: string; };
38
44
  /**
39
45
  * Optional host group in this environment. Explicit placement does not inherit an upper-level host group.
40
46
  * @type {string}