NewContextForTests creates a new `ssh.Context` with internal properties set to the specified values. It should only be used to inject test-specific setup.
(configDir, keygenExe string)
| 21 | // NewContextForTests creates a new `ssh.Context` with internal properties set to the |
| 22 | // specified values. It should only be used to inject test-specific setup. |
| 23 | func NewContextForTests(configDir, keygenExe string) Context { |
| 24 | return Context{ |
| 25 | configDir, |
| 26 | keygenExe, |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | type KeyPair struct { |
| 31 | PublicKeyPath string |
no outgoing calls