MCPcopy Index your code
hub / github.com/docker/cli / SetOut

Method SetOut

internal/test/cli.go:69–71  ·  view source on GitHub ↗

SetOut sets the stdout stream for the cli to the specified io.Writer

(out *streams.Out)

Source from the content-addressed store, hash-verified

67
68// SetOut sets the stdout stream for the cli to the specified io.Writer
69func (c *FakeCli) SetOut(out *streams.Out) {
70 c.out = out
71}
72
73// SetConfigFile sets the "fake" config file
74func (c *FakeCli) SetConfigFile(configFile *configfile.ConfigFile) {

Callers 1

TerminatePromptFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected