===== ConditionStep =====
| 274 | // ===== ConditionStep ===== |
| 275 | |
| 276 | type ConditionStep struct { |
| 277 | id string |
| 278 | name string |
| 279 | description string |
| 280 | condition func(*StepInput) bool |
| 281 | ifTrue Step |
| 282 | ifFalse Step |
| 283 | config *StepConfig |
| 284 | } |
| 285 | |
| 286 | func NewConditionStep(name string, condition func(*StepInput) bool, ifTrue, ifFalse Step) *ConditionStep { |
| 287 | return &ConditionStep{ |
nothing calls this directly
no outgoing calls
no test coverage detected