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

Method SetIn

cmd/docker-trust/internal/test/cli.go:57–59  ·  view source on GitHub ↗

SetIn sets the input of the cli to the specified ReadCloser

(in *streams.In)

Source from the content-addressed store, hash-verified

55
56// SetIn sets the input of the cli to the specified ReadCloser
57func (c *FakeCli) SetIn(in *streams.In) {
58 c.in = in
59}
60
61// SetErr sets the stderr stream for the cli to the specified io.Writer
62func (c *FakeCli) SetErr(err *streams.Out) {

Callers 7

TestRunLoginFunction · 0.95
TestSwarmUnlockFunction · 0.95
TestVolumePruneSuccessFunction · 0.95
TestVolumePrunePromptYesFunction · 0.95
TestVolumePrunePromptNoFunction · 0.95

Calls

no outgoing calls

Tested by 7

TestRunLoginFunction · 0.76
TestSwarmUnlockFunction · 0.76
TestVolumePruneSuccessFunction · 0.76
TestVolumePrunePromptYesFunction · 0.76
TestVolumePrunePromptNoFunction · 0.76