MCPcopy Create free account
hub / github.com/docker/compose / WithOutputStream

Function WithOutputStream

pkg/compose/compose.go:108–113  ·  view source on GitHub ↗

WithOutputStream sets a custom output stream

(out io.Writer)

Source from the content-addressed store, hash-verified

106
107// WithOutputStream sets a custom output stream
108func WithOutputStream(out io.Writer) Option {
109 return func(s *composeService) error {
110 s.outStream = out
111 return nil
112 }
113}
114
115// WithErrorStream sets a custom error stream
116func WithErrorStream(err io.Writer) Option {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected