(name string, steps ...Step)
| 495 | } |
| 496 | |
| 497 | func NewParallelStep(name string, steps ...Step) *ParallelStep { |
| 498 | return &ParallelStep{ |
| 499 | id: uuid.New().String(), |
| 500 | name: name, |
| 501 | steps: steps, |
| 502 | config: &StepConfig{ |
| 503 | Name: name, |
| 504 | Type: StepTypeParallel, |
| 505 | MaxRetries: 1, |
| 506 | Timeout: 10 * time.Minute, |
| 507 | SkipOnError: false, |
| 508 | }, |
| 509 | } |
| 510 | } |
| 511 | |
| 512 | func (s *ParallelStep) ID() string { return s.id } |
| 513 | func (s *ParallelStep) Name() string { return s.name } |
no test coverage detected