feat: backend executor implement
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user