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

Function WithInputStream

pkg/compose/compose.go:124–129  ·  view source on GitHub ↗

WithInputStream sets a custom input stream

(in io.Reader)

Source from the content-addressed store, hash-verified

122
123// WithInputStream sets a custom input stream
124func WithInputStream(in io.Reader) Option {
125 return func(s *composeService) error {
126 s.inStream = in
127 return nil
128 }
129}
130
131// WithContextInfo sets custom Docker context information
132func WithContextInfo(info api.ContextInfo) Option {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected