StepRunner is an interface for components that implement the logic for execution of an individual Step in a user-defined promotion process.
| 16 | // StepRunner is an interface for components that implement the logic for |
| 17 | // execution of an individual Step in a user-defined promotion process. |
| 18 | type StepRunner interface { |
| 19 | // Run executes an individual Step from a user-defined promotion process |
| 20 | // using the provided StepContext. Implementations may indirectly modify |
| 21 | // that context through the returned StepResult to allow StepRunners of |
| 22 | // subsequent Steps to access the results of this execution. |
| 23 | Run(context.Context, *StepContext) (StepResult, error) |
| 24 | } |
| 25 | |
| 26 | // Context is the context of a user-defined promotion process that is executed |
| 27 | // by the Engine. |
no outgoing calls
no test coverage detected