MCPcopy
hub / github.com/containerd/containerd / withStdout

Function withStdout

integration/client/container_test.go:359–365  ·  view source on GitHub ↗
(stdout io.Writer)

Source from the content-addressed store, hash-verified

357}
358
359func withStdout(stdout io.Writer) cio.Opt {
360 return func(streams *cio.Streams) {
361 streams.Stdin = bytes.NewReader(nil)
362 streams.Stdout = stdout
363 streams.Stderr = io.Discard
364 }
365}
366
367func TestContainerWait(t *testing.T) {
368 t.Parallel()

Callers 6

TestContainerOutputFunction · 0.85
TestContainerHostnameFunction · 0.85
TestContainerUsernameFunction · 0.85
TestContainerPTYFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…