[ CMII ] [ Operator ] - 抽离为单独的项目

This commit is contained in:
zeaslity
2024-01-22 14:33:55 +08:00
parent f1fb7e8309
commit 9aaabc0337
21 changed files with 911 additions and 42 deletions

View File

@@ -1,10 +1,10 @@
package executor
import (
"agent-go/register"
"fmt"
"net"
"strings"
"wdd.io/agent-go/register"
)
type BaseFunc interface {

View File

@@ -1,13 +1,13 @@
package executor
import (
logger2 "agent-go/logger"
"bufio"
"bytes"
"fmt"
"os/exec"
"strconv"
"strings"
logger2 "wdd.io/agent-go/logger"
)
type ExecutionMessage struct {

View File

@@ -1,10 +1,10 @@
package executor
import (
"agent-go/status"
"encoding/json"
"strconv"
"strings"
"wdd.io/agent-go/status"
)
func BuildAgentOsOperator(agentInfo *status.AgentInfo, ossOfflinePrefix string) *AgentOsOperator {