Skip to content

Commit 060ff34

Browse files
committed
chore: auto update client api apecloud/apecloud@dc1d1b9
1 parent 6f6fc34 commit 060ff34

33 files changed

+51
-5207
lines changed

.generator/schemas/adminapi.yaml

Lines changed: 4 additions & 279 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ tags:
3232
description: Project APIs
3333
- name: cluster
3434
description: Cluster APIs
35-
- name: clusterTask
36-
description: Cluster Task APIs
3735
- name: instance
3836
description: Cluster instance APIs
3937
- name: imageRegistry
@@ -5079,7 +5077,7 @@ paths:
50795077
content:
50805078
application/json:
50815079
schema:
5082-
$ref: '#/components/schemas/clusterTask'
5080+
$ref: '#/components/schemas/opsRequestName'
50835081
description: Accepted
50845082
'401':
50855083
$ref: '#/components/responses/401'
@@ -12403,84 +12401,6 @@ paths:
1240312401
$ref: '#/components/responses/404'
1240412402
'500':
1240512403
$ref: '#/components/responses/500'
12406-
/admin/v1/clustertasks:
12407-
get:
12408-
operationId: listClusterTasks
12409-
summary: List cluster tasks
12410-
parameters:
12411-
- description: name of the Org
12412-
in: query
12413-
name: orgName
12414-
schema:
12415-
type: string
12416-
- description: name of the KubeBlocks cluster
12417-
in: query
12418-
name: clusterName
12419-
schema:
12420-
type: string
12421-
- description: You want to check the status of the task. If not passed, all selected by default
12422-
in: query
12423-
name: status
12424-
schema:
12425-
$ref: '#/components/schemas/opsStatus'
12426-
- description: You want to check the type of the task. If not passed, all selected by default
12427-
in: query
12428-
name: clusterTaskType
12429-
schema:
12430-
$ref: '#/components/schemas/opsType'
12431-
responses:
12432-
'200':
12433-
content:
12434-
application/json:
12435-
schema:
12436-
$ref: '#/components/schemas/clusterTaskList'
12437-
description: A successful response.
12438-
'401':
12439-
$ref: '#/components/responses/401'
12440-
'403':
12441-
$ref: '#/components/responses/403'
12442-
tags:
12443-
- clusterTask
12444-
/admin/v1/organizations/{orgName}/clusters/{clusterName}/clustertasks/{taskId}:
12445-
get:
12446-
description: Get cluster task
12447-
summary: Get cluster task
12448-
operationId: getClusterTask
12449-
parameters:
12450-
- description: Organization Name
12451-
in: path
12452-
name: orgName
12453-
required: true
12454-
schema:
12455-
type: string
12456-
- description: Cluster Name
12457-
in: path
12458-
name: clusterName
12459-
required: true
12460-
schema:
12461-
type: string
12462-
- description: Task ID
12463-
in: path
12464-
name: taskId
12465-
required: true
12466-
schema:
12467-
type: string
12468-
responses:
12469-
'200':
12470-
content:
12471-
application/json:
12472-
schema:
12473-
$ref: '#/components/schemas/clusterTask'
12474-
description: Successful operation
12475-
'401':
12476-
$ref: '#/components/responses/401'
12477-
'403':
12478-
$ref: '#/components/responses/403'
12479-
'404':
12480-
$ref: '#/components/responses/404'
12481-
tags:
12482-
- clusterTask
12483-
- shared
1248412404
/admin/v1/organizations/{orgName}/cluster/{clusterName}/available-relations:
1248512405
get:
1248612406
tags:
@@ -13793,7 +13713,7 @@ paths:
1379313713
content:
1379413714
application/json:
1379513715
schema:
13796-
$ref: '#/components/schemas/clusterTask'
13716+
$ref: '#/components/schemas/opsRequestName'
1379713717
'400':
1379813718
$ref: '#/components/responses/400'
1379913719
'401':
@@ -13842,7 +13762,7 @@ paths:
1384213762
content:
1384313763
application/json:
1384413764
schema:
13845-
$ref: '#/components/schemas/clusterTask'
13765+
$ref: '#/components/schemas/opsRequestName'
1384613766
'400':
1384713767
$ref: '#/components/responses/400'
1384813768
'401':
@@ -13896,7 +13816,7 @@ paths:
1389613816
content:
1389713817
application/json:
1389813818
schema:
13899-
$ref: '#/components/schemas/clusterTask'
13819+
$ref: '#/components/schemas/opsRequestName'
1390013820
'400':
1390113821
$ref: '#/components/responses/400'
1390213822
'401':
@@ -20797,162 +20717,6 @@ components:
2079720717
type: object
2079820718
$ref: '#/components/schemas/opsParameter'
2079920719
type: object
20800-
customOpsTask:
20801-
description: customOpsTask is the information of custom ops task
20802-
properties:
20803-
objectKey:
20804-
description: the pod name
20805-
type: string
20806-
namespace:
20807-
description: namespace of the task
20808-
type: string
20809-
status:
20810-
description: status of the task
20811-
type: string
20812-
targetPodName:
20813-
description: target pod name of the task
20814-
type: string
20815-
retries:
20816-
description: retries of the task
20817-
type: integer
20818-
format: int32
20819-
type: object
20820-
customOpsTasks:
20821-
description: customOpsTasks is a list of custom ops task. This field is provided when ops is `custom`.
20822-
properties:
20823-
items:
20824-
description: The list of custom ops task.
20825-
items:
20826-
$ref: '#/components/schemas/customOpsTask'
20827-
type: array
20828-
type: object
20829-
clusterTaskProgress:
20830-
description: clusterTaskProgress is the information of the task progress
20831-
properties:
20832-
name:
20833-
description: conponent name
20834-
type: string
20835-
group:
20836-
description: group name
20837-
type: string
20838-
objectKey:
20839-
description: the instance name
20840-
type: string
20841-
nullable: true
20842-
message:
20843-
description: message of the task progress
20844-
type: string
20845-
status:
20846-
description: status of the task progress
20847-
type: string
20848-
startTime:
20849-
description: start time of the task progress
20850-
format: date-time
20851-
type: string
20852-
nullable: true
20853-
endTime:
20854-
description: end time of the task progress
20855-
format: date-time
20856-
type: string
20857-
nullable: true
20858-
customOpsName:
20859-
description: Indicates the name of an OpsAction, Either `objectKey` or `customOpsName` must be provided. This field is provided when ops is `custom`.
20860-
type: string
20861-
nullable: true
20862-
customOpsTasks:
20863-
$ref: '#/components/schemas/customOpsTasks'
20864-
type: object
20865-
clusterTaskProgresses:
20866-
description: clusterTaskProgresses is a list of task progress detail
20867-
properties:
20868-
items:
20869-
description: Items is the list of task progress detail in the list
20870-
items:
20871-
$ref: '#/components/schemas/clusterTaskProgress'
20872-
type: array
20873-
type: object
20874-
clusterTaskDetail:
20875-
type: object
20876-
description: taskCondition is the information of the task condition
20877-
properties:
20878-
reason:
20879-
description: reason of the task condition
20880-
type: string
20881-
type:
20882-
description: type of the task condition
20883-
type: string
20884-
status:
20885-
description: status of the task condition
20886-
type: string
20887-
message:
20888-
description: message of the task condition
20889-
type: string
20890-
lastTransitionTime:
20891-
description: last transition time of the task condition
20892-
format: date-time
20893-
type: string
20894-
clusterTaskDetails:
20895-
description: taskConditions is a list of task condition
20896-
properties:
20897-
items:
20898-
description: Items is the list of task condition in the list
20899-
items:
20900-
$ref: '#/components/schemas/clusterTaskDetail'
20901-
type: array
20902-
type: object
20903-
clusterTask:
20904-
type: object
20905-
description: task is the information of the operation
20906-
required:
20907-
- name
20908-
- namespace
20909-
- status
20910-
- taskType
20911-
- progress
20912-
properties:
20913-
id:
20914-
description: ID of the task
20915-
type: string
20916-
name:
20917-
description: Name of the task
20918-
type: string
20919-
namespace:
20920-
description: Namespace of the task
20921-
type: string
20922-
orgName:
20923-
description: OrgName of the task
20924-
type: string
20925-
clusterName:
20926-
description: ClusterName of the task
20927-
type: string
20928-
status:
20929-
description: status of the task
20930-
type: string
20931-
taskType:
20932-
description: task type
20933-
type: string
20934-
progress:
20935-
description: progress of the task
20936-
type: string
20937-
taskProgresses:
20938-
$ref: '#/components/schemas/clusterTaskProgresses'
20939-
taskDetails:
20940-
$ref: '#/components/schemas/clusterTaskDetails'
20941-
opsLog:
20942-
description: pod log of the custom task
20943-
type: string
20944-
description:
20945-
description: description of the custom task
20946-
type: string
20947-
startTime:
20948-
type: string
20949-
format: date-time
20950-
description: Time when the task started
20951-
completionTime:
20952-
type: string
20953-
format: date-time
20954-
description: Time when the task completed or failed
20955-
nullable: true
2095620720
opsIoQuotas:
2095720721
description: IO Quotas describes IOPS and BPS for volumes of a KubeBlocks cluster
2095820722
properties:
@@ -27855,44 +27619,6 @@ components:
2785527619
$ref: '#/components/schemas/taskSchedule'
2785627620
description: Scheduled execution configuration
2785727621
x-nullable: true
27858-
opsStatus:
27859-
enum:
27860-
- Pending
27861-
- Creating
27862-
- Running
27863-
- Cancelling
27864-
- Succeed
27865-
- Cancelled
27866-
- Failed
27867-
- Aborted
27868-
type: string
27869-
opsType:
27870-
enum:
27871-
- VerticalScaling
27872-
- HorizontalScaling
27873-
- VolumeExpansion
27874-
- Upgrade
27875-
- Reconfiguring
27876-
- Switchover
27877-
- Restart
27878-
- Stop
27879-
- Start
27880-
- Expose
27881-
- Backup
27882-
- Restore
27883-
- RebuildInstance
27884-
- Custom
27885-
- UpdateLicense
27886-
type: string
27887-
clusterTaskList:
27888-
description: TaskList is a list of operation task objects
27889-
properties:
27890-
items:
27891-
description: Items is the list of operation task objects in the list
27892-
items:
27893-
$ref: '#/components/schemas/clusterTask'
27894-
type: array
27895-
type: object
2789627622
availableClusterList:
2789727623
type: array
2789827624
items:
@@ -30204,7 +29930,6 @@ x-tagGroups:
3020429930
- database
3020529931
- recycleBinCluster
3020629932
- relation
30207-
- clusterTask
3020829933
- name: License
3020929934
tags:
3021029935
- license

0 commit comments

Comments
 (0)