Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions swagger/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3236,6 +3236,38 @@ const docTemplate = `{
}
}
},
"galleryop.NodeProgress": {
"type": "object",
"properties": {
"current": {
"type": "string"
},
"error": {
"type": "string"
},
"file_name": {
"type": "string"
},
"node_id": {
"type": "string"
},
"node_name": {
"type": "string"
},
"percentage": {
"type": "number"
},
"phase": {
"type": "string"
},
"status": {
"type": "string"
},
"total": {
"type": "string"
}
}
},
"galleryop.OpStatus": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -3267,6 +3299,13 @@ const docTemplate = `{
"message": {
"type": "string"
},
"nodes": {
"description": "Nodes is the per-node breakdown for a fanned-out backend install.\nPopulated by DistributedBackendManager (per-node terminal status)\nand by the Phase 2 progress bridge (per-byte ticks). The\n/api/operations handler surfaces this so the UI can render an\nexpandable per-node view of an in-flight install.",
"type": "array",
"items": {
"$ref": "#/definitions/galleryop.NodeProgress"
}
},
"processed": {
"type": "boolean"
},
Expand Down
39 changes: 39 additions & 0 deletions swagger/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3233,6 +3233,38 @@
}
}
},
"galleryop.NodeProgress": {
"type": "object",
"properties": {
"current": {
"type": "string"
},
"error": {
"type": "string"
},
"file_name": {
"type": "string"
},
"node_id": {
"type": "string"
},
"node_name": {
"type": "string"
},
"percentage": {
"type": "number"
},
"phase": {
"type": "string"
},
"status": {
"type": "string"
},
"total": {
"type": "string"
}
}
},
"galleryop.OpStatus": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -3264,6 +3296,13 @@
"message": {
"type": "string"
},
"nodes": {
"description": "Nodes is the per-node breakdown for a fanned-out backend install.\nPopulated by DistributedBackendManager (per-node terminal status)\nand by the Phase 2 progress bridge (per-byte ticks). The\n/api/operations handler surfaces this so the UI can render an\nexpandable per-node view of an in-flight install.",
"type": "array",
"items": {
"$ref": "#/definitions/galleryop.NodeProgress"
}
},
"processed": {
"type": "boolean"
},
Expand Down
31 changes: 31 additions & 0 deletions swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,27 @@ definitions:
$ref: '#/definitions/gallery.NodeDriftInfo'
type: array
type: object
galleryop.NodeProgress:
properties:
current:
type: string
error:
type: string
file_name:
type: string
node_id:
type: string
node_name:
type: string
percentage:
type: number
phase:
type: string
status:
type: string
total:
type: string
type: object
galleryop.OpStatus:
properties:
cancellable:
Expand All @@ -232,6 +253,16 @@ definitions:
type: string
message:
type: string
nodes:
description: |-
Nodes is the per-node breakdown for a fanned-out backend install.
Populated by DistributedBackendManager (per-node terminal status)
and by the Phase 2 progress bridge (per-byte ticks). The
/api/operations handler surfaces this so the UI can render an
expandable per-node view of an in-flight install.
items:
$ref: '#/definitions/galleryop.NodeProgress'
type: array
processed:
type: boolean
progress:
Expand Down
Loading