[ 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()
|
multiLineCommand = op.installHelm()
|
||||||
break
|
break
|
||||||
case "installHarbor":
|
case "installHarbor":
|
||||||
multiLineCommand = op.installHarbor(funcArgs)
|
multiLineCommand = op.installHarbor()
|
||||||
break
|
break
|
||||||
case "chronyToPublicNTP":
|
case "chronyToPublicNTP":
|
||||||
multiLineCommand = op.chronyToPublicNTP()
|
multiLineCommand = op.chronyToPublicNTP()
|
||||||
@@ -448,7 +448,7 @@ func (op *AgentOsOperator) modifyDockerConfig(args []string) [][]string {
|
|||||||
return modifyDockerConfigFunc
|
return modifyDockerConfigFunc
|
||||||
}
|
}
|
||||||
|
|
||||||
func (op *AgentOsOperator) installHarbor(args []string) [][]string {
|
func (op *AgentOsOperator) installHarbor() [][]string {
|
||||||
|
|
||||||
installHarborFunc := [][]string{
|
installHarborFunc := [][]string{
|
||||||
//{
|
//{
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ type OctopusMessage struct {
|
|||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
Content interface{} `json:"content"`
|
Content interface{} `json:"content"`
|
||||||
Result interface{} `json:"result"`
|
Result interface{} `json:"result"`
|
||||||
|
ResultCode string `json:"resultCode"`
|
||||||
ACTime string `json:"ac_time" format:"2023-03-21 16:38:30"`
|
ACTime string `json:"ac_time" format:"2023-03-21 16:38:30"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user