Documentation ¶
Index ¶
- Constants
- Variables
- func All() []string
- func Command(t *model.Task) (tr model.TaskResult)
- func LineInFile(t *model.Task) (tr model.TaskResult)
- func PreRun(task *model.Task, playVars model.TaskVars) (tr model.TaskResult)
- func Run(task *model.Task, playVars model.TaskVars) (tr model.TaskResult)
- func Service(t *model.Task) (tr model.TaskResult)
- type OsUser
Constants ¶
View Source
const ( Unknown int = iota Success Failed Skipped )
Variables ¶
View Source
var ServiceStateMap = map[string]string{
"started": "start",
"stopped": "stop",
"restarted": "restart",
"reloaded": "reload",
}
Functions ¶
func LineInFile ¶
func LineInFile(t *model.Task) (tr model.TaskResult)
Types ¶
Click to show internal directories.
Click to hide internal directories.