kb-cloud-client-typescript 2.2.108 → 2.2.110
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/models/cluster-update.d.ts +7 -0
- package/dist/adminapi/models/cluster-update.d.ts.map +1 -1
- package/dist/adminapi/models/mode-service-ref.d.ts +6 -0
- package/dist/adminapi/models/mode-service-ref.d.ts.map +1 -1
- package/dist/internalapi/models/cluster-update.d.ts +7 -0
- package/dist/internalapi/models/cluster-update.d.ts.map +1 -1
- package/dist/openapi/models/cluster-update.d.ts +7 -0
- package/dist/openapi/models/cluster-update.d.ts.map +1 -1
- package/dist/openapi/models/mode-service-ref.d.ts +6 -0
- package/dist/openapi/models/mode-service-ref.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/models/cluster-update.ts +9 -0
- package/src/adminapi/models/mode-service-ref.ts +6 -0
- package/src/adminapi.yaml +14 -0
- package/src/internalapi/models/cluster-update.ts +9 -0
- package/src/internalapi.yaml +11 -0
- package/src/openapi/models/cluster-update.ts +9 -0
- package/src/openapi/models/mode-service-ref.ts +6 -0
- package/src/openapi.yaml +14 -0
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ClusterMaintainceWindow } from './cluster-maintaince-window';
|
|
13
13
|
import type { ClusterTerminationPolicy } from './cluster-termination-policy';
|
|
14
|
+
import type { ServiceRef } from './service-ref';
|
|
14
15
|
/**
|
|
15
16
|
* ClusterUpdate is the payload to update a KubeBlocks cluster
|
|
16
17
|
* @export
|
|
@@ -35,5 +36,11 @@ export interface ClusterUpdate {
|
|
|
35
36
|
* @memberof ClusterUpdate
|
|
36
37
|
*/
|
|
37
38
|
'maintainceWindow'?: ClusterMaintainceWindow;
|
|
39
|
+
/**
|
|
40
|
+
* ServiceRefs to update. Each serviceRef name must match an existing serviceRef of the cluster, and the corresponding engine option modeServiceRef.update.enable must be true. ServiceRefs that auto create their ServiceDescriptor and Secret get their corresponding K8s objects updated; serviceRefs with manual input must be handled by each engine individually and are rejected.
|
|
41
|
+
* @type {Array<ServiceRef>}
|
|
42
|
+
* @memberof ClusterUpdate
|
|
43
|
+
*/
|
|
44
|
+
'serviceRefsUpdate'?: Array<ServiceRef>;
|
|
38
45
|
}
|
|
39
46
|
//# sourceMappingURL=cluster-update.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster-update.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/cluster-update.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAG3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"cluster-update.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/cluster-update.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAG3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAG7E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;IAC/C;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,uBAAuB,CAAC;IAC7C;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CAC3C"}
|
|
@@ -95,5 +95,11 @@ export interface ModeServiceRef {
|
|
|
95
95
|
* @memberof ModeServiceRef
|
|
96
96
|
*/
|
|
97
97
|
'serviceVersionCompatibility'?: Array<ModeServiceRefVersionCompatibility>;
|
|
98
|
+
/**
|
|
99
|
+
* whether the serviceRef can be updated. If set to false, the frontend should not allow users to update the serviceRef.
|
|
100
|
+
* @type {boolean}
|
|
101
|
+
* @memberof ModeServiceRef
|
|
102
|
+
*/
|
|
103
|
+
'updatable'?: boolean;
|
|
98
104
|
}
|
|
99
105
|
//# sourceMappingURL=mode-service-ref.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mode-service-ref.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/mode-service-ref.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AAGtF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAGnG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAGxF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,cAAc,EAAE,6BAA6B,CAAC;IAC9C;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,oCAAoC,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACtD;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IAChD;;;;OAIG;IACH,eAAe,EAAE,2BAA2B,CAAC;IAC7C;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAC5C;;;;OAIG;IACH,6BAA6B,CAAC,EAAE,KAAK,CAAC,kCAAkC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"mode-service-ref.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/mode-service-ref.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AAGtF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAGnG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAGxF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,cAAc,EAAE,6BAA6B,CAAC;IAC9C;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,oCAAoC,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACtD;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IAChD;;;;OAIG;IACH,eAAe,EAAE,2BAA2B,CAAC;IAC7C;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAC5C;;;;OAIG;IACH,6BAA6B,CAAC,EAAE,KAAK,CAAC,kCAAkC,CAAC,CAAC;IAC1E;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ClusterMaintainceWindow } from './cluster-maintaince-window';
|
|
13
13
|
import type { ClusterTerminationPolicy } from './cluster-termination-policy';
|
|
14
|
+
import type { ServiceRef } from './service-ref';
|
|
14
15
|
/**
|
|
15
16
|
* ClusterUpdate is the payload to update a KubeBlocks cluster
|
|
16
17
|
* @export
|
|
@@ -35,5 +36,11 @@ export interface ClusterUpdate {
|
|
|
35
36
|
* @memberof ClusterUpdate
|
|
36
37
|
*/
|
|
37
38
|
'maintainceWindow'?: ClusterMaintainceWindow;
|
|
39
|
+
/**
|
|
40
|
+
* ServiceRefs to update. Each serviceRef name must match an existing serviceRef of the cluster, and the corresponding engine option modeServiceRef.update.enable must be true. ServiceRefs that auto create their ServiceDescriptor and Secret get their corresponding K8s objects updated; serviceRefs with manual input must be handled by each engine individually and are rejected.
|
|
41
|
+
* @type {Array<ServiceRef>}
|
|
42
|
+
* @memberof ClusterUpdate
|
|
43
|
+
*/
|
|
44
|
+
'serviceRefsUpdate'?: Array<ServiceRef>;
|
|
38
45
|
}
|
|
39
46
|
//# sourceMappingURL=cluster-update.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster-update.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/cluster-update.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAG3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"cluster-update.d.ts","sourceRoot":"","sources":["../../../src/internalapi/models/cluster-update.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAG3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAG7E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;IAC/C;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,uBAAuB,CAAC;IAC7C;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CAC3C"}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ClusterMaintainceWindow } from './cluster-maintaince-window';
|
|
13
13
|
import type { ClusterTerminationPolicy } from './cluster-termination-policy';
|
|
14
|
+
import type { ServiceRef } from './service-ref';
|
|
14
15
|
/**
|
|
15
16
|
* ClusterUpdate is the payload to update a KubeBlocks cluster
|
|
16
17
|
* @export
|
|
@@ -35,5 +36,11 @@ export interface ClusterUpdate {
|
|
|
35
36
|
* @memberof ClusterUpdate
|
|
36
37
|
*/
|
|
37
38
|
'maintainceWindow'?: ClusterMaintainceWindow;
|
|
39
|
+
/**
|
|
40
|
+
* ServiceRefs to update. Each serviceRef name must match an existing serviceRef of the cluster, and the corresponding engine option modeServiceRef.update.enable must be true. ServiceRefs that auto create their ServiceDescriptor and Secret get their corresponding K8s objects updated; serviceRefs with manual input must be handled by each engine individually and are rejected.
|
|
41
|
+
* @type {Array<ServiceRef>}
|
|
42
|
+
* @memberof ClusterUpdate
|
|
43
|
+
*/
|
|
44
|
+
'serviceRefsUpdate'?: Array<ServiceRef>;
|
|
38
45
|
}
|
|
39
46
|
//# sourceMappingURL=cluster-update.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster-update.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/cluster-update.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAG3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"cluster-update.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/cluster-update.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAG3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAG7E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;IAC/C;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,uBAAuB,CAAC;IAC7C;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;CAC3C"}
|
|
@@ -95,5 +95,11 @@ export interface ModeServiceRef {
|
|
|
95
95
|
* @memberof ModeServiceRef
|
|
96
96
|
*/
|
|
97
97
|
'serviceVersionCompatibility'?: Array<ModeServiceRefVersionCompatibility>;
|
|
98
|
+
/**
|
|
99
|
+
* whether the serviceRef can be updated. If set to false, the frontend should not allow users to update the serviceRef.
|
|
100
|
+
* @type {boolean}
|
|
101
|
+
* @memberof ModeServiceRef
|
|
102
|
+
*/
|
|
103
|
+
'updatable'?: boolean;
|
|
98
104
|
}
|
|
99
105
|
//# sourceMappingURL=mode-service-ref.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mode-service-ref.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/mode-service-ref.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AAGtF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAGnG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAGxF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,cAAc,EAAE,6BAA6B,CAAC;IAC9C;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,oCAAoC,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACtD;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IAChD;;;;OAIG;IACH,eAAe,EAAE,2BAA2B,CAAC;IAC7C;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAC5C;;;;OAIG;IACH,6BAA6B,CAAC,EAAE,KAAK,CAAC,kCAAkC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"mode-service-ref.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/mode-service-ref.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AAGtF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAGnG,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAGxF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,cAAc,EAAE,6BAA6B,CAAC;IAC9C;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,oCAAoC,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACtD;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IAChD;;;;OAIG;IACH,eAAe,EAAE,2BAA2B,CAAC;IAC7C;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAC5C;;;;OAIG;IACH,6BAA6B,CAAC,EAAE,KAAK,CAAC,kCAAkC,CAAC,CAAC;IAC1E;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB"}
|
package/package.json
CHANGED
|
@@ -19,6 +19,9 @@ import type { ClusterMaintainceWindow } from './cluster-maintaince-window';
|
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
import type { ClusterTerminationPolicy } from './cluster-termination-policy';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { ServiceRef } from './service-ref';
|
|
22
25
|
|
|
23
26
|
/**
|
|
24
27
|
* ClusterUpdate is the payload to update a KubeBlocks cluster
|
|
@@ -44,6 +47,12 @@ export interface ClusterUpdate {
|
|
|
44
47
|
* @memberof ClusterUpdate
|
|
45
48
|
*/
|
|
46
49
|
'maintainceWindow'?: ClusterMaintainceWindow;
|
|
50
|
+
/**
|
|
51
|
+
* ServiceRefs to update. Each serviceRef name must match an existing serviceRef of the cluster, and the corresponding engine option modeServiceRef.update.enable must be true. ServiceRefs that auto create their ServiceDescriptor and Secret get their corresponding K8s objects updated; serviceRefs with manual input must be handled by each engine individually and are rejected.
|
|
52
|
+
* @type {Array<ServiceRef>}
|
|
53
|
+
* @memberof ClusterUpdate
|
|
54
|
+
*/
|
|
55
|
+
'serviceRefsUpdate'?: Array<ServiceRef>;
|
|
47
56
|
}
|
|
48
57
|
|
|
49
58
|
|
|
@@ -104,6 +104,12 @@ export interface ModeServiceRef {
|
|
|
104
104
|
* @memberof ModeServiceRef
|
|
105
105
|
*/
|
|
106
106
|
'serviceVersionCompatibility'?: Array<ModeServiceRefVersionCompatibility>;
|
|
107
|
+
/**
|
|
108
|
+
* whether the serviceRef can be updated. If set to false, the frontend should not allow users to update the serviceRef.
|
|
109
|
+
* @type {boolean}
|
|
110
|
+
* @memberof ModeServiceRef
|
|
111
|
+
*/
|
|
112
|
+
'updatable'?: boolean;
|
|
107
113
|
}
|
|
108
114
|
|
|
109
115
|
|
package/src/adminapi.yaml
CHANGED
|
@@ -21131,6 +21131,17 @@ components:
|
|
|
21131
21131
|
nullable: true
|
|
21132
21132
|
maintainceWindow:
|
|
21133
21133
|
$ref: '#/components/schemas/clusterMaintainceWindow'
|
|
21134
|
+
serviceRefsUpdate:
|
|
21135
|
+
type: array
|
|
21136
|
+
description: |
|
|
21137
|
+
ServiceRefs to update. Each serviceRef name must match an existing
|
|
21138
|
+
serviceRef of the cluster, and the corresponding engine option
|
|
21139
|
+
modeServiceRef.update.enable must be true. ServiceRefs that auto
|
|
21140
|
+
create their ServiceDescriptor and Secret get their corresponding
|
|
21141
|
+
K8s objects updated; serviceRefs with manual input must be handled
|
|
21142
|
+
by each engine individually and are rejected.
|
|
21143
|
+
items:
|
|
21144
|
+
$ref: '#/components/schemas/serviceRef'
|
|
21134
21145
|
description: ClusterUpdate is the payload to update a KubeBlocks cluster
|
|
21135
21146
|
instanceStorageItem:
|
|
21136
21147
|
description: Instance storage information
|
|
@@ -27341,6 +27352,9 @@ components:
|
|
|
27341
27352
|
use them to filter or explain selectable referenced clusters.
|
|
27342
27353
|
items:
|
|
27343
27354
|
$ref: '#/components/schemas/modeServiceRefVersionCompatibility'
|
|
27355
|
+
updatable:
|
|
27356
|
+
type: boolean
|
|
27357
|
+
description: whether the serviceRef can be updated. If set to false, the frontend should not allow users to update the serviceRef.
|
|
27344
27358
|
modeObjectStorage:
|
|
27345
27359
|
type: object
|
|
27346
27360
|
description: |
|
|
@@ -19,6 +19,9 @@ import type { ClusterMaintainceWindow } from './cluster-maintaince-window';
|
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
import type { ClusterTerminationPolicy } from './cluster-termination-policy';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { ServiceRef } from './service-ref';
|
|
22
25
|
|
|
23
26
|
/**
|
|
24
27
|
* ClusterUpdate is the payload to update a KubeBlocks cluster
|
|
@@ -44,6 +47,12 @@ export interface ClusterUpdate {
|
|
|
44
47
|
* @memberof ClusterUpdate
|
|
45
48
|
*/
|
|
46
49
|
'maintainceWindow'?: ClusterMaintainceWindow;
|
|
50
|
+
/**
|
|
51
|
+
* ServiceRefs to update. Each serviceRef name must match an existing serviceRef of the cluster, and the corresponding engine option modeServiceRef.update.enable must be true. ServiceRefs that auto create their ServiceDescriptor and Secret get their corresponding K8s objects updated; serviceRefs with manual input must be handled by each engine individually and are rejected.
|
|
52
|
+
* @type {Array<ServiceRef>}
|
|
53
|
+
* @memberof ClusterUpdate
|
|
54
|
+
*/
|
|
55
|
+
'serviceRefsUpdate'?: Array<ServiceRef>;
|
|
47
56
|
}
|
|
48
57
|
|
|
49
58
|
|
package/src/internalapi.yaml
CHANGED
|
@@ -1896,6 +1896,17 @@ components:
|
|
|
1896
1896
|
nullable: true
|
|
1897
1897
|
maintainceWindow:
|
|
1898
1898
|
$ref: '#/components/schemas/clusterMaintainceWindow'
|
|
1899
|
+
serviceRefsUpdate:
|
|
1900
|
+
type: array
|
|
1901
|
+
description: |
|
|
1902
|
+
ServiceRefs to update. Each serviceRef name must match an existing
|
|
1903
|
+
serviceRef of the cluster, and the corresponding engine option
|
|
1904
|
+
modeServiceRef.update.enable must be true. ServiceRefs that auto
|
|
1905
|
+
create their ServiceDescriptor and Secret get their corresponding
|
|
1906
|
+
K8s objects updated; serviceRefs with manual input must be handled
|
|
1907
|
+
by each engine individually and are rejected.
|
|
1908
|
+
items:
|
|
1909
|
+
$ref: '#/components/schemas/serviceRef'
|
|
1899
1910
|
description: ClusterUpdate is the payload to update a KubeBlocks cluster
|
|
1900
1911
|
endpointType:
|
|
1901
1912
|
description: Type of endpoint
|
|
@@ -19,6 +19,9 @@ import type { ClusterMaintainceWindow } from './cluster-maintaince-window';
|
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
import type { ClusterTerminationPolicy } from './cluster-termination-policy';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { ServiceRef } from './service-ref';
|
|
22
25
|
|
|
23
26
|
/**
|
|
24
27
|
* ClusterUpdate is the payload to update a KubeBlocks cluster
|
|
@@ -44,6 +47,12 @@ export interface ClusterUpdate {
|
|
|
44
47
|
* @memberof ClusterUpdate
|
|
45
48
|
*/
|
|
46
49
|
'maintainceWindow'?: ClusterMaintainceWindow;
|
|
50
|
+
/**
|
|
51
|
+
* ServiceRefs to update. Each serviceRef name must match an existing serviceRef of the cluster, and the corresponding engine option modeServiceRef.update.enable must be true. ServiceRefs that auto create their ServiceDescriptor and Secret get their corresponding K8s objects updated; serviceRefs with manual input must be handled by each engine individually and are rejected.
|
|
52
|
+
* @type {Array<ServiceRef>}
|
|
53
|
+
* @memberof ClusterUpdate
|
|
54
|
+
*/
|
|
55
|
+
'serviceRefsUpdate'?: Array<ServiceRef>;
|
|
47
56
|
}
|
|
48
57
|
|
|
49
58
|
|
|
@@ -104,6 +104,12 @@ export interface ModeServiceRef {
|
|
|
104
104
|
* @memberof ModeServiceRef
|
|
105
105
|
*/
|
|
106
106
|
'serviceVersionCompatibility'?: Array<ModeServiceRefVersionCompatibility>;
|
|
107
|
+
/**
|
|
108
|
+
* whether the serviceRef can be updated. If set to false, the frontend should not allow users to update the serviceRef.
|
|
109
|
+
* @type {boolean}
|
|
110
|
+
* @memberof ModeServiceRef
|
|
111
|
+
*/
|
|
112
|
+
'updatable'?: boolean;
|
|
107
113
|
}
|
|
108
114
|
|
|
109
115
|
|
package/src/openapi.yaml
CHANGED
|
@@ -18336,6 +18336,17 @@ components:
|
|
|
18336
18336
|
nullable: true
|
|
18337
18337
|
maintainceWindow:
|
|
18338
18338
|
$ref: '#/components/schemas/clusterMaintainceWindow'
|
|
18339
|
+
serviceRefsUpdate:
|
|
18340
|
+
type: array
|
|
18341
|
+
description: |
|
|
18342
|
+
ServiceRefs to update. Each serviceRef name must match an existing
|
|
18343
|
+
serviceRef of the cluster, and the corresponding engine option
|
|
18344
|
+
modeServiceRef.update.enable must be true. ServiceRefs that auto
|
|
18345
|
+
create their ServiceDescriptor and Secret get their corresponding
|
|
18346
|
+
K8s objects updated; serviceRefs with manual input must be handled
|
|
18347
|
+
by each engine individually and are rejected.
|
|
18348
|
+
items:
|
|
18349
|
+
$ref: '#/components/schemas/serviceRef'
|
|
18339
18350
|
description: ClusterUpdate is the payload to update a KubeBlocks cluster
|
|
18340
18351
|
instanceStorageItem:
|
|
18341
18352
|
description: Instance storage information
|
|
@@ -21662,6 +21673,9 @@ components:
|
|
|
21662
21673
|
use them to filter or explain selectable referenced clusters.
|
|
21663
21674
|
items:
|
|
21664
21675
|
$ref: '#/components/schemas/modeServiceRefVersionCompatibility'
|
|
21676
|
+
updatable:
|
|
21677
|
+
type: boolean
|
|
21678
|
+
description: whether the serviceRef can be updated. If set to false, the frontend should not allow users to update the serviceRef.
|
|
21665
21679
|
modeObjectStorage:
|
|
21666
21680
|
type: object
|
|
21667
21681
|
description: |
|