taskExecutor handles the execution of a single task across multiple hosts.
| 27 | |
| 28 | // taskExecutor handles the execution of a single task across multiple hosts. |
| 29 | type taskExecutor struct { |
| 30 | *option |
| 31 | task *kkcorev1alpha1.Task |
| 32 | // taskRunTimeout is the timeout for task executor |
| 33 | taskRunTimeout time.Duration |
| 34 | } |
| 35 | |
| 36 | // Exec creates and executes a task, updating its status and the parent playbook's status. |
| 37 | // It returns an error if the task creation or execution fails. |
nothing calls this directly
no outgoing calls
no test coverage detected