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

Method getContextInfo

pkg/compose/compose.go:243–248  ·  view source on GitHub ↗

getContextInfo returns the context info - either custom override or dockerCli adapter

()

Source from the content-addressed store, hash-verified

241
242// getContextInfo returns the context info - either custom override or dockerCli adapter
243func (s *composeService) getContextInfo() api.ContextInfo {
244 if s.contextInfo != nil {
245 return s.contextInfo
246 }
247 return &dockerCliContextInfo{cli: s.dockerCli}
248}
249
250// getProxyConfig returns the proxy config - either custom override or environment-based
251func (s *composeService) getProxyConfig() map[string]string {

Callers 1

useAPISocketMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected