mirror of
https://github.com/datarhei/core.git
synced 2025-10-05 16:07:07 +08:00
Update API docs
This commit is contained in:
@@ -1307,6 +1307,14 @@ const docTemplateClusterAPI = `{
|
||||
"description": "percent",
|
||||
"type": "number"
|
||||
},
|
||||
"limitGPU": {
|
||||
"description": "GPU limits",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/app.ConfigLimitGPU"
|
||||
}
|
||||
]
|
||||
},
|
||||
"limitMemory": {
|
||||
"description": "bytes",
|
||||
"type": "integer"
|
||||
@@ -1401,6 +1409,27 @@ const docTemplateClusterAPI = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"app.ConfigLimitGPU": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"decoder": {
|
||||
"description": "percent 0-100",
|
||||
"type": "number"
|
||||
},
|
||||
"encoder": {
|
||||
"description": "percent 0-100",
|
||||
"type": "number"
|
||||
},
|
||||
"memory": {
|
||||
"description": "bytes",
|
||||
"type": "integer"
|
||||
},
|
||||
"usage": {
|
||||
"description": "percent 0-100",
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
"client.AddIdentityRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1669,6 +1698,26 @@ const docTemplateClusterAPI = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"compress": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"encoding": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"mimetypes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"min_length": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"created_at": {
|
||||
"description": "When this config has been persisted",
|
||||
"type": "string"
|
||||
@@ -1861,6 +1910,14 @@ const docTemplateClusterAPI = `{
|
||||
"description": "percent 0-100",
|
||||
"type": "number"
|
||||
},
|
||||
"max_gpu_memory_usage": {
|
||||
"description": "percent 0-100",
|
||||
"type": "number"
|
||||
},
|
||||
"max_gpu_usage": {
|
||||
"description": "percent 0-100",
|
||||
"type": "number"
|
||||
},
|
||||
"max_memory_usage": {
|
||||
"description": "percent 0-100",
|
||||
"type": "number"
|
||||
|
Reference in New Issue
Block a user