kb-cloud-client-typescript 2.3.0-alpha.154 → 2.3.0-alpha.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adminapi/apis/cluster-api.d.ts +73 -0
- package/dist/adminapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/adminapi/apis/cluster-api.js +80 -0
- package/dist/adminapi/apis/cluster-api.js.map +1 -1
- package/dist/adminapi/apis/environment-api.d.ts +56 -0
- package/dist/adminapi/apis/environment-api.d.ts.map +1 -1
- package/dist/adminapi/apis/environment-api.js +69 -0
- package/dist/adminapi/apis/environment-api.js.map +1 -1
- package/dist/adminapi/apis/inspection-api.d.ts +4 -5
- package/dist/adminapi/apis/inspection-api.d.ts.map +1 -1
- package/dist/adminapi/apis/inspection-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +72 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +80 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/cluster-create.d.ts +13 -0
- package/dist/adminapi/models/cluster-create.d.ts.map +1 -1
- package/dist/adminapi/models/cluster-mode-transition.d.ts +32 -0
- package/dist/adminapi/models/cluster-mode-transition.d.ts.map +1 -0
- package/dist/adminapi/models/{storage-config-log.d.ts → cluster-mode-transition.js} +5 -14
- package/dist/adminapi/models/cluster-mode-transition.js.map +1 -0
- package/dist/adminapi/models/cluster.d.ts +13 -0
- package/dist/adminapi/models/cluster.d.ts.map +1 -1
- package/dist/adminapi/models/environment-create.d.ts +6 -0
- package/dist/adminapi/models/environment-create.d.ts.map +1 -1
- package/dist/adminapi/models/environment-update.d.ts +6 -0
- package/dist/adminapi/models/environment-update.d.ts.map +1 -1
- package/dist/adminapi/models/environment.d.ts +6 -0
- package/dist/adminapi/models/environment.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +9 -1
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +9 -1
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/koordinator-node-reservation.d.ts +71 -0
- package/dist/adminapi/models/koordinator-node-reservation.d.ts.map +1 -0
- package/dist/adminapi/models/koordinator-node-reservation.js +16 -0
- package/dist/adminapi/models/koordinator-node-reservation.js.map +1 -0
- package/dist/adminapi/models/koordinator-reservation-allocate-policy.d.ts +22 -0
- package/dist/adminapi/models/koordinator-reservation-allocate-policy.d.ts.map +1 -0
- package/dist/adminapi/models/koordinator-reservation-allocate-policy.js +26 -0
- package/dist/adminapi/models/koordinator-reservation-allocate-policy.js.map +1 -0
- package/dist/adminapi/models/koordinator-reservation-resource-class.d.ts +22 -0
- package/dist/adminapi/models/koordinator-reservation-resource-class.d.ts.map +1 -0
- package/dist/adminapi/models/koordinator-reservation-resource-class.js +26 -0
- package/dist/adminapi/models/koordinator-reservation-resource-class.js.map +1 -0
- package/dist/adminapi/models/koordinator-reservation-resources.d.ts +31 -0
- package/dist/adminapi/models/koordinator-reservation-resources.d.ts.map +1 -0
- package/dist/adminapi/models/koordinator-reservation-resources.js +16 -0
- package/dist/adminapi/models/koordinator-reservation-resources.js.map +1 -0
- package/dist/adminapi/models/koordinator-reservation-status.d.ts +50 -0
- package/dist/adminapi/models/koordinator-reservation-status.d.ts.map +1 -0
- package/dist/adminapi/models/koordinator-reservation-status.js +16 -0
- package/dist/adminapi/models/koordinator-reservation-status.js.map +1 -0
- package/dist/adminapi/models/koordinator-reservation-summary-item.d.ts +51 -0
- package/dist/adminapi/models/koordinator-reservation-summary-item.d.ts.map +1 -0
- package/dist/adminapi/models/koordinator-reservation-summary-item.js +16 -0
- package/dist/adminapi/models/koordinator-reservation-summary-item.js.map +1 -0
- package/dist/adminapi/models/koordinator-reservation-summary.d.ts +51 -0
- package/dist/adminapi/models/koordinator-reservation-summary.d.ts.map +1 -0
- package/dist/adminapi/models/koordinator-reservation-summary.js +16 -0
- package/dist/adminapi/models/koordinator-reservation-summary.js.map +1 -0
- package/dist/adminapi/models/node.d.ts +7 -0
- package/dist/adminapi/models/node.d.ts.map +1 -1
- package/dist/adminapi/models/scheduler-option.d.ts +37 -0
- package/dist/adminapi/models/scheduler-option.d.ts.map +1 -0
- package/dist/adminapi/models/{storage-config-log.js → scheduler-option.js} +1 -1
- package/dist/adminapi/models/scheduler-option.js.map +1 -0
- package/dist/adminapi/models/storage-config.d.ts +0 -7
- package/dist/adminapi/models/storage-config.d.ts.map +1 -1
- package/dist/internalapi/models/cluster.d.ts +13 -0
- package/dist/internalapi/models/cluster.d.ts.map +1 -1
- package/dist/internalapi/models/index.d.ts +1 -0
- package/dist/internalapi/models/index.d.ts.map +1 -1
- package/dist/internalapi/models/index.js +1 -0
- package/dist/internalapi/models/index.js.map +1 -1
- package/dist/internalapi/models/koordinator-reservation-resource-class.d.ts +22 -0
- package/dist/internalapi/models/koordinator-reservation-resource-class.d.ts.map +1 -0
- package/dist/internalapi/models/koordinator-reservation-resource-class.js +26 -0
- package/dist/internalapi/models/koordinator-reservation-resource-class.js.map +1 -0
- package/dist/openapi/apis/llm-api.d.ts +0 -411
- package/dist/openapi/apis/llm-api.d.ts.map +1 -1
- package/dist/openapi/apis/llm-api.js +0 -471
- package/dist/openapi/apis/llm-api.js.map +1 -1
- package/dist/openapi/models/cluster-create.d.ts +13 -0
- package/dist/openapi/models/cluster-create.d.ts.map +1 -1
- package/dist/openapi/models/cluster.d.ts +13 -0
- package/dist/openapi/models/cluster.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +5 -4
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +5 -4
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/koordinator-node-reservation.d.ts +71 -0
- package/dist/openapi/models/koordinator-node-reservation.d.ts.map +1 -0
- package/dist/openapi/models/{check-apikey.js → koordinator-node-reservation.js} +1 -1
- package/dist/openapi/models/koordinator-node-reservation.js.map +1 -0
- package/dist/openapi/models/{check-apikey.d.ts → koordinator-reservation-allocate-policy.d.ts} +7 -16
- package/dist/openapi/models/koordinator-reservation-allocate-policy.d.ts.map +1 -0
- package/dist/openapi/models/koordinator-reservation-allocate-policy.js +26 -0
- package/dist/openapi/models/koordinator-reservation-allocate-policy.js.map +1 -0
- package/dist/openapi/models/{access-level.d.ts → koordinator-reservation-resource-class.d.ts} +5 -5
- package/dist/openapi/models/koordinator-reservation-resource-class.d.ts.map +1 -0
- package/dist/openapi/models/{access-level.js → koordinator-reservation-resource-class.js} +5 -5
- package/dist/openapi/models/koordinator-reservation-resource-class.js.map +1 -0
- package/dist/openapi/models/{llm-list.d.ts → koordinator-reservation-resources.d.ts} +14 -9
- package/dist/openapi/models/koordinator-reservation-resources.d.ts.map +1 -0
- package/dist/openapi/models/{llm-list.js → koordinator-reservation-resources.js} +1 -1
- package/dist/openapi/models/koordinator-reservation-resources.js.map +1 -0
- package/dist/openapi/models/koordinator-reservation-status.d.ts +50 -0
- package/dist/openapi/models/koordinator-reservation-status.d.ts.map +1 -0
- package/dist/openapi/models/{llm.js → koordinator-reservation-status.js} +1 -1
- package/dist/openapi/models/koordinator-reservation-status.js.map +1 -0
- package/dist/openapi/models/node.d.ts +7 -0
- package/dist/openapi/models/node.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +9 -1
- package/src/adminapi/apis/cluster-api.ts +130 -0
- package/src/adminapi/apis/environment-api.ts +102 -0
- package/src/adminapi/apis/inspection-api.ts +3 -5
- package/src/adminapi/apis/shared-api.ts +128 -0
- package/src/adminapi/models/cluster-create.ts +15 -0
- package/src/adminapi/models/cluster-mode-transition.ts +39 -0
- package/src/adminapi/models/cluster.ts +15 -0
- package/src/adminapi/models/environment-create.ts +6 -0
- package/src/adminapi/models/environment-update.ts +6 -0
- package/src/adminapi/models/environment.ts +6 -0
- package/src/adminapi/models/index.ts +9 -1
- package/src/adminapi/models/koordinator-node-reservation.ts +86 -0
- package/src/adminapi/models/koordinator-reservation-allocate-policy.ts +31 -0
- package/src/adminapi/models/{storage-config-log.ts → koordinator-reservation-resource-class.ts} +11 -10
- package/src/adminapi/models/koordinator-reservation-resources.ts +36 -0
- package/src/adminapi/models/koordinator-reservation-status.ts +57 -0
- package/src/adminapi/models/koordinator-reservation-summary-item.ts +62 -0
- package/src/adminapi/models/koordinator-reservation-summary.ts +60 -0
- package/src/adminapi/models/node.ts +9 -0
- package/src/adminapi/models/scheduler-option.ts +42 -0
- package/src/adminapi/models/storage-config.ts +0 -9
- package/src/adminapi.yaml +300 -94
- package/src/internalapi/.openapi-generator/FILES +1 -0
- package/src/internalapi/models/cluster.ts +15 -0
- package/src/internalapi/models/index.ts +1 -0
- package/src/internalapi/models/koordinator-reservation-resource-class.ts +31 -0
- package/src/internalapi.yaml +13 -0
- package/src/openapi/.openapi-generator/FILES +5 -4
- package/src/openapi/apis/llm-api.ts +0 -714
- package/src/openapi/models/cluster-create.ts +15 -0
- package/src/openapi/models/cluster.ts +15 -0
- package/src/openapi/models/index.ts +5 -4
- package/src/openapi/models/koordinator-node-reservation.ts +86 -0
- package/src/openapi/models/{check-apikey.ts → koordinator-reservation-allocate-policy.ts} +10 -15
- package/src/openapi/models/{access-level.ts → koordinator-reservation-resource-class.ts} +4 -4
- package/src/openapi/models/{llm-list.ts → koordinator-reservation-resources.ts} +13 -10
- package/src/openapi/models/koordinator-reservation-status.ts +57 -0
- package/src/openapi/models/node.ts +9 -0
- package/src/openapi.yaml +77 -262
- package/dist/adminapi/models/storage-config-log.d.ts.map +0 -1
- package/dist/adminapi/models/storage-config-log.js.map +0 -1
- package/dist/openapi/models/access-level.d.ts.map +0 -1
- package/dist/openapi/models/access-level.js.map +0 -1
- package/dist/openapi/models/check-apikey.d.ts.map +0 -1
- package/dist/openapi/models/check-apikey.js.map +0 -1
- package/dist/openapi/models/llm-list.d.ts.map +0 -1
- package/dist/openapi/models/llm-list.js.map +0 -1
- package/dist/openapi/models/llm.d.ts +0 -64
- package/dist/openapi/models/llm.d.ts.map +0 -1
- package/dist/openapi/models/llm.js.map +0 -1
- package/src/openapi/models/llm.ts +0 -71
package/src/openapi.yaml
CHANGED
|
@@ -15754,196 +15754,6 @@ paths:
|
|
|
15754
15754
|
$ref: '#/components/responses/404'
|
|
15755
15755
|
'500':
|
|
15756
15756
|
$ref: '#/components/responses/500'
|
|
15757
|
-
/api/v1/organizations/{orgName}/llm:
|
|
15758
|
-
get:
|
|
15759
|
-
tags:
|
|
15760
|
-
- llm
|
|
15761
|
-
deprecated: true
|
|
15762
|
-
operationId: ListLLMForOrg
|
|
15763
|
-
summary: List available LLM for org
|
|
15764
|
-
description: available
|
|
15765
|
-
parameters:
|
|
15766
|
-
- name: orgName
|
|
15767
|
-
in: path
|
|
15768
|
-
required: true
|
|
15769
|
-
schema:
|
|
15770
|
-
type: string
|
|
15771
|
-
responses:
|
|
15772
|
-
'200':
|
|
15773
|
-
description: available llm list
|
|
15774
|
-
content:
|
|
15775
|
-
application/json:
|
|
15776
|
-
schema:
|
|
15777
|
-
$ref: '#/components/schemas/llmList'
|
|
15778
|
-
'401':
|
|
15779
|
-
$ref: '#/components/responses/401'
|
|
15780
|
-
'403':
|
|
15781
|
-
$ref: '#/components/responses/403'
|
|
15782
|
-
'404':
|
|
15783
|
-
$ref: '#/components/responses/404'
|
|
15784
|
-
'500':
|
|
15785
|
-
$ref: '#/components/responses/500'
|
|
15786
|
-
post:
|
|
15787
|
-
tags:
|
|
15788
|
-
- llm
|
|
15789
|
-
deprecated: true
|
|
15790
|
-
operationId: addLLMForOrg
|
|
15791
|
-
summary: add LLM for org
|
|
15792
|
-
description: add LLM for org
|
|
15793
|
-
parameters:
|
|
15794
|
-
- name: orgName
|
|
15795
|
-
in: path
|
|
15796
|
-
required: true
|
|
15797
|
-
schema:
|
|
15798
|
-
type: string
|
|
15799
|
-
requestBody:
|
|
15800
|
-
required: true
|
|
15801
|
-
content:
|
|
15802
|
-
application/json:
|
|
15803
|
-
schema:
|
|
15804
|
-
$ref: '#/components/schemas/llm'
|
|
15805
|
-
responses:
|
|
15806
|
-
'200':
|
|
15807
|
-
description: llm added successfully
|
|
15808
|
-
'401':
|
|
15809
|
-
$ref: '#/components/responses/401'
|
|
15810
|
-
'403':
|
|
15811
|
-
$ref: '#/components/responses/403'
|
|
15812
|
-
'404':
|
|
15813
|
-
$ref: '#/components/responses/404'
|
|
15814
|
-
'500':
|
|
15815
|
-
$ref: '#/components/responses/500'
|
|
15816
|
-
/api/v1/organizations/{orgName}/llm/{id}:
|
|
15817
|
-
get:
|
|
15818
|
-
tags:
|
|
15819
|
-
- llm
|
|
15820
|
-
deprecated: true
|
|
15821
|
-
operationId: getLLMByIDInOrg
|
|
15822
|
-
summary: Get LLM by ID in org
|
|
15823
|
-
parameters:
|
|
15824
|
-
- name: orgName
|
|
15825
|
-
in: path
|
|
15826
|
-
required: true
|
|
15827
|
-
schema:
|
|
15828
|
-
type: string
|
|
15829
|
-
- description: ID of the LLM
|
|
15830
|
-
in: path
|
|
15831
|
-
name: id
|
|
15832
|
-
required: true
|
|
15833
|
-
schema:
|
|
15834
|
-
type: string
|
|
15835
|
-
responses:
|
|
15836
|
-
'201':
|
|
15837
|
-
description: LLM by ID
|
|
15838
|
-
content:
|
|
15839
|
-
application/json:
|
|
15840
|
-
schema:
|
|
15841
|
-
$ref: '#/components/schemas/llm'
|
|
15842
|
-
'401':
|
|
15843
|
-
$ref: '#/components/responses/401'
|
|
15844
|
-
'403':
|
|
15845
|
-
$ref: '#/components/responses/403'
|
|
15846
|
-
'404':
|
|
15847
|
-
$ref: '#/components/responses/404'
|
|
15848
|
-
'500':
|
|
15849
|
-
$ref: '#/components/responses/500'
|
|
15850
|
-
patch:
|
|
15851
|
-
tags:
|
|
15852
|
-
- llm
|
|
15853
|
-
deprecated: true
|
|
15854
|
-
operationId: updateLLM
|
|
15855
|
-
summary: Update LLM
|
|
15856
|
-
parameters:
|
|
15857
|
-
- name: orgName
|
|
15858
|
-
in: path
|
|
15859
|
-
required: true
|
|
15860
|
-
schema:
|
|
15861
|
-
type: string
|
|
15862
|
-
- description: ID of the LLM
|
|
15863
|
-
in: path
|
|
15864
|
-
name: id
|
|
15865
|
-
required: true
|
|
15866
|
-
schema:
|
|
15867
|
-
type: string
|
|
15868
|
-
requestBody:
|
|
15869
|
-
content:
|
|
15870
|
-
application/json:
|
|
15871
|
-
schema:
|
|
15872
|
-
$ref: '#/components/schemas/llm'
|
|
15873
|
-
required: true
|
|
15874
|
-
responses:
|
|
15875
|
-
'201':
|
|
15876
|
-
content:
|
|
15877
|
-
application/json:
|
|
15878
|
-
schema:
|
|
15879
|
-
$ref: '#/components/schemas/llm'
|
|
15880
|
-
description: Returned when object is updated successfully.
|
|
15881
|
-
'403':
|
|
15882
|
-
$ref: '#/components/responses/403'
|
|
15883
|
-
'404':
|
|
15884
|
-
$ref: '#/components/responses/404'
|
|
15885
|
-
x-codegen-request-body-name: body
|
|
15886
|
-
delete:
|
|
15887
|
-
tags:
|
|
15888
|
-
- llm
|
|
15889
|
-
deprecated: true
|
|
15890
|
-
operationId: deleteLLM
|
|
15891
|
-
summary: Delete LLM
|
|
15892
|
-
parameters:
|
|
15893
|
-
- name: orgName
|
|
15894
|
-
in: path
|
|
15895
|
-
required: true
|
|
15896
|
-
schema:
|
|
15897
|
-
type: string
|
|
15898
|
-
- description: ID of the LLM
|
|
15899
|
-
in: path
|
|
15900
|
-
name: id
|
|
15901
|
-
required: true
|
|
15902
|
-
schema:
|
|
15903
|
-
type: string
|
|
15904
|
-
responses:
|
|
15905
|
-
'204':
|
|
15906
|
-
content: {}
|
|
15907
|
-
description: Returned when object is deleted successfully.
|
|
15908
|
-
'403':
|
|
15909
|
-
$ref: '#/components/responses/403'
|
|
15910
|
-
'404':
|
|
15911
|
-
$ref: '#/components/responses/404'
|
|
15912
|
-
/api/v1/organizations/{orgName}/llm/check:
|
|
15913
|
-
post:
|
|
15914
|
-
tags:
|
|
15915
|
-
- llm
|
|
15916
|
-
deprecated: true
|
|
15917
|
-
operationId: checkAPIKeyForOrg
|
|
15918
|
-
summary: check apikey available for org
|
|
15919
|
-
description: check apikey available for org
|
|
15920
|
-
parameters:
|
|
15921
|
-
- name: orgName
|
|
15922
|
-
in: path
|
|
15923
|
-
required: true
|
|
15924
|
-
schema:
|
|
15925
|
-
type: string
|
|
15926
|
-
requestBody:
|
|
15927
|
-
required: true
|
|
15928
|
-
content:
|
|
15929
|
-
application/json:
|
|
15930
|
-
schema:
|
|
15931
|
-
$ref: '#/components/schemas/checkAPIKey'
|
|
15932
|
-
responses:
|
|
15933
|
-
'200':
|
|
15934
|
-
description: apikey available
|
|
15935
|
-
content:
|
|
15936
|
-
application/json:
|
|
15937
|
-
schema:
|
|
15938
|
-
type: boolean
|
|
15939
|
-
'401':
|
|
15940
|
-
$ref: '#/components/responses/401'
|
|
15941
|
-
'403':
|
|
15942
|
-
$ref: '#/components/responses/403'
|
|
15943
|
-
'404':
|
|
15944
|
-
$ref: '#/components/responses/404'
|
|
15945
|
-
'500':
|
|
15946
|
-
$ref: '#/components/responses/500'
|
|
15947
15757
|
/api/v1/organizations/{orgName}/llm/models:
|
|
15948
15758
|
get:
|
|
15949
15759
|
tags:
|
|
@@ -20825,6 +20635,11 @@ components:
|
|
|
20825
20635
|
* `HardAntiAffinity` - Strictly enforce pod anti-affinity across nodes. Pods will not be scheduled when the anti-affinity constraints cannot be satisfied.
|
|
20826
20636
|
* `SoftAntiAffinity` - Prefer to spread pods across nodes using anti-affinity, but allow scheduling on the same node when constraints cannot be fully satisfied.
|
|
20827
20637
|
* `Disabled` - Do not apply pod anti-affinity constraints on nodes.
|
|
20638
|
+
koordinatorReservationResourceClass:
|
|
20639
|
+
type: string
|
|
20640
|
+
enum:
|
|
20641
|
+
- database
|
|
20642
|
+
- business
|
|
20828
20643
|
clusterCreate:
|
|
20829
20644
|
required:
|
|
20830
20645
|
- engine
|
|
@@ -20924,6 +20739,14 @@ components:
|
|
|
20924
20739
|
schedulingPolicy:
|
|
20925
20740
|
description: Scheduling policy for this cluster.
|
|
20926
20741
|
$ref: '#/components/schemas/schedulingPolicyType'
|
|
20742
|
+
schedulerName:
|
|
20743
|
+
title: Scheduler Name
|
|
20744
|
+
type: string
|
|
20745
|
+
nullable: true
|
|
20746
|
+
description: Scheduler used by this cluster. If omitted, KBE uses the environment default. When koordinatorEnabled is true for the target environment, the environment default is the globally configured Koordinator scheduler.
|
|
20747
|
+
reservationResourceClass:
|
|
20748
|
+
nullable: true
|
|
20749
|
+
$ref: '#/components/schemas/koordinatorReservationResourceClass'
|
|
20927
20750
|
description: KubeBlocks cluster information
|
|
20928
20751
|
componentItem:
|
|
20929
20752
|
type: object
|
|
@@ -21151,6 +20974,14 @@ components:
|
|
|
21151
20974
|
schedulingPolicy:
|
|
21152
20975
|
description: Scheduling policy for this cluster.
|
|
21153
20976
|
$ref: '#/components/schemas/schedulingPolicyType'
|
|
20977
|
+
schedulerName:
|
|
20978
|
+
title: Scheduler Name
|
|
20979
|
+
type: string
|
|
20980
|
+
nullable: true
|
|
20981
|
+
description: Effective scheduler used when the cluster was created.
|
|
20982
|
+
reservationResourceClass:
|
|
20983
|
+
nullable: true
|
|
20984
|
+
$ref: '#/components/schemas/koordinatorReservationResourceClass'
|
|
21154
20985
|
description: KubeBlocks cluster details
|
|
21155
20986
|
clusterBatchUpdateData:
|
|
21156
20987
|
type: object
|
|
@@ -22189,6 +22020,58 @@ components:
|
|
|
22189
22020
|
schedule:
|
|
22190
22021
|
$ref: '#/components/schemas/taskSchedule'
|
|
22191
22022
|
type: object
|
|
22023
|
+
koordinatorReservationResources:
|
|
22024
|
+
type: object
|
|
22025
|
+
additionalProperties: false
|
|
22026
|
+
description: Resource requests supported by KBE for Koordinator Reservations. Values are Kubernetes quantities and responses use Kubernetes canonical quantity strings.
|
|
22027
|
+
properties:
|
|
22028
|
+
cpu:
|
|
22029
|
+
type: string
|
|
22030
|
+
memory:
|
|
22031
|
+
type: string
|
|
22032
|
+
koordinatorReservationAllocatePolicy:
|
|
22033
|
+
type: string
|
|
22034
|
+
enum:
|
|
22035
|
+
- Restricted
|
|
22036
|
+
- Aligned
|
|
22037
|
+
koordinatorReservationStatus:
|
|
22038
|
+
type: object
|
|
22039
|
+
properties:
|
|
22040
|
+
phase:
|
|
22041
|
+
type: string
|
|
22042
|
+
nodeName:
|
|
22043
|
+
type: string
|
|
22044
|
+
allocatable:
|
|
22045
|
+
$ref: '#/components/schemas/koordinatorReservationResources'
|
|
22046
|
+
allocated:
|
|
22047
|
+
$ref: '#/components/schemas/koordinatorReservationResources'
|
|
22048
|
+
available:
|
|
22049
|
+
$ref: '#/components/schemas/koordinatorReservationResources'
|
|
22050
|
+
koordinatorNodeReservation:
|
|
22051
|
+
type: object
|
|
22052
|
+
required:
|
|
22053
|
+
- resourceClass
|
|
22054
|
+
- resources
|
|
22055
|
+
properties:
|
|
22056
|
+
resourceClass:
|
|
22057
|
+
$ref: '#/components/schemas/koordinatorReservationResourceClass'
|
|
22058
|
+
reservationName:
|
|
22059
|
+
type: string
|
|
22060
|
+
readOnly: true
|
|
22061
|
+
resources:
|
|
22062
|
+
$ref: '#/components/schemas/koordinatorReservationResources'
|
|
22063
|
+
ttl:
|
|
22064
|
+
type: string
|
|
22065
|
+
default: 24h
|
|
22066
|
+
description: Kubernetes duration string. Koordinator defaults omitted ttl to 24h.
|
|
22067
|
+
allocateOnce:
|
|
22068
|
+
type: boolean
|
|
22069
|
+
preAllocation:
|
|
22070
|
+
type: boolean
|
|
22071
|
+
allocatePolicy:
|
|
22072
|
+
$ref: '#/components/schemas/koordinatorReservationAllocatePolicy'
|
|
22073
|
+
status:
|
|
22074
|
+
$ref: '#/components/schemas/koordinatorReservationStatus'
|
|
22192
22075
|
nodeStatus:
|
|
22193
22076
|
type: string
|
|
22194
22077
|
description: Status of the node
|
|
@@ -22247,6 +22130,10 @@ components:
|
|
|
22247
22130
|
managed:
|
|
22248
22131
|
description: Whether the node is managed (has data-plane or control-plane label)
|
|
22249
22132
|
type: boolean
|
|
22133
|
+
koordinatorReservations:
|
|
22134
|
+
type: array
|
|
22135
|
+
items:
|
|
22136
|
+
$ref: '#/components/schemas/koordinatorNodeReservation'
|
|
22250
22137
|
status:
|
|
22251
22138
|
$ref: '#/components/schemas/nodeStatus'
|
|
22252
22139
|
description: Node status
|
|
@@ -31916,78 +31803,6 @@ components:
|
|
|
31916
31803
|
type: array
|
|
31917
31804
|
items:
|
|
31918
31805
|
$ref: '#/components/schemas/RbmqExchange'
|
|
31919
|
-
AccessLevel:
|
|
31920
|
-
type: string
|
|
31921
|
-
enum:
|
|
31922
|
-
- Platform
|
|
31923
|
-
- Organization
|
|
31924
|
-
llm:
|
|
31925
|
-
description: llm
|
|
31926
|
-
properties:
|
|
31927
|
-
id:
|
|
31928
|
-
description: ID of the llm
|
|
31929
|
-
title: ID
|
|
31930
|
-
type: string
|
|
31931
|
-
name:
|
|
31932
|
-
description: Name of the llm
|
|
31933
|
-
title: Name
|
|
31934
|
-
type: string
|
|
31935
|
-
enabled:
|
|
31936
|
-
description: Whether this LLM is enabled
|
|
31937
|
-
title: Enabled
|
|
31938
|
-
type: boolean
|
|
31939
|
-
config:
|
|
31940
|
-
description: |
|
|
31941
|
-
Config.
|
|
31942
|
-
|
|
31943
|
-
For OpenAI-compatible providers, model entries under `available_models`
|
|
31944
|
-
may include `max_tokens` as the maximum output token count and
|
|
31945
|
-
`context_length` as the total context window. `context_window` is a
|
|
31946
|
-
deprecated compatibility alias and should not be used by new clients.
|
|
31947
|
-
title: Config
|
|
31948
|
-
type: object
|
|
31949
|
-
additionalProperties:
|
|
31950
|
-
type: object
|
|
31951
|
-
level:
|
|
31952
|
-
$ref: '#/components/schemas/AccessLevel'
|
|
31953
|
-
createdAt:
|
|
31954
|
-
description: |-
|
|
31955
|
-
CreatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
|
|
31956
|
-
|
|
31957
|
-
Populated by the system. Read-only. Null for lists
|
|
31958
|
-
format: date-time
|
|
31959
|
-
type: string
|
|
31960
|
-
updatedAt:
|
|
31961
|
-
description: |-
|
|
31962
|
-
UpdatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
|
|
31963
|
-
|
|
31964
|
-
Populated by the system. Read-only. Null for lists
|
|
31965
|
-
format: date-time
|
|
31966
|
-
type: string
|
|
31967
|
-
required:
|
|
31968
|
-
- name
|
|
31969
|
-
- config
|
|
31970
|
-
- enabled
|
|
31971
|
-
type: object
|
|
31972
|
-
llmList:
|
|
31973
|
-
required:
|
|
31974
|
-
- items
|
|
31975
|
-
type: object
|
|
31976
|
-
properties:
|
|
31977
|
-
items:
|
|
31978
|
-
type: array
|
|
31979
|
-
x-nullable: false
|
|
31980
|
-
description: Items is the list of llm objects
|
|
31981
|
-
items:
|
|
31982
|
-
$ref: '#/components/schemas/llm'
|
|
31983
|
-
checkAPIKey:
|
|
31984
|
-
type: object
|
|
31985
|
-
properties:
|
|
31986
|
-
success:
|
|
31987
|
-
type: boolean
|
|
31988
|
-
x-omitempty: false
|
|
31989
|
-
message:
|
|
31990
|
-
type: string
|
|
31991
31806
|
aiAgentRuntimeStatusCode:
|
|
31992
31807
|
x-generate-alias-as-model: true
|
|
31993
31808
|
type: string
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storage-config-log.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/storage-config-log.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storage-config-log.js","sourceRoot":"","sources":["../../../src/adminapi/models/storage-config-log.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"access-level.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/access-level.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,WAAW;;;CAGd,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"access-level.js","sourceRoot":"","sources":["../../../src/openapi/models/access-level.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAIH;;;;GAIG;AAEU,QAAA,WAAW,GAAG;IACvB,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,cAAc;CACtB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"check-apikey.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/check-apikey.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"check-apikey.js","sourceRoot":"","sources":["../../../src/openapi/models/check-apikey.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"llm-list.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/llm-list.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;CACvB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"llm-list.js","sourceRoot":"","sources":["../../../src/openapi/models/llm-list.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* KubeBlocks Cloud API
|
|
3
|
-
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: support@apecloud.com
|
|
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 { AccessLevel } from './access-level';
|
|
13
|
-
/**
|
|
14
|
-
* llm
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Llm
|
|
17
|
-
*/
|
|
18
|
-
export interface Llm {
|
|
19
|
-
/**
|
|
20
|
-
* ID of the llm
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof Llm
|
|
23
|
-
*/
|
|
24
|
-
'id'?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Name of the llm
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof Llm
|
|
29
|
-
*/
|
|
30
|
-
'name': string;
|
|
31
|
-
/**
|
|
32
|
-
* Whether this LLM is enabled
|
|
33
|
-
* @type {boolean}
|
|
34
|
-
* @memberof Llm
|
|
35
|
-
*/
|
|
36
|
-
'enabled': boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Config. For OpenAI-compatible providers, model entries under `available_models` may include `max_tokens` as the maximum output token count and `context_length` as the total context window. `context_window` is a deprecated compatibility alias and should not be used by new clients.
|
|
39
|
-
* @type {{ [key: string]: object; }}
|
|
40
|
-
* @memberof Llm
|
|
41
|
-
*/
|
|
42
|
-
'config': {
|
|
43
|
-
[key: string]: object;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {AccessLevel}
|
|
48
|
-
* @memberof Llm
|
|
49
|
-
*/
|
|
50
|
-
'level'?: AccessLevel;
|
|
51
|
-
/**
|
|
52
|
-
* CreatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof Llm
|
|
55
|
-
*/
|
|
56
|
-
'createdAt'?: string;
|
|
57
|
-
/**
|
|
58
|
-
* UpdatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof Llm
|
|
61
|
-
*/
|
|
62
|
-
'updatedAt'?: string;
|
|
63
|
-
}
|
|
64
|
-
//# sourceMappingURL=llm.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"llm.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/llm.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;GAIG;AACH,MAAM,WAAW,GAAG;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"llm.js","sourceRoot":"","sources":["../../../src/openapi/models/llm.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* KubeBlocks Cloud API
|
|
5
|
-
* KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
|
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 { AccessLevel } from './access-level';
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* llm
|
|
22
|
-
* @export
|
|
23
|
-
* @interface Llm
|
|
24
|
-
*/
|
|
25
|
-
export interface Llm {
|
|
26
|
-
/**
|
|
27
|
-
* ID of the llm
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof Llm
|
|
30
|
-
*/
|
|
31
|
-
'id'?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Name of the llm
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof Llm
|
|
36
|
-
*/
|
|
37
|
-
'name': string;
|
|
38
|
-
/**
|
|
39
|
-
* Whether this LLM is enabled
|
|
40
|
-
* @type {boolean}
|
|
41
|
-
* @memberof Llm
|
|
42
|
-
*/
|
|
43
|
-
'enabled': boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Config. For OpenAI-compatible providers, model entries under `available_models` may include `max_tokens` as the maximum output token count and `context_length` as the total context window. `context_window` is a deprecated compatibility alias and should not be used by new clients.
|
|
46
|
-
* @type {{ [key: string]: object; }}
|
|
47
|
-
* @memberof Llm
|
|
48
|
-
*/
|
|
49
|
-
'config': { [key: string]: object; };
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {AccessLevel}
|
|
53
|
-
* @memberof Llm
|
|
54
|
-
*/
|
|
55
|
-
'level'?: AccessLevel;
|
|
56
|
-
/**
|
|
57
|
-
* CreatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof Llm
|
|
60
|
-
*/
|
|
61
|
-
'createdAt'?: string;
|
|
62
|
-
/**
|
|
63
|
-
* UpdatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof Llm
|
|
66
|
-
*/
|
|
67
|
-
'updatedAt'?: string;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|