[ Executor ] modify base function part - 1
This commit is contained in:
@@ -67,7 +67,7 @@ func (op *AgentOsOperator) Exec(baseFuncName string, funcArgs ...string) []strin
|
||||
multiLineCommand = op.installHelm()
|
||||
break
|
||||
case "installHarbor":
|
||||
multiLineCommand = op.installHarbor(funcArgs)
|
||||
multiLineCommand = op.installHarbor()
|
||||
break
|
||||
case "chronyToPublicNTP":
|
||||
multiLineCommand = op.chronyToPublicNTP()
|
||||
@@ -448,7 +448,7 @@ func (op *AgentOsOperator) modifyDockerConfig(args []string) [][]string {
|
||||
return modifyDockerConfigFunc
|
||||
}
|
||||
|
||||
func (op *AgentOsOperator) installHarbor(args []string) [][]string {
|
||||
func (op *AgentOsOperator) installHarbor() [][]string {
|
||||
|
||||
installHarborFunc := [][]string{
|
||||
//{
|
||||
|
||||
@@ -29,12 +29,13 @@ type OctopusMsgBuilder interface {
|
||||
}
|
||||
|
||||
type OctopusMessage struct {
|
||||
UUID string `json:"uuid"`
|
||||
InitTime string `json:"init_time" format:"2023-03-21 16:38:30"`
|
||||
Type string `json:"type"`
|
||||
Content interface{} `json:"content"`
|
||||
Result interface{} `json:"result"`
|
||||
ACTime string `json:"ac_time" format:"2023-03-21 16:38:30"`
|
||||
UUID string `json:"uuid"`
|
||||
InitTime string `json:"init_time" format:"2023-03-21 16:38:30"`
|
||||
Type string `json:"type"`
|
||||
Content interface{} `json:"content"`
|
||||
Result interface{} `json:"result"`
|
||||
ResultCode string `json:"resultCode"`
|
||||
ACTime string `json:"ac_time" format:"2023-03-21 16:38:30"`
|
||||
}
|
||||
|
||||
func (om *OctopusMessage) Handle() {
|
||||
|
||||
Reference in New Issue
Block a user