(opts *remote.SSHOpts)
| 1138 | } |
| 1139 | |
| 1140 | func DisconnectClient(opts *remote.SSHOpts) error { |
| 1141 | conn := getConnInternal(opts, false) |
| 1142 | if conn == nil { |
| 1143 | return fmt.Errorf("client %q not found", opts.String()) |
| 1144 | } |
| 1145 | err := conn.Close() |
| 1146 | return err |
| 1147 | } |
| 1148 | |
| 1149 | func resolveSshConfigPatterns(configFiles []string) ([]string, error) { |
| 1150 | // using two separate containers to track order and have O(1) lookups |
nothing calls this directly
no test coverage detected