MCPcopy Create free account

hub / github.com/docker/compose / functions

Functions2,102 in github.com/docker/compose

↓ 8 callersMethodPing
(ctx context.Context, options client.PingOptions)
pkg/dryrun/dryrunclient.go:600
↓ 8 callersFunctionStringToBool
StringToBool converts a string to a boolean ignoring errors
pkg/utils/stringutils.go:25
↓ 8 callersFunctionfindExecutable
(executableName string)
pkg/e2e/framework.go:202
↓ 8 callersFunctionnewTestWriter
()
cmd/display/tty_test.go:34
↓ 8 callersFunctiononeOffFilter
(b bool)
pkg/compose/filters.go:45
↓ 8 callersMethodprintWithDimensions
(terminalWidth, terminalHeight int)
cmd/display/tty.go:296
↓ 8 callersFunctionprojectFilterListOpt
(withOneOff bool)
pkg/compose/kill_test.go:147
↓ 7 callersMethodRuntimeAPIVersion
RuntimeAPIVersion returns the negotiated API version that will be used for requests to the Docker daemon. It triggers version negotiation via Ping so
pkg/compose/compose.go:511
↓ 7 callersMethodadjustLineWidth
(lines []lineData, timerLen int, terminalWidth int)
cmd/display/tty.go:415
↓ 7 callersFunctionapplyPlatforms
(project *types.Project, buildForSinglePlatform bool)
cmd/compose/options.go:40
↓ 7 callersFunctionemptyLogs
()
pkg/compose/pre_start_test.go:66
↓ 7 callersMethodgetSpecifiedContainer
(ctx context.Context, projectName string, oneOff oneOff, all bool, serviceName string, containerIndex int)
pkg/compose/containers.go:90
↓ 7 callersFunctionsortedKeys
sortedKeys returns the keys of a map sorted alphabetically. This ensures deterministic iteration order for reproducible plan output in tests.
pkg/compose/reconcile.go:844
↓ 7 callersFunctionunmarshalResponse
(t *testing.T, data []byte)
cmd/compose/hooks_test.go:336
↓ 6 callersFunctionBuildLogsURL
BuildLogsURL returns the deep link that opens Docker Desktop's Logs view, optionally pre-filtered to a Compose project. An empty appID yields the unfi
internal/desktop/client.go:60
↓ 6 callersFunctionEventWrapFuncForErrGroup
EventWrapFuncForErrGroup invokes a function and records an event, optionally including the returned error as the "exception message" on the event. Th
internal/tracing/wrap.go:80
↓ 6 callersMethodEvents
Events executes the equivalent to a `compose events`
pkg/api/api.go:127
↓ 6 callersFunctionHTTPGetWithRetry
HTTPGetWithRetry performs an HTTP GET on an `endpoint`, using retryDelay also as a request timeout. In the case of an error or the response status is
pkg/e2e/framework.go:481
↓ 6 callersMethodImageList
(ctx context.Context, options client.ImageListOptions)
pkg/dryrun/dryrunclient.go:408
↓ 6 callersMethodNetworkConnect
(ctx context.Context, networkName string, options client.NetworkConnectOptions)
pkg/dryrun/dryrunclient.go:251
↓ 6 callersMethodNetworkRemove
(ctx context.Context, networkName string, options client.NetworkRemoveOptions)
pkg/dryrun/dryrunclient.go:265
↓ 6 callersFunctionNewDockerPatternMatcher
(repoRoot string, patterns []string)
pkg/watch/dockerignore.go:130
↓ 6 callersFunctionNewSpinner
()
cmd/display/spinner.go:32
↓ 6 callersMethodStop
Stop executes the equivalent to a `compose stop`
pkg/api/api.go:97
↓ 6 callersFunctionbuildMount
(project types.Project, volume types.ServiceVolumeConfig)
pkg/compose/create.go:1202
↓ 6 callersMethodcheckEnvironmentVariables
checkEnvironmentVariables walks every compose file that will be serialized into the OCI artifact (the top-level files plus any local extends parents)
pkg/compose/publish.go:428
↓ 6 callersFunctionloadProjectForTest
--- collectEnvCheckFindings: pure detection logic ---
pkg/compose/publish_test.go:272
↓ 6 callersFunctionremovedEvent
removedEvent creates a new removed (done) Resource
pkg/compose/progress.go:76
↓ 6 callersFunctionwaitResultExit
(code int64)
pkg/compose/pre_start_test.go:59
↓ 6 callersFunctionwithBackend
withBackend creates a compose backend and passes it to fn.
cmd/compose/backend.go:29
↓ 5 callersMethodApply
(project *types.Project)
cmd/compose/create.go:165
↓ 5 callersMethodCreate
Create executes the equivalent to a `compose create`
pkg/api/api.go:91
↓ 5 callersMethodCurrentContext
CurrentContext returns the name of the current Docker context Returns "default" for simple clients without context support
pkg/api/context.go:23
↓ 5 callersMethodElements
()
pkg/utils/set.go:60
↓ 5 callersFunctionGetWriter
GetWriter creates an io.Writer that will actually split by line and format by LogConsumer
pkg/utils/writer.go:25
↓ 5 callersMethodImageRemove
(ctx context.Context, imageName string, options client.ImageRemoveOptions)
pkg/dryrun/dryrunclient.go:247
↓ 5 callersFunctionInDependencyOrder
InDependencyOrder applies the function to the services of the project taking in account the dependency order
pkg/compose/dependencies.go:79
↓ 5 callersMethodMatches
(file string)
pkg/watch/notify.go:61
↓ 5 callersMethodNewCmd
NewCmd creates a cmd object configured with the test environment set
pkg/e2e/framework.go:289
↓ 5 callersFunctionNewGraph
NewGraph returns the dependency graph of the services
pkg/compose/dependencies.go:251
↓ 5 callersFunctionNewResolver
NewResolver sets up an OCI Resolver based on docker/cli config to provide registry credentials. When transport is non-nil it is used as the HTTP trans
internal/oci/resolver.go:44
↓ 5 callersFunctionNewTar
(projectName string, client LowLevelClient)
internal/sync/tar.go:60
↓ 5 callersFunctionOSC8Link
OSC8Link wraps text in an OSC 8 terminal hyperlink escape sequence with underline styling, making it clickable in supported terminal emulators. When A
cmd/formatter/ansi.go:101
↓ 5 callersMethodPath
()
pkg/watch/temp_dir_fixture.go:61
↓ 5 callersFunctionPrint
Print prints formatted lists in different formats
cmd/formatter/formatter.go:29
↓ 5 callersFunctionProjectOptions
ProjectOptions returns common attributes from a Compose project. For convenience, it's returned as a SpanOptions object to allow it to be passed dire
internal/tracing/attributes.go:66
↓ 5 callersFunctionServiceHash
ServiceHash computes the configuration hash for a service.
pkg/compose/hash.go:27
↓ 5 callersFunctionSpanWrapFunc
SpanWrapFunc wraps a function that takes a context with a trace.Span, marking the status as codes.Error if the wrapped function returns an error. The
internal/tracing/wrap.go:38
↓ 5 callersMethodWrite
Write implements io.Writer. joins all input, splits on the separator and yields each chunk
pkg/utils/writer.go:38
↓ 5 callersFunctionansiColor
(code, s string, formatOpts ...string)
cmd/formatter/colors.go:92
↓ 5 callersMethodcreateMobyContainer
(ctx context.Context, project *types.Project, service types.ServiceConfig, name string, number int, inherit *
pkg/compose/convergence.go:329
↓ 5 callersFunctioncreatedEvent
createdEvent creates a new Created (done) Resource
pkg/compose/progress.go:56
↓ 5 callersFunctioncreatingEvent
creatingEvent creates a new Create in progress Resource
pkg/compose/progress.go:51
↓ 5 callersFunctionextractLines
extractLines parses the output buffer and returns lines without ANSI control sequences
cmd/display/tty_test.go:62
↓ 5 callersFunctiongetEnv
(out string)
pkg/e2e/providers_test.go:158
↓ 5 callersFunctionhttpProxySocketEndpoint
httpProxySocketEndpoint derives Docker Desktop's HTTP proxy socket endpoint from a Docker Desktop socket endpoint in the same directory. Returns "" wh
internal/desktop/proxy.go:63
↓ 5 callersMethodkeyboardError
(prefix string, err error)
cmd/formatter/shortcut.go:275
↓ 5 callersFunctionlabelFilter
labelFilter returns a label filter string of the form "key=value".
pkg/compose/filters.go:29
↓ 5 callersFunctionnewTestService
(t *testing.T)
pkg/compose/executor_test.go:41
↓ 5 callersMethodremoteLoaders
(dockerCli command.Cli)
cmd/compose/compose.go:364
↓ 5 callersFunctionremovingEvent
removingEvent creates a new Removing in progress Resource
pkg/compose/progress.go:71
↓ 5 callersFunctionresolveAppIDIn
Split from defaultResolveAppID so tests can pass a t.TempDir() instead of mutating process state via t.Chdir.
cmd/compose/hooks.go:123
↓ 5 callersMethodrunHook
(ctx context.Context, ctr container.Summary, service types.ServiceConfig, hook types.ServiceHook, listener api
pkg/compose/hook.go:34
↓ 5 callersMethodtoAPIBuildOptions
(services []string)
cmd/compose/build.go:53
↓ 5 callersMethodwaitDependencies
nolint:gocyclo
pkg/compose/convergence.go:157
↓ 4 callersMethodAccept
(path string)
cmd/compose/up_test.go:43
↓ 4 callersMethodDaemonHost
()
pkg/dryrun/dryrunclient.go:624
↓ 4 callersFunctionDurationSecondToInt
(d *time.Duration)
pkg/utils/durationutils.go:21
↓ 4 callersMethodErrors
A channel to read off show-stopping errors
pkg/watch/notify.go:49
↓ 4 callersMethodExecInspect
(ctx context.Context, execID string, options client.ExecInspectOptions)
pkg/dryrun/dryrunclient.go:340
↓ 4 callersFunctionIsNotFoundError
IsNotFoundError returns true if the unwrapped error is ErrNotFound
pkg/api/errors.go:51
↓ 4 callersMethodName
()
cmd/formatter/container.go:147
↓ 4 callersFunctionProxyTransport
ProxyTransport returns an http.RoundTripper that routes traffic through Docker Desktop's PAC-aware HTTP proxy when DD exposes the proxy socket, or nil
internal/desktop/proxy.go:107
↓ 4 callersMethodStart
(context.Context)
cmd/formatter/shortcut.go:81
↓ 4 callersMethodSync
(ctx context.Context, service string, paths []*PathMapping)
internal/sync/tar.go:67
↓ 4 callersMethodT
()
pkg/watch/temp_dir_fixture.go:57
↓ 4 callersFunctionToMobyEnv
ToMobyEnv convert into []string
pkg/compose/convert.go:30
↓ 4 callersMethodToModel
(ctx context.Context, dockerCli command.Cli, services []string, po ...cli.ProjectOptionsFn)
cmd/compose/config.go:71
↓ 4 callersMethodUp
Up executes the equivalent to a `compose up`
pkg/api/api.go:99
↓ 4 callersMethodVolumeRemove
(ctx context.Context, volumeID string, options client.VolumeRemoveOptions)
pkg/dryrun/dryrunclient.go:281
↓ 4 callersFunctionWithEventProcessor
WithEventProcessor configure component to get notified on Compose operation and progress events. Typically used to configure a progress UI
pkg/compose/compose.go:194
↓ 4 callersFunctionWithPrompt
WithPrompt configure a UI component for Compose service to interact with user and confirm actions
pkg/compose/compose.go:148
↓ 4 callersFunctionaddTask
(w *ttyWriter, id, text, details string, status api.EventStatus)
cmd/display/tty_test.go:47
↓ 4 callersFunctionassertServiceStatus
(t *testing.T, projectName, service, status string, ps string)
pkg/e2e/restart_test.go:29
↓ 4 callersFunctionbuiltEvent
builtEvent creates a new built (done) Resource
pkg/compose/progress.go:86
↓ 4 callersMethodcheckForSensitiveData
(ctx context.Context, project *types.Project)
pkg/compose/publish.go:687
↓ 4 callersFunctionclearLine
()
cmd/formatter/ansi.go:65
↓ 4 callersMethodcreate
(ctx context.Context, project *types.Project, options api.CreateOptions)
pkg/compose/create.go:68
↓ 4 callersFunctioncreateEndpointSettings
(p *types.Project, service types.ServiceConfig, serviceIndex int, networkKey string, links []string, useNetwor
pkg/compose/create.go:385
↓ 4 callersMethodexecutePlan
executePlan walks the plan DAG, executing nodes in parallel where possible while respecting dependency edges. It emits progress events and handles gro
pkg/compose/executor.go:71
↓ 4 callersFunctiongetContainerNameWithoutProject
(c container.Summary)
pkg/compose/compose.go:347
↓ 4 callersMethodgetProjectWithResources
(ctx context.Context, containers Containers, projectName string)
pkg/compose/down.go:369
↓ 4 callersFunctionmergeLabels
(ls ...types.Labels)
pkg/compose/convergence.go:589
↓ 4 callersFunctionmustTouch
(t *testing.T, path string)
internal/desktop/proxy_test.go:172
↓ 4 callersFunctionnetworkFilter
(name string)
pkg/compose/filters.go:41
↓ 4 callersMethodprepareShellOut
prepareShellOut prepare a shell-out command to be ran by Compose
pkg/compose/shellout.go:37
↓ 4 callersFunctionprocessFile
(ctx context.Context, file string, project *types.Project, extFiles map[string]string, envFiles map[string]str
pkg/compose/publish.go:230
↓ 4 callersFunctionserviceFilter
(serviceName string)
pkg/compose/filters.go:37
↓ 4 callersFunctionsetEnvWithDotEnv
(opts ProjectOptions, dockerCli command.Cli)
cmd/compose/compose.go:683
↓ 4 callersMethodstart
(ctx context.Context, projectName string, options api.StartOptions, listener api.ContainerEventListener)
pkg/compose/start.go:37
← previousnext →101–200 of 2,102, ranked by callers