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

Function WithContextInfo

pkg/compose/compose.go:132–137  ·  view source on GitHub ↗

WithContextInfo sets custom Docker context information

(info api.ContextInfo)

Source from the content-addressed store, hash-verified

130
131// WithContextInfo sets custom Docker context information
132func WithContextInfo(info api.ContextInfo) Option {
133 return func(s *composeService) error {
134 s.contextInfo = info
135 return nil
136 }
137}
138
139// WithProxyConfig sets custom HTTP proxy configuration for builds
140func WithProxyConfig(config map[string]string) Option {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected