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

Function WithErrorStream

pkg/compose/compose.go:116–121  ·  view source on GitHub ↗

WithErrorStream sets a custom error stream

(err io.Writer)

Source from the content-addressed store, hash-verified

114
115// WithErrorStream sets a custom error stream
116func WithErrorStream(err io.Writer) Option {
117 return func(s *composeService) error {
118 s.errStream = err
119 return nil
120 }
121}
122
123// WithInputStream sets a custom input stream
124func WithInputStream(in io.Reader) Option {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected