MCPcopy
hub / github.com/digitalocean/doctl / TestConfig

Struct TestConfig

doit.go:503–510  ·  view source on GitHub ↗

TestConfig is an implementation of Config for testing.

Source from the content-addressed store, hash-verified

501
502// TestConfig is an implementation of Config for testing.
503type 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
512var _ Config = &TestConfig{}
513

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected