Files
osmedeus/libs/step.go
T
2023-09-07 21:21:14 +07:00

31 lines
544 B
Go

package libs
// Step struct to define component about a command
type Step struct {
// timeout for commands and script
Timeout string
// use for run loop command
Parallel int
Threads string
Source string
Label string
Conditions []string
Required []string
Commands []string
Ose []string `yaml:"ose"`
Scripts []string
// run when conditions are false
RCommands []string `yaml:"rcommands"`
RScripts []string `yaml:"rscripts"`
// post condition and script
PConditions []string
PScripts []string
Std string
}