| 18 | type Handler func(sh models.Shell, timeouts core.Timeouts) (error, Session) |
| 19 | |
| 20 | type Session interface { |
| 21 | Type() string |
| 22 | Exec(cmd string) ([]byte, error) |
| 23 | Close() |
| 24 | } |
| 25 | |
| 26 | func For(sh models.Shell, timeouts core.Timeouts) (error, Session) { |
| 27 | if mgr := managers[sh.Type]; mgr != nil { |
no outgoing calls
no test coverage detected