refactor continues
This commit is contained in:
parent
c038774f2c
commit
51f1eab127
30 changed files with 1373 additions and 474 deletions
|
|
@ -17,4 +17,16 @@ type NatsMsg struct {
|
|||
PatchMgmt bool `json:"patch_mgmt"`
|
||||
ID int `json:"id"`
|
||||
Code string `json:"code"`
|
||||
}
|
||||
}
|
||||
|
||||
type RawCMDResp struct {
|
||||
Results string `json:"results"`
|
||||
}
|
||||
|
||||
type RunScriptResp struct {
|
||||
Stdout string `json:"stdout"`
|
||||
Stderr string `json:"stderr"`
|
||||
Retcode int `json:"retcode"`
|
||||
ExecTime float64 `json:"execution_time"`
|
||||
ID int `json:"id"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue