(name string, steps ...Step)
| 717 | } |
| 718 | |
| 719 | func NewStepsGroup(name string, steps ...Step) *StepsGroup { |
| 720 | return &StepsGroup{ |
| 721 | id: uuid.New().String(), |
| 722 | name: name, |
| 723 | steps: steps, |
| 724 | config: &StepConfig{ |
| 725 | Name: name, |
| 726 | Type: StepTypeSteps, |
| 727 | MaxRetries: 1, |
| 728 | Timeout: 30 * time.Minute, |
| 729 | SkipOnError: false, |
| 730 | }, |
| 731 | } |
| 732 | } |
| 733 | |
| 734 | func (s *StepsGroup) ID() string { return s.id } |
| 735 | func (s *StepsGroup) Name() string { return s.name } |
no test coverage detected