MCPcopy Create free account
hub / github.com/docker/cli / SetOut

Method SetOut

cmd/docker-trust/internal/test/cli.go:67–69  ·  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

65
66// SetOut sets the stdout stream for the cli to the specified io.Writer
67func (c *FakeCli) SetOut(out *streams.Out) {
68 c.out = out
69}
70
71// Client returns a docker API client
72func (c *FakeCli) Client() client.APIClient {

Callers 15

newPluginCommandFunction · 0.45
newDummyCommandFunction · 0.45
ShowHelpFunction · 0.45
TestNewExecCommandErrorsFunction · 0.45
TestStopFunction · 0.45
TestRunCommitFunction · 0.45
TestRunCommitClientErrorFunction · 0.45

Calls

no outgoing calls

Tested by 15

newDummyCommandFunction · 0.36
TestNewExecCommandErrorsFunction · 0.36
TestStopFunction · 0.36
TestRunCommitFunction · 0.36
TestRunCommitClientErrorFunction · 0.36
TestContainerListErrorsFunction · 0.36