feat: backend executor implement

This commit is contained in:
2026-08-16 17:12:06 +08:00
parent 390e0565d3
commit 7755da72e7
31 changed files with 2762 additions and 184 deletions
+12 -10
View File
@@ -2,19 +2,21 @@
package daemonapi
const (
OperationUpdate = "update"
OperationRestart = "restart"
InputTypeRepackZIP = "repack-zip"
InputTypeNativeJAR = "native-jar"
ResponseProgress = "progress"
ResponseResult = "result"
OperationUpdate = "update"
OperationRestart = "restart"
InputTypeRepackZIP = "repack-zip"
InputTypeNativeJAR = "native-jar"
InputTypeContainerImage = "container-image"
ResponseProgress = "progress"
ResponseResult = "result"
)
type Request struct {
Operation string `json:"operation"`
Service string `json:"service"`
InputType string `json:"inputType"`
File string `json:"file"`
Operation string `json:"operation"`
Service string `json:"service"`
InputType string `json:"inputType"`
File string `json:"file"`
ImageReference string `json:"imageReference"`
}
type Response struct {