kb-cloud-client-typescript 2.3.0-beta.0 → 2.3.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/adminapi/apis/cluster-api.d.ts +36 -4
  2. package/dist/adminapi/apis/cluster-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/cluster-api.js +30 -10
  4. package/dist/adminapi/apis/cluster-api.js.map +1 -1
  5. package/dist/adminapi/apis/load-balancer-api.d.ts +175 -0
  6. package/dist/adminapi/apis/load-balancer-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/load-balancer-api.js +213 -0
  8. package/dist/adminapi/apis/load-balancer-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +36 -4
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +30 -10
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/cluster-list-item.d.ts +20 -0
  14. package/dist/adminapi/models/cluster-list-item.d.ts.map +1 -1
  15. package/dist/adminapi/models/index.d.ts +4 -0
  16. package/dist/adminapi/models/index.d.ts.map +1 -1
  17. package/dist/adminapi/models/index.js +4 -0
  18. package/dist/adminapi/models/index.js.map +1 -1
  19. package/dist/adminapi/models/load-balancer-annotations.d.ts +35 -0
  20. package/dist/adminapi/models/load-balancer-annotations.d.ts.map +1 -0
  21. package/dist/adminapi/models/load-balancer-annotations.js +16 -0
  22. package/dist/adminapi/models/load-balancer-annotations.js.map +1 -0
  23. package/dist/adminapi/models/load-balancer-config-update.d.ts +26 -0
  24. package/dist/adminapi/models/load-balancer-config-update.d.ts.map +1 -0
  25. package/dist/adminapi/models/load-balancer-config-update.js +16 -0
  26. package/dist/adminapi/models/load-balancer-config-update.js.map +1 -0
  27. package/dist/adminapi/models/load-balancer-config.d.ts +32 -0
  28. package/dist/adminapi/models/load-balancer-config.d.ts.map +1 -0
  29. package/dist/adminapi/models/load-balancer-config.js +16 -0
  30. package/dist/adminapi/models/load-balancer-config.js.map +1 -0
  31. package/dist/adminapi/models/scheduling-config.d.ts +14 -0
  32. package/dist/adminapi/models/scheduling-config.d.ts.map +1 -1
  33. package/dist/adminapi/models/system-component-scheduler-policy.d.ts +22 -0
  34. package/dist/adminapi/models/system-component-scheduler-policy.d.ts.map +1 -0
  35. package/dist/adminapi/models/system-component-scheduler-policy.js +26 -0
  36. package/dist/adminapi/models/system-component-scheduler-policy.js.map +1 -0
  37. package/dist/internalapi/apis/cluster-api.d.ts +18 -2
  38. package/dist/internalapi/apis/cluster-api.d.ts.map +1 -1
  39. package/dist/internalapi/apis/cluster-api.js +15 -5
  40. package/dist/internalapi/apis/cluster-api.js.map +1 -1
  41. package/dist/internalapi/models/cluster-list-item.d.ts +20 -0
  42. package/dist/internalapi/models/cluster-list-item.d.ts.map +1 -1
  43. package/dist/internalapi/models/index.d.ts +1 -0
  44. package/dist/internalapi/models/index.d.ts.map +1 -1
  45. package/dist/internalapi/models/index.js +1 -0
  46. package/dist/internalapi/models/index.js.map +1 -1
  47. package/dist/internalapi/models/tag.d.ts +37 -0
  48. package/dist/internalapi/models/tag.d.ts.map +1 -0
  49. package/dist/internalapi/models/tag.js +16 -0
  50. package/dist/internalapi/models/tag.js.map +1 -0
  51. package/dist/openapi/apis/cluster-api.d.ts +18 -2
  52. package/dist/openapi/apis/cluster-api.d.ts.map +1 -1
  53. package/dist/openapi/apis/cluster-api.js +15 -5
  54. package/dist/openapi/apis/cluster-api.js.map +1 -1
  55. package/dist/openapi/apis/shared-api.d.ts +18 -2
  56. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  57. package/dist/openapi/apis/shared-api.js +15 -5
  58. package/dist/openapi/apis/shared-api.js.map +1 -1
  59. package/dist/openapi/models/cluster-list-item.d.ts +20 -0
  60. package/dist/openapi/models/cluster-list-item.d.ts.map +1 -1
  61. package/package.json +1 -1
  62. package/src/adminapi/.openapi-generator/FILES +4 -0
  63. package/src/adminapi/apis/cluster-api.ts +62 -10
  64. package/src/adminapi/apis/load-balancer-api.ts +318 -0
  65. package/src/adminapi/apis/shared-api.ts +62 -10
  66. package/src/adminapi/models/cluster-list-item.ts +24 -0
  67. package/src/adminapi/models/index.ts +4 -0
  68. package/src/adminapi/models/load-balancer-annotations.ts +36 -0
  69. package/src/adminapi/models/load-balancer-config-update.ts +33 -0
  70. package/src/adminapi/models/load-balancer-config.ts +39 -0
  71. package/src/adminapi/models/scheduling-config.ts +18 -0
  72. package/src/adminapi/models/system-component-scheduler-policy.ts +31 -0
  73. package/src/adminapi.yaml +249 -82
  74. package/src/internalapi/.openapi-generator/FILES +1 -0
  75. package/src/internalapi/apis/cluster-api.ts +31 -5
  76. package/src/internalapi/models/cluster-list-item.ts +24 -0
  77. package/src/internalapi/models/index.ts +1 -0
  78. package/src/internalapi/models/tag.ts +42 -0
  79. package/src/internalapi.yaml +107 -66
  80. package/src/openapi/apis/cluster-api.ts +31 -5
  81. package/src/openapi/apis/shared-api.ts +31 -5
  82. package/src/openapi/models/cluster-list-item.ts +24 -0
  83. package/src/openapi.yaml +107 -82
@@ -8131,10 +8131,12 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
8131
8131
  * @param {Array<string>} [tagValues] A list of tags\&#39; values corresponding to the tagKeys
8132
8132
  * @param {number} [licenseId] license id
8133
8133
  * @param {string} [refClusterName] list clusters referenced by this cluster
8134
+ * @param {string} [endpointHost] Case-insensitive substring to match against the host part of cached cluster endpoints
8135
+ * @param {boolean} [includeEndpoints] Whether to include cached user-visible endpoints in each cluster item
8134
8136
  * @param {*} [options] Override http request option.
8135
8137
  * @throws {RequiredError}
8136
8138
  */
8137
- listCluster: async (orgName: string, clusterDefinition?: string, environmentName?: string, environmentType?: EnvironmentType, tagKey?: string, tagValue?: string, tagKeys?: Array<string>, tagValues?: Array<string>, licenseId?: number, refClusterName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8139
+ listCluster: async (orgName: string, clusterDefinition?: string, environmentName?: string, environmentType?: EnvironmentType, tagKey?: string, tagValue?: string, tagKeys?: Array<string>, tagValues?: Array<string>, licenseId?: number, refClusterName?: string, endpointHost?: string, includeEndpoints?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8138
8140
  // verify required parameter 'orgName' is not null or undefined
8139
8141
  assertParamExists('listCluster', 'orgName', orgName)
8140
8142
  const localVarPath = `/admin/v1/organizations/{orgName}/clusters`
@@ -8193,6 +8195,14 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
8193
8195
  localVarQueryParameter['refClusterName'] = refClusterName;
8194
8196
  }
8195
8197
 
8198
+ if (endpointHost !== undefined) {
8199
+ localVarQueryParameter['endpointHost'] = endpointHost;
8200
+ }
8201
+
8202
+ if (includeEndpoints !== undefined) {
8203
+ localVarQueryParameter['includeEndpoints'] = includeEndpoints;
8204
+ }
8205
+
8196
8206
 
8197
8207
 
8198
8208
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -8255,10 +8265,12 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
8255
8265
  * @param {string} [orgName] Organization name, if envName is provided, orgName is required
8256
8266
  * @param {string} [envName] Environment name
8257
8267
  * @param {boolean} [withStatic] Whether to include static clusters
8268
+ * @param {string} [endpointHost] Case-insensitive substring to match against the host part of cached cluster endpoints
8269
+ * @param {boolean} [includeEndpoints] Whether to include cached user-visible endpoints in each cluster item
8258
8270
  * @param {*} [options] Override http request option.
8259
8271
  * @throws {RequiredError}
8260
8272
  */
8261
- listClusters: async (orgName?: string, envName?: string, withStatic?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8273
+ listClusters: async (orgName?: string, envName?: string, withStatic?: boolean, endpointHost?: string, includeEndpoints?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8262
8274
  const localVarPath = `/admin/v1/clusters`;
8263
8275
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8264
8276
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8290,6 +8302,14 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
8290
8302
  localVarQueryParameter['withStatic'] = withStatic;
8291
8303
  }
8292
8304
 
8305
+ if (endpointHost !== undefined) {
8306
+ localVarQueryParameter['endpointHost'] = endpointHost;
8307
+ }
8308
+
8309
+ if (includeEndpoints !== undefined) {
8310
+ localVarQueryParameter['includeEndpoints'] = includeEndpoints;
8311
+ }
8312
+
8293
8313
 
8294
8314
 
8295
8315
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -18298,11 +18318,13 @@ export const SharedApiFp = function(configuration?: Configuration) {
18298
18318
  * @param {Array<string>} [tagValues] A list of tags\&#39; values corresponding to the tagKeys
18299
18319
  * @param {number} [licenseId] license id
18300
18320
  * @param {string} [refClusterName] list clusters referenced by this cluster
18321
+ * @param {string} [endpointHost] Case-insensitive substring to match against the host part of cached cluster endpoints
18322
+ * @param {boolean} [includeEndpoints] Whether to include cached user-visible endpoints in each cluster item
18301
18323
  * @param {*} [options] Override http request option.
18302
18324
  * @throws {RequiredError}
18303
18325
  */
18304
- async listCluster(orgName: string, clusterDefinition?: string, environmentName?: string, environmentType?: EnvironmentType, tagKey?: string, tagValue?: string, tagKeys?: Array<string>, tagValues?: Array<string>, licenseId?: number, refClusterName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterList>> {
18305
- const localVarAxiosArgs = await localVarAxiosParamCreator.listCluster(orgName, clusterDefinition, environmentName, environmentType, tagKey, tagValue, tagKeys, tagValues, licenseId, refClusterName, options);
18326
+ async listCluster(orgName: string, clusterDefinition?: string, environmentName?: string, environmentType?: EnvironmentType, tagKey?: string, tagValue?: string, tagKeys?: Array<string>, tagValues?: Array<string>, licenseId?: number, refClusterName?: string, endpointHost?: string, includeEndpoints?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterList>> {
18327
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCluster(orgName, clusterDefinition, environmentName, environmentType, tagKey, tagValue, tagKeys, tagValues, licenseId, refClusterName, endpointHost, includeEndpoints, options);
18306
18328
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18307
18329
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listCluster']?.[localVarOperationServerIndex]?.url;
18308
18330
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -18327,11 +18349,13 @@ export const SharedApiFp = function(configuration?: Configuration) {
18327
18349
  * @param {string} [orgName] Organization name, if envName is provided, orgName is required
18328
18350
  * @param {string} [envName] Environment name
18329
18351
  * @param {boolean} [withStatic] Whether to include static clusters
18352
+ * @param {string} [endpointHost] Case-insensitive substring to match against the host part of cached cluster endpoints
18353
+ * @param {boolean} [includeEndpoints] Whether to include cached user-visible endpoints in each cluster item
18330
18354
  * @param {*} [options] Override http request option.
18331
18355
  * @throws {RequiredError}
18332
18356
  */
18333
- async listClusters(orgName?: string, envName?: string, withStatic?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterList>> {
18334
- const localVarAxiosArgs = await localVarAxiosParamCreator.listClusters(orgName, envName, withStatic, options);
18357
+ async listClusters(orgName?: string, envName?: string, withStatic?: boolean, endpointHost?: string, includeEndpoints?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterList>> {
18358
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusters(orgName, envName, withStatic, endpointHost, includeEndpoints, options);
18335
18359
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18336
18360
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listClusters']?.[localVarOperationServerIndex]?.url;
18337
18361
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -22008,7 +22032,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22008
22032
  * @throws {RequiredError}
22009
22033
  */
22010
22034
  listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
22011
- return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, options).then((request) => request(axios, basePath));
22035
+ return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
22012
22036
  },
22013
22037
  /**
22014
22038
  *
@@ -22028,7 +22052,7 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
22028
22052
  * @throws {RequiredError}
22029
22053
  */
22030
22054
  listClusters(requestParameters: SharedApiListClustersRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
22031
- return localVarFp.listClusters(requestParameters.orgName, requestParameters.envName, requestParameters.withStatic, options).then((request) => request(axios, basePath));
22055
+ return localVarFp.listClusters(requestParameters.orgName, requestParameters.envName, requestParameters.withStatic, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
22032
22056
  },
22033
22057
  /**
22034
22058
  *
@@ -30983,6 +31007,20 @@ export interface SharedApiListClusterRequest {
30983
31007
  * @memberof SharedApiListCluster
30984
31008
  */
30985
31009
  readonly refClusterName?: string
31010
+
31011
+ /**
31012
+ * Case-insensitive substring to match against the host part of cached cluster endpoints
31013
+ * @type {string}
31014
+ * @memberof SharedApiListCluster
31015
+ */
31016
+ readonly endpointHost?: string
31017
+
31018
+ /**
31019
+ * Whether to include cached user-visible endpoints in each cluster item
31020
+ * @type {boolean}
31021
+ * @memberof SharedApiListCluster
31022
+ */
31023
+ readonly includeEndpoints?: boolean
30986
31024
  }
30987
31025
 
30988
31026
  /**
@@ -31032,6 +31070,20 @@ export interface SharedApiListClustersRequest {
31032
31070
  * @memberof SharedApiListClusters
31033
31071
  */
31034
31072
  readonly withStatic?: boolean
31073
+
31074
+ /**
31075
+ * Case-insensitive substring to match against the host part of cached cluster endpoints
31076
+ * @type {string}
31077
+ * @memberof SharedApiListClusters
31078
+ */
31079
+ readonly endpointHost?: string
31080
+
31081
+ /**
31082
+ * Whether to include cached user-visible endpoints in each cluster item
31083
+ * @type {boolean}
31084
+ * @memberof SharedApiListClusters
31085
+ */
31086
+ readonly includeEndpoints?: boolean
31035
31087
  }
31036
31088
 
31037
31089
  /**
@@ -37621,7 +37673,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
37621
37673
  * @memberof SharedApi
37622
37674
  */
37623
37675
  public listCluster(requestParameters: SharedApiListClusterRequest, options?: RawAxiosRequestConfig) {
37624
- return SharedApiFp(this.configuration).listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, options).then((request) => request(this.axios, this.basePath));
37676
+ return SharedApiFp(this.configuration).listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(this.axios, this.basePath));
37625
37677
  }
37626
37678
 
37627
37679
  /**
@@ -37645,7 +37697,7 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
37645
37697
  * @memberof SharedApi
37646
37698
  */
37647
37699
  public listClusters(requestParameters: SharedApiListClustersRequest = {}, options?: RawAxiosRequestConfig) {
37648
- return SharedApiFp(this.configuration).listClusters(requestParameters.orgName, requestParameters.envName, requestParameters.withStatic, options).then((request) => request(this.axios, this.basePath));
37700
+ return SharedApiFp(this.configuration).listClusters(requestParameters.orgName, requestParameters.envName, requestParameters.withStatic, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(this.axios, this.basePath));
37649
37701
  }
37650
37702
 
37651
37703
  /**
@@ -16,6 +16,12 @@
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
18
  import type { ClusterType } from './cluster-type';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { Endpoint } from './endpoint';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import type { Tag } from './tag';
19
25
 
20
26
  /**
21
27
  * KubeBlocks cluster information
@@ -179,6 +185,24 @@ export interface ClusterListItem {
179
185
  * @memberof ClusterListItem
180
186
  */
181
187
  'orgName'?: string;
188
+ /**
189
+ * Name of project, it is the alias of environment namespace
190
+ * @type {string}
191
+ * @memberof ClusterListItem
192
+ */
193
+ 'project'?: string;
194
+ /**
195
+ * Tags bound to the cluster
196
+ * @type {Array<Tag>}
197
+ * @memberof ClusterListItem
198
+ */
199
+ 'tags'?: Array<Tag>;
200
+ /**
201
+ * Cached user-visible endpoints of the cluster; omitted unless includeEndpoints is true
202
+ * @type {Array<Endpoint>}
203
+ * @memberof ClusterListItem
204
+ */
205
+ 'endpoints'?: Array<Endpoint>;
182
206
  }
183
207
 
184
208
 
@@ -544,7 +544,10 @@ export * from './list-kubernetes-node-op-type';
544
544
  export * from './llm';
545
545
  export * from './llm-list';
546
546
  export * from './load-balancer';
547
+ export * from './load-balancer-annotations';
547
548
  export * from './load-balancer-available-type';
549
+ export * from './load-balancer-config';
550
+ export * from './load-balancer-config-update';
548
551
  export * from './load-balancer-ipam-status';
549
552
  export * from './load-balancer-status';
550
553
  export * from './localized-description';
@@ -906,6 +909,7 @@ export * from './storage-provisioner';
906
909
  export * from './storage-provisioner-list';
907
910
  export * from './storage-stats';
908
911
  export * from './storage-update';
912
+ export * from './system-component-scheduler-policy';
909
913
  export * from './table-space-status';
910
914
  export * from './tag';
911
915
  export * from './tag-create';
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ * Provider-neutral annotations applied to load balancer Services by exposure type.
19
+ * @export
20
+ * @interface LoadBalancerAnnotations
21
+ */
22
+ export interface LoadBalancerAnnotations {
23
+ /**
24
+ * Annotations used for load balancers exposed inside the VPC.
25
+ * @type {{ [key: string]: string; }}
26
+ * @memberof LoadBalancerAnnotations
27
+ */
28
+ 'vpc': { [key: string]: string; };
29
+ /**
30
+ * Annotations used for load balancers exposed to the Internet.
31
+ * @type {{ [key: string]: string; }}
32
+ * @memberof LoadBalancerAnnotations
33
+ */
34
+ 'internet': { [key: string]: string; };
35
+ }
36
+
@@ -0,0 +1,33 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { LoadBalancerAnnotations } from './load-balancer-annotations';
19
+
20
+ /**
21
+ * Complete editable load balancer annotations for an environment.
22
+ * @export
23
+ * @interface LoadBalancerConfigUpdate
24
+ */
25
+ export interface LoadBalancerConfigUpdate {
26
+ /**
27
+ *
28
+ * @type {LoadBalancerAnnotations}
29
+ * @memberof LoadBalancerConfigUpdate
30
+ */
31
+ 'annotations': LoadBalancerAnnotations;
32
+ }
33
+
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { LoadBalancerAnnotations } from './load-balancer-annotations';
19
+
20
+ /**
21
+ * Effective load balancer annotations for an environment.
22
+ * @export
23
+ * @interface LoadBalancerConfig
24
+ */
25
+ export interface LoadBalancerConfig {
26
+ /**
27
+ * Current environment provider returned by the server.
28
+ * @type {string}
29
+ * @memberof LoadBalancerConfig
30
+ */
31
+ 'provider': string;
32
+ /**
33
+ *
34
+ * @type {LoadBalancerAnnotations}
35
+ * @memberof LoadBalancerConfig
36
+ */
37
+ 'annotations': LoadBalancerAnnotations;
38
+ }
39
+
@@ -18,6 +18,12 @@
18
18
  import type { ClusterSchedulingPolicy } from './cluster-scheduling-policy';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
+ import type { KoordinatorReservationResourceClass } from './koordinator-reservation-resource-class';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import type { SystemComponentSchedulerPolicy } from './system-component-scheduler-policy';
25
+ // May contain unused imports in some cases
26
+ // @ts-ignore
21
27
  import type { TolerateDefaultTaints } from './tolerate-default-taints';
22
28
 
23
29
  /**
@@ -38,6 +44,18 @@ export interface SchedulingConfig {
38
44
  * @memberof SchedulingConfig
39
45
  */
40
46
  'tolerateDefaultTaints'?: TolerateDefaultTaints;
47
+ /**
48
+ *
49
+ * @type {SystemComponentSchedulerPolicy}
50
+ * @memberof SchedulingConfig
51
+ */
52
+ 'systemComponentSchedulerPolicy'?: SystemComponentSchedulerPolicy;
53
+ /**
54
+ *
55
+ * @type {KoordinatorReservationResourceClass}
56
+ * @memberof SchedulingConfig
57
+ */
58
+ 'systemComponentReservationResourceClass'?: KoordinatorReservationResourceClass;
41
59
  }
42
60
 
43
61
 
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const SystemComponentSchedulerPolicy = {
24
+ default: 'default',
25
+ koordinator: 'koordinator'
26
+ } as const;
27
+
28
+ export type SystemComponentSchedulerPolicy = typeof SystemComponentSchedulerPolicy[keyof typeof SystemComponentSchedulerPolicy];
29
+
30
+
31
+