TestConfig is an implementation of Config for testing.
| 501 | |
| 502 | // TestConfig is an implementation of Config for testing. |
| 503 | type TestConfig struct { |
| 504 | SSHFn func(user, host, keyPath string, port int, opts ssh.Options) runner.Runner |
| 505 | ListenFn func(url *url.URL, token string, schemaFunc listen.SchemaFunc, out io.Writer, inCh <-chan []byte) listen.ListenerService |
| 506 | TerminalFn func() terminal.Terminal |
| 507 | v *viper.Viper |
| 508 | IsSetMap map[string]bool |
| 509 | DockerEngineClient builder.DockerEngineClient |
| 510 | } |
| 511 | |
| 512 | var _ Config = &TestConfig{} |
| 513 |
nothing calls this directly
no outgoing calls
no test coverage detected