CommandOperator executes a command on a machine to install k3sup
| 2 | |
| 3 | // CommandOperator executes a command on a machine to install k3sup |
| 4 | type CommandOperator interface { |
| 5 | Execute(command string) (CommandRes, error) |
| 6 | ExecuteStdio(command string, stream bool) (CommandRes, error) |
| 7 | } |
| 8 | |
| 9 | // CommandRes contains the STDIO output from running a command |
| 10 | type CommandRes struct { |
no outgoing calls
no test coverage detected