MCPcopy
hub / github.com/docker/compose / getProxyConfig

Method getProxyConfig

pkg/compose/compose.go:251–256  ·  view source on GitHub ↗

getProxyConfig returns the proxy config - either custom override or environment-based

()

Source from the content-addressed store, hash-verified

249
250// getProxyConfig returns the proxy config - either custom override or environment-based
251func (s *composeService) getProxyConfig() map[string]string {
252 if s.proxyConfig != nil {
253 return s.proxyConfig
254 }
255 return storeutil.GetProxyConfig(s.dockerCli)
256}
257
258func (s *composeService) stdout() *streams.Out {
259 return s.dockerCli.Out()

Callers 2

doBuildBakeMethod · 0.95
doBuildImageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected