Executor executes workflows
| 18 | |
| 19 | // Executor executes workflows |
| 20 | type Executor struct { |
| 21 | host string |
| 22 | port int |
| 23 | httpClient *http.Client |
| 24 | beacon *csclient.BeaconDto // beacon metadata for condition evaluation |
| 25 | outputs map[string]string // stores outputs from previous actions and beacon metadata |
| 26 | outputMu sync.RWMutex // protects outputs map for concurrent access |
| 27 | logger *logger.Logger |
| 28 | taskTimeout time.Duration |
| 29 | results []ActionResult // stores action results for output formatting |
| 30 | resultsMu sync.Mutex // protects results slice |
| 31 | } |
| 32 | |
| 33 | // ActionResult represents the result of an action execution |
| 34 | type ActionResult struct { |
nothing calls this directly
no outgoing calls
no test coverage detected