Skip to content

Commit

Permalink
Bump websocket api (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
mzottola authored Jan 17, 2025
1 parent 494cf71 commit ae2a217
Showing 1 changed file with 137 additions and 0 deletions.
137 changes: 137 additions & 0 deletions websocket/websocket-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,31 @@ components:
state_message:
type: string
nullable: true
ClusterComputedStatusDto:
type: object
required:
- global_status
- qovery_components_in_failure
- node_warnings
- is_max_nodes_size_reached
- kube_version_status
properties:
global_status:
$ref: '#/components/schemas/ClusterStatusGlobalStatus'
is_max_nodes_size_reached:
type: boolean
kube_version_status:
$ref: '#/components/schemas/QoveryClusterKubeVersionStatus'
node_warnings:
type: object
additionalProperties:
type: array
items:
$ref: '#/components/schemas/QoveryNodeFailure'
qovery_components_in_failure:
type: array
items:
$ref: '#/components/schemas/QoveryComponentInFailure'
ClusterListNodesResponseDto:
type: object
required:
Expand Down Expand Up @@ -593,6 +618,12 @@ components:
type: array
items:
$ref: '#/components/schemas/ClusterNodeDto'
ClusterStatusGlobalStatus:
type: string
enum:
- RUNNING
- WARNING
- ERROR
ContainerStateDto:
type: object
required:
Expand Down Expand Up @@ -912,6 +943,112 @@ components:
type: string
state_reason:
type: string
QoveryClusterKubeVersionStatus:
oneOf:
- type: object
required:
- kube_version
- type
properties:
kube_version:
type: string
type:
type: string
enum:
- Ok
- type: object
required:
- kube_version
- expected_kube_version
- type
properties:
expected_kube_version:
type: string
kube_version:
type: string
type:
type: string
enum:
- Drift
- type: object
required:
- type
properties:
type:
type: string
enum:
- Unknown
discriminator:
propertyName: type
QoveryComponentContainerStatusIssue:
type: object
required:
- level
properties:
level:
$ref: '#/components/schemas/QoveryComponentContainerStatusLevel'
message:
type: string
nullable: true
reason:
type: string
nullable: true
QoveryComponentContainerStatusLevel:
type: string
enum:
- ERROR
- WARNING
QoveryComponentInFailure:
oneOf:
- type: object
required:
- component_name
- pod_name
- container_name
- level
- type
properties:
component_name:
type: string
container_name:
type: string
level:
$ref: '#/components/schemas/QoveryComponentContainerStatusLevel'
message:
type: string
nullable: true
pod_name:
type: string
reason:
type: string
nullable: true
type:
type: string
enum:
- POD_IN_ERROR
- type: object
required:
- component_name
- type
properties:
component_name:
type: string
type:
type: string
enum:
- MISSING_COMPONENT
discriminator:
propertyName: type
QoveryNodeFailure:
type: object
required:
- reason
- message
properties:
message:
type: string
reason:
type: string
ResourceStatusDto:
type: string
enum:
Expand Down

0 comments on commit ae2a217

Please sign in to comment.