MCPcopy Create free account

hub / github.com/docker/compose / functions

Functions2,102 in github.com/docker/compose

↓ 2 callersFunctionisUnixAbs
(p string)
pkg/compose/create.go:1194
↓ 2 callersFunctionisVertexEqual
(a, b Vertex)
pkg/compose/dependencies_test.go:326
↓ 2 callersFunctionisWindowsAbs
(p string)
pkg/compose/create.go:1198
↓ 2 callersFunctionkeys
(m map[string]T)
internal/tracing/attributes.go:162
↓ 2 callersMethodkill
(ctx context.Context, projectName string, options api.KillOptions)
pkg/compose/kill.go:35
↓ 2 callersFunctionlineText
(l lineData)
cmd/display/tty.go:613
↓ 2 callersFunctionloadUnresolvedFile
loadUnresolvedFile loads a single compose file with interpolation and environment resolution skipped, so callers can inspect raw user-provided values.
pkg/compose/publish.go:619
↓ 2 callersFunctionmakeColorFunc
(code string)
cmd/formatter/colors.go:109
↓ 2 callersFunctionmoveCursor
(y, x int)
cmd/formatter/ansi.go:51
↓ 2 callersMethodmustRecreate
mustRecreate decides whether oc must be recreated to match expected. The expectedHash and parentRecreated inputs are precomputed once per service by r
pkg/compose/reconcile.go:540
↓ 2 callersFunctionmustResolvedServiceHash
mustResolvedServiceHash mirrors what the executor persists at create time: the service references are resolved before hashing. Use it to seed Observed
pkg/compose/reconcile_test.go:920
↓ 2 callersFunctionmustWrite
(t *testing.T, dir, name, content string)
cmd/compose/hooks_test.go:322
↓ 2 callersMethodnavigationMenu
()
cmd/formatter/shortcut.go:169
↓ 2 callersFunctionnewLine
()
cmd/formatter/ansi.go:89
↓ 2 callersFunctionnewLogPrinter
newLogPrinter builds a LogPrinter passing containers logs to LogConsumer
pkg/compose/printer.go:35
↓ 2 callersFunctionnewMockCli
(t *testing.T, out, errStream *streams.Out)
cmd/compose/compose_progress_test.go:71
↓ 2 callersFunctionnewMonitor
(apiClient client.APIClient, project string)
pkg/compose/monitor.go:40
↓ 2 callersMethodnewRequest
(ctx context.Context, method, path string, body io.Reader)
internal/desktop/client.go:215
↓ 2 callersFunctionnewStream
newStream returns a *streams.Out whose IsTerminal() matches tty. When tty is true it is backed by a pseudo-terminal slave; otherwise by an os.Pipe wri
cmd/compose/compose_progress_test.go:51
↓ 2 callersFunctionnewWatcher
(paths []string)
pkg/watch/watcher_naive.go:273
↓ 2 callersFunctionoptionalTimeout
optionalTimeout converts an integer timeout (in seconds) into a *time.Duration. If changed is false, nil is returned (no timeout was explicitly set).
cmd/compose/backend.go:39
↓ 2 callersFunctionparseMACAddr
(macAddress string)
pkg/compose/create.go:1755
↓ 2 callersMethodpreChecks
(ctx context.Context, project *types.Project, options api.PublishOptions)
pkg/compose/publish.go:318
↓ 2 callersFunctionpreferredIndentationStr
preferredIndentationStr returns a single string given the indentation preference
cmd/compose/viz.go:95
↓ 2 callersFunctionprepareNetworks
(project *types.Project)
pkg/compose/create.go:132
↓ 2 callersMethodprint
()
cmd/display/tty.go:284
↓ 2 callersMethodprojectFromName
projectFromName builds a types.Project based on actual resources with compose labels set
pkg/compose/compose.go:359
↓ 2 callersFunctionprojectHash
projectHash returns a checksum from the JSON encoding of the project.
internal/tracing/attributes.go:179
↓ 2 callersMethodpropagateDockerEndpoint
propagateDockerEndpoint produces DOCKER_* env vars for a child CLI plugin to target the same docker endpoint `cleanup` func MUST be called after child
pkg/compose/shellout.go:53
↓ 2 callersMethodpublish
nolint:gocyclo
pkg/compose/publish.go:55
↓ 2 callersFunctionpublishCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/publish.go:43
↓ 2 callersMethodpullServiceImage
(ctx context.Context, service types.ServiceConfig, quietPull bool, defaultPlatform string)
pkg/compose/pull.go:176
↓ 2 callersFunctionpush
(ctx context.Context, resolver remotes.Resolver, ref reference.Named, descriptor v1.Descriptor)
internal/oci/push.go:131
↓ 2 callersMethodpush
(ctx context.Context, project *types.Project, options api.PushOptions)
pkg/compose/push.go:48
↓ 2 callersMethodrebuildWatcher
()
pkg/watch/notify_test.go:521
↓ 2 callersMethodrecreateStrategy
()
cmd/compose/create.go:134
↓ 2 callersMethodremove
(ctx context.Context, containers Containers, options api.RemoveOptions)
pkg/compose/remove.go:98
↓ 2 callersMethodremoveResource
removeResource emits a "Removing" progress event, calls op, then emits the appropriate completion event based on the error: nil→Removed, conflict→stil
pkg/compose/down.go:280
↓ 2 callersFunctionreplace
replace changes yaml node value in stream at position, preserving content
pkg/compose/transform/replace.go:126
↓ 2 callersFunctionreplaceDollarEscape
replaceDollarEscape substitutes the compose-spec `$$` escape (which represents a literal `$` in the resolved value) with a placeholder. The placeholde
pkg/compose/publish.go:567
↓ 2 callersFunctionresolveAndMergeBuildArgs
resolveAndMergeBuildArgs returns the final set of build arguments to use for the service image build. First, args directly defined via `build.args` i
pkg/compose/build.go:252
↓ 2 callersFunctionresolveLocalPath
(localPath string)
pkg/compose/cp.go:353
↓ 2 callersMethodrestart
(ctx context.Context, projectName string, options api.RestartOptions)
pkg/compose/restart.go:37
↓ 2 callersFunctionrestoreCursor
()
cmd/formatter/ansi.go:36
↓ 2 callersFunctionrunUp
nolint:gocyclo
cmd/compose/up.go:232
↓ 2 callersFunctionrunVariables
(ctx context.Context, dockerCli command.Cli, opts configOptions, services []string)
cmd/compose/config.go:521
↓ 2 callersFunctionsaveCursor
()
cmd/formatter/ansi.go:28
↓ 2 callersFunctionsaveGlobalState
saveGlobalState snapshots package-level state that selectEventProcessor mutates (display.Mode and, in JSON mode, the logrus standard formatter) and re
cmd/compose/compose_progress_test.go:39
↓ 2 callersFunctionserviceHashWithResolvedRefs
serviceHashWithResolvedRefs mirrors what the executor persists at create time: service references (network_mode/ipc/pid: service:X, volumes_from) are
pkg/compose/reconcile.go:594
↓ 2 callersMethodshouldDisplay
()
cmd/formatter/shortcut.go:46
↓ 2 callersFunctionshouldFollowStartEvent
(event api.ContainerEvent, attached []string, attachTo []string)
pkg/compose/up.go:305
↓ 2 callersMethodshouldSkipDir
(path string)
pkg/watch/watcher_naive.go:237
↓ 2 callersMethodsortedSuspiciousKeys
sortedSuspiciousKeys returns the suspicious env var names alphabetically sorted for stable output.
pkg/compose/publish.go:393
↓ 2 callersMethodstdin
()
pkg/compose/compose.go:262
↓ 2 callersMethodstop
()
cmd/display/tty.go:140
↓ 2 callersMethodstopContainer
(ctx context.Context, service *types.ServiceConfig, ctr containerType.Summary, timeout *time.Duration, listene
pkg/compose/down.go:298
↓ 2 callersFunctionstoppedEvent
stoppedEvent creates a new Stopped (done) Resource
pkg/compose/progress.go:66
↓ 2 callersFunctionstoppingEvent
stoppingEvent creates a new Stopping in progress Resource
pkg/compose/progress.go:61
↓ 2 callersFunctionstripAnsi
stripAnsi removes ANSI escape codes from a string
cmd/display/tty_test.go:372
↓ 2 callersMethodtoProjectOptions
(po ...cli.ProjectOptionsFn)
cmd/compose/compose.go:376
↓ 2 callersMethodtoProjectOptionsFns
toProjectOptionsFns converts config options to cli.ProjectOptionsFn
cmd/compose/config.go:77
↓ 2 callersFunctiontopPrint
(out io.Writer, headers topHeader, rows []topEntries)
cmd/compose/top.go:122
↓ 2 callersFunctiontrim
(s string)
cmd/compose/top_test.go:322
↓ 2 callersFunctiontruncateLongestTaskID
truncateLongestTaskID truncates the longest taskID to reduce overflow. Returns true if truncation was performed. Lengths and slicing are in runes to a
cmd/display/tty.go:526
↓ 2 callersFunctiontruncateProgressSize
truncateProgressSize drops the trailing "X.XMB / Y.YMB" size info from the line currently driving maxBeforeStatusWidth — only that line's shrink can r
cmd/display/tty.go:483
↓ 2 callersFunctionurlForService
(t testing.TB, cli *CLI, service string, targetPort int)
pkg/e2e/pause_test.go:130
↓ 2 callersMethoduseAPISocket
--use-api-socket is not actually supported by the Docker Engine but is a client-side hack (see https://github.com/docker/cli/blob/master/cli/command/c
pkg/compose/apiSocket.go:32
↓ 2 callersFunctionversionCommand
(dockerCli command.Cli)
cmd/compose/version.go:35
↓ 2 callersMethodwatchEvents
(ctx context.Context, project *types.Project, options api.WatchOptions, watcher watch.Notify, syncer sync.Sync
pkg/compose/watch.go:346
↓ 2 callersMethodwithListener
(listener api.ContainerEventListener)
pkg/compose/monitor.go:208
↓ 2 callersMethodwithServices
(services []string)
pkg/compose/monitor.go:48
↓ 2 callersMethodwrite
(w io.Writer, container, message string)
cmd/formatter/logs.go:117
↓ 2 callersFunctionwriteComposeFile
(layer spec.Descriptor, i int, local string, content []byte)
pkg/remote/oci.go:237
↓ 1 callersFunctionAddAttributeToSpan
(ctx context.Context, attr ...attribute.KeyValue)
internal/tracing/wrap.go:95
↓ 1 callersMethodApply
Apply mutates project according to build options
pkg/api/api.go:232
↓ 1 callersMethodArchivePathsIfExist
ArchivePathsIfExist creates a tar archive of all local files in `paths`. It quietly skips any paths that don't exist.
internal/sync/tar.go:142
↓ 1 callersMethodAttach
Attach STDIN,STDOUT,STDERR to a running service container
pkg/api/api.go:117
↓ 1 callersMethodBuild
Build executes the equivalent to a `compose build`
pkg/api/api.go:85
↓ 1 callersMethodChdir
()
pkg/watch/temp_dir_fixture.go:65
↓ 1 callersMethodCheckRequiredParameters
(provider types.ServiceProviderConfig)
pkg/compose/plugins.go:313
↓ 1 callersMethodClose
()
internal/sync/tar.go:137
↓ 1 callersFunctionComposeStandalonePath
ComposeStandalonePath returns the path to the locally-built Compose standalone binary from the repo. This function will fail the test immediately if
pkg/e2e/framework.go:393
↓ 1 callersMethodConfigureModel
(ctx context.Context, config types.ModelConfig, events api.EventProcessor)
pkg/compose/model.go:161
↓ 1 callersMethodContainerAttach
All methods and functions which need to be overridden for dry run.
pkg/dryrun/dryrunclient.go:92
↓ 1 callersMethodContainerCommit
(ctx context.Context, container string, options client.ContainerCommitOptions)
pkg/dryrun/dryrunclient.go:328
↓ 1 callersMethodContainerExport
(ctx context.Context, container string, options client.ContainerExportOptions)
pkg/dryrun/dryrunclient.go:348
↓ 1 callersMethodContainerPause
(ctx context.Context, container string, options client.ContainerPauseOptions)
pkg/dryrun/dryrunclient.go:162
↓ 1 callersMethodContainerRename
(ctx context.Context, container string, options client.ContainerRenameOptions)
pkg/dryrun/dryrunclient.go:170
↓ 1 callersMethodContainerRestart
(ctx context.Context, container string, options client.ContainerRestartOptions)
pkg/dryrun/dryrunclient.go:174
↓ 1 callersMethodContainerTop
(ctx context.Context, container string, options client.ContainerTopOptions)
pkg/dryrun/dryrunclient.go:368
↓ 1 callersMethodContainerUnpause
(ctx context.Context, container string, options client.ContainerUnpauseOptions)
pkg/dryrun/dryrunclient.go:186
↓ 1 callersFunctionContainerWrite
ContainerWrite renders the context for a list of containers
cmd/formatter/container.go:86
↓ 1 callersMethodContainersForService
(ctx context.Context, projectName string, serviceName string)
internal/sync/tar.go:46
↓ 1 callersMethodContextStore
ContextStore mocks base method.
pkg/mocks/mock_docker_cli.go:94
↓ 1 callersFunctionConvert
(ctx context.Context, dockerCli command.Cli, project *types.Project, opts ConvertOptions)
pkg/bridge/convert.go:51
↓ 1 callersFunctionCopy
(ctx context.Context, resolver remotes.Resolver, image reference.Named, named reference.Named)
internal/oci/resolver.go:98
↓ 1 callersMethodCreate
(ctx context.Context, project *types.Project, createOpts api.CreateOptions)
pkg/compose/create.go:62
↓ 1 callersFunctionCreateTransformer
(ctx context.Context, dockerCli command.Cli, options CreateTransformerOptions)
pkg/bridge/transformers.go:43
↓ 1 callersMethodDecorate
(l api.LogConsumer)
cmd/formatter/shortcut.go:112
↓ 1 callersFunctionDescriptorForEnvFile
(path string, content []byte)
internal/oci/push.go:84
← previousnext →401–500 of 2,102, ranked by callers