mirror of
https://github.com/mudler/LocalAI
synced 2026-04-21 13:27:21 +00:00
feat(swagger): update swagger (#9431)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
This commit is contained in:
parent
babbbc6ec8
commit
cae79d9107
3 changed files with 67 additions and 0 deletions
|
|
@ -2408,6 +2408,23 @@ const docTemplate = `{
|
|||
}
|
||||
}
|
||||
},
|
||||
"gallery.NodeDriftInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"digest": {
|
||||
"type": "string"
|
||||
},
|
||||
"node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"node_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"version": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gallery.UpgradeInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
@ -2425,6 +2442,13 @@ const docTemplate = `{
|
|||
},
|
||||
"installed_version": {
|
||||
"type": "string"
|
||||
},
|
||||
"node_drift": {
|
||||
"description": "NodeDrift lists nodes whose installed version or digest differs from\nthe cluster majority. Non-empty means the cluster has diverged and an\nupgrade will realign it. Empty in single-node mode.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/gallery.NodeDriftInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2405,6 +2405,23 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"gallery.NodeDriftInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"digest": {
|
||||
"type": "string"
|
||||
},
|
||||
"node_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"node_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"version": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gallery.UpgradeInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
@ -2422,6 +2439,13 @@
|
|||
},
|
||||
"installed_version": {
|
||||
"type": "string"
|
||||
},
|
||||
"node_drift": {
|
||||
"description": "NodeDrift lists nodes whose installed version or digest differs from\nthe cluster majority. Non-empty means the cluster has diverged and an\nupgrade will realign it. Empty in single-node mode.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/gallery.NodeDriftInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -157,6 +157,17 @@ definitions:
|
|||
type: string
|
||||
type: array
|
||||
type: object
|
||||
gallery.NodeDriftInfo:
|
||||
properties:
|
||||
digest:
|
||||
type: string
|
||||
node_id:
|
||||
type: string
|
||||
node_name:
|
||||
type: string
|
||||
version:
|
||||
type: string
|
||||
type: object
|
||||
gallery.UpgradeInfo:
|
||||
properties:
|
||||
available_digest:
|
||||
|
|
@ -169,6 +180,14 @@ definitions:
|
|||
type: string
|
||||
installed_version:
|
||||
type: string
|
||||
node_drift:
|
||||
description: |-
|
||||
NodeDrift lists nodes whose installed version or digest differs from
|
||||
the cluster majority. Non-empty means the cluster has diverged and an
|
||||
upgrade will realign it. Empty in single-node mode.
|
||||
items:
|
||||
$ref: '#/definitions/gallery.NodeDriftInfo'
|
||||
type: array
|
||||
type: object
|
||||
galleryop.OpStatus:
|
||||
properties:
|
||||
|
|
|
|||
Loading…
Reference in a new issue