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

Function WithProxyConfig

pkg/compose/compose.go:140–145  ·  view source on GitHub ↗

WithProxyConfig sets custom HTTP proxy configuration for builds

(config map[string]string)

Source from the content-addressed store, hash-verified

138
139// WithProxyConfig sets custom HTTP proxy configuration for builds
140func WithProxyConfig(config map[string]string) Option {
141 return func(s *composeService) error {
142 s.proxyConfig = config
143 return nil
144 }
145}
146
147// WithPrompt configure a UI component for Compose service to interact with user and confirm actions
148func WithPrompt(prompt Prompt) Option {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected