()
| 85 | } |
| 86 | |
| 87 | func NewGenericCommand() CustomizableCommand { |
| 88 | genericCom := &GenericCommand{ |
| 89 | Env: map[string]string{}, |
| 90 | cmd: &com.Command{}, |
| 91 | } |
| 92 | |
| 93 | genericCom.cmd.Env = genericCom.Env |
| 94 | genericCom.cmd.Timeout = defaultExecutionTimeout |
| 95 | |
| 96 | return genericCom |
| 97 | } |
| 98 | |
| 99 | // GenericCommand is a concrete Command implementation. |
| 100 | type GenericCommand struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…