[ Service ] [ Executor ] 初步重构Executor部分的代码
This commit is contained in:
@@ -5,8 +5,14 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type OctopusFunc interface {
|
||||
Exec(baseFuncName string, funcArgs ...string) []string
|
||||
|
||||
Deploy(appFuncName string, funcArgs ...string) (bool, []string)
|
||||
}
|
||||
|
||||
type AppFunc interface {
|
||||
Deploy(appFuncName string, funcArgs ...string) []string
|
||||
Deploy(appFuncName string, funcArgs ...string) (bool, []string)
|
||||
}
|
||||
|
||||
var AppExecuteErrorLogPrefix = []string{"App指令执行错误! => "}
|
||||
|
||||
Reference in New Issue
Block a user