Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docker/compose
/ functions
Functions
2,102 in github.com/docker/compose
⨍
Functions
2,102
◇
Types & classes
271
↓ 1 callers
Function
stopCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/stop.go:34
↓ 1 callers
Method
stopContainers
(ctx context.Context, serv *types.ServiceConfig, containers []containerType.Summary, timeout *time.Duration, l
pkg/compose/down.go:326
↓ 1 callers
Method
streamPreStartLogs
streamPreStartLogs returns a channel that is closed once the hook log stream has been fully drained (or never opened). Callers must wait on it before
pkg/compose/pre_start.go:262
↓ 1 callers
Method
supportsRuntimeFlags
supportsRuntimeFlags checks if the docker model version supports runtime flags Runtime flags are supported in version >= v1.0.6
pkg/compose/model.go:285
↓ 1 callers
Function
tarArchive
(ops []PathMapping)
internal/sync/tar.go:321
↓ 1 callers
Function
timeAttr
(key string, value time.Time)
internal/tracing/attributes.go:170
↓ 1 callers
Function
toBakeAttest
(buildConfig types.BuildConfig)
pkg/compose/build_bake.go:532
↓ 1 callers
Function
toBakeExtraHosts
(hosts types.HostsList)
pkg/compose/build_bake.go:473
↓ 1 callers
Function
toBakeSSH
(ssh types.SSHConfig)
pkg/compose/build_bake.go:504
↓ 1 callers
Function
toBakeSecrets
(project *types.Project, secrets []types.ServiceSecretConfig)
pkg/compose/build_bake.go:512
↓ 1 callers
Function
toBakeUlimits
(ulimits map[string]*types.UlimitsConfig)
pkg/compose/build_bake.go:492
↓ 1 callers
Function
toBindString
(name string, v *types.ServiceVolumeConfig)
pkg/compose/create.go:922
↓ 1 callers
Method
toComposeHealthCheck
(healthConfig *container.HealthConfig)
pkg/compose/generate.go:144
↓ 1 callers
Method
toComposeNetwork
(networks map[string]*network.EndpointSettings)
pkg/compose/generate.go:215
↓ 1 callers
Method
toComposeVolumes
(volumes []container.MountPoint)
pkg/compose/generate.go:170
↓ 1 callers
Function
toPullProgressEvent
(parent string, jm jsonstream.Message, events api.EventProcessor)
pkg/compose/pull.go:412
↓ 1 callers
Function
toPushProgressEvent
(prefix string, jm jsonstream.Message, events api.EventProcessor)
pkg/compose/push.go:132
↓ 1 callers
Function
toReconcileOptions
toReconcileOptions maps api.CreateOptions to ReconcileOptions.
pkg/compose/reconcile.go:35
↓ 1 callers
Function
toUlimits
(m map[string]*types.UlimitsConfig)
pkg/compose/create.go:708
↓ 1 callers
Function
topCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/top.go:38
↓ 1 callers
Function
traceClientFromDockerContext
traceClientFromDockerContext creates a gRPC OTLP client based on metadata from the active Docker CLI context.
internal/tracing/docker_context.go:37
↓ 1 callers
Function
traceClientFromEnv
traceClientFromEnv creates a GRPC OTLP client based on OS environment variables. https://opentelemetry.io/docs/concepts/sdk-configuration/otlp-export
internal/tracing/tracing.go:123
↓ 1 callers
Function
transformersCommand
(dockerCli command.Cli)
cmd/compose/bridge.go:78
↓ 1 callers
Function
truncateDetails
truncateDetails tries to truncate the first line's details to reduce overflow. Returns true if any truncation was performed.
cmd/display/tty.go:508
↓ 1 callers
Method
unPause
(ctx context.Context, projectName string, options api.PauseOptions)
pkg/compose/pause.go:60
↓ 1 callers
Function
unixTimeAttr
(key string, value int64)
internal/tracing/attributes.go:174
↓ 1 callers
Method
unlabeledLocalImages
unlabeledLocalImages are images that match the implicit naming convention for locally-built images but did not get labeled, presumably because they we
pkg/compose/image_pruner.go:174
↓ 1 callers
Function
unpauseCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/pause.go:64
↓ 1 callers
Function
up
(options options, args []string)
docs/examples/provider.go:90
↓ 1 callers
Function
upCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/up.go:113
↓ 1 callers
Function
upDirectionTraversal
(visitorFn func(context.Context, string) error)
pkg/compose/dependencies.go:56
↓ 1 callers
Method
update
update adjusts task state based on last received event
cmd/display/tty.go:106
↓ 1 callers
Function
useAnsi
(streams command.Streams, ansi string)
cmd/formatter/colors.go:75
↓ 1 callers
Function
validateFlags
nolint:gocyclo
cmd/compose/up.go:190
↓ 1 callers
Method
validateNavigationMenu
(dockerCli command.Cli)
cmd/compose/up.go:86
↓ 1 callers
Function
validateSocketPath
(addr string)
internal/memnet/conn_unix.go:34
↓ 1 callers
Function
viewFromStackList
(stackList []api.Stack)
cmd/compose/list.go:135
↓ 1 callers
Function
visitAll
visitAll will traverse all commands from the root. This is different from the VisitAll of cobra.Command where only parents are checked.
docs/yaml/main/generate.go:79
↓ 1 callers
Method
visitInDependencyOrder
visitInDependencyOrder processes services from leaves to roots so that dependencies are reconciled before the services that depend on them.
pkg/compose/reconcile.go:381
↓ 1 callers
Function
vizCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/viz.go:40
↓ 1 callers
Function
volumeRequiresMountAPI
volumeRequiresMountAPI check if Volume declaration can be implemented by the plain old Bind API or uses any of the advanced options which require use
pkg/compose/create.go:977
↓ 1 callers
Function
volumesCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/volumes.go:39
↓ 1 callers
Function
waitCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/wait.go:39
↓ 1 callers
Method
watch
(ctx context.Context, project *types.Project, options api.WatchOptions)
pkg/compose/watch.go:189
↓ 1 callers
Function
watchCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/watch.go:40
↓ 1 callers
Method
watchRecursively
(dir string)
pkg/watch/watcher_naive.go:105
↓ 1 callers
Method
wrapDockerCliWithStreams
wrapDockerCliWithStreams wraps the Docker CLI to intercept and override stream methods
pkg/compose/compose.go:284
↓ 1 callers
Function
wrapRunE
wrapRunE injects a wrapper function around the command's actual RunE (or Run) method. This is necessary to capture the command result for reporting as
cmd/cmdtrace/cmd_span.go:75
↓ 1 callers
Method
writeEntry
(entry archiveEntry)
internal/sync/tar.go:173
↓ 1 callers
Function
writeEnvFile
(layer spec.Descriptor, local string, content []byte)
pkg/remote/oci.go:260
↓ 1 callers
Function
writeWatchSyncMessage
writeWatchSyncMessage prints out a message about the sync for the changed paths.
pkg/compose/watch.go:698
Method
Accept
(path string)
pkg/remote/git.go:68
Method
Accept
(path string)
pkg/remote/oci.go:112
Method
Attach
Attach mocks base method.
pkg/mocks/mock_docker_compose_api.go:45
Method
Attach
Attach indicates an expected call of Attach.
pkg/mocks/mock_docker_compose_api.go:53
Method
Attach
(ctx context.Context, projectName string, options api.AttachOptions)
pkg/compose/attach_service.go:28
Method
Build
Build mocks base method.
pkg/mocks/mock_docker_compose_api.go:59
Method
Build
Build indicates an expected call of Build.
pkg/mocks/mock_docker_compose_api.go:67
Method
Build
(ctx context.Context, project *types.Project, options api.BuildOptions)
pkg/compose/build.go:35
Method
BuildCachePrune
BuildCachePrune mocks base method.
pkg/mocks/mock_docker_api.go:46
Method
BuildCachePrune
BuildCachePrune indicates an expected call of BuildCachePrune.
pkg/mocks/mock_docker_api.go:55
Method
BuildCachePrune
(ctx context.Context, opts client.BuildCachePruneOptions)
pkg/dryrun/dryrunclient.go:388
Method
BuildCancel
BuildCancel mocks base method.
pkg/mocks/mock_docker_api.go:61
Method
BuildCancel
BuildCancel indicates an expected call of BuildCancel.
pkg/mocks/mock_docker_api.go:70
Method
BuildCancel
(ctx context.Context, id string, opts client.BuildCancelOptions)
pkg/dryrun/dryrunclient.go:392
Method
BuildKitEnabled
BuildKitEnabled mocks base method.
pkg/mocks/mock_docker_cli.go:51
Method
BuildKitEnabled
BuildKitEnabled indicates an expected call of BuildKitEnabled.
pkg/mocks/mock_docker_cli.go:60
Method
BuildKitEnabled
()
pkg/compose/docker_cli_providers.go:36
Method
CheckpointCreate
CheckpointCreate mocks base method.
pkg/mocks/mock_docker_api.go:76
Method
CheckpointCreate
CheckpointCreate indicates an expected call of CheckpointCreate.
pkg/mocks/mock_docker_api.go:85
Method
CheckpointCreate
(ctx context.Context, container string, options client.CheckpointCreateOptions)
pkg/dryrun/dryrunclient.go:644
Method
CheckpointList
CheckpointList mocks base method.
pkg/mocks/mock_docker_api.go:91
Method
CheckpointList
CheckpointList indicates an expected call of CheckpointList.
pkg/mocks/mock_docker_api.go:100
Method
CheckpointList
(ctx context.Context, container string, options client.CheckpointListOptions)
pkg/dryrun/dryrunclient.go:652
Method
CheckpointRemove
CheckpointRemove mocks base method.
pkg/mocks/mock_docker_api.go:106
Method
CheckpointRemove
CheckpointRemove indicates an expected call of CheckpointRemove.
pkg/mocks/mock_docker_api.go:115
Method
CheckpointRemove
(ctx context.Context, container string, options client.CheckpointRemoveOptions)
pkg/dryrun/dryrunclient.go:648
Method
Clear
Clear removes all elements from the set. Deprecated: Clear is retained for API compatibility; prefer re-assigning a new Set.
pkg/utils/set.go:81
Method
Client
Client indicates an expected call of Client.
pkg/mocks/mock_docker_cli.go:74
Method
ClientVersion
ClientVersion mocks base method.
pkg/mocks/mock_docker_api.go:121
Method
ClientVersion
ClientVersion indicates an expected call of ClientVersion.
pkg/mocks/mock_docker_api.go:129
Method
Close
()
pkg/utils/writer.go:55
Method
Close
Close mocks base method.
pkg/mocks/mock_docker_api.go:135
Method
Close
Close indicates an expected call of Close.
pkg/mocks/mock_docker_api.go:143
Method
Close
()
pkg/dryrun/dryrunclient.go:64
Method
Close
()
pkg/dryrun/dryrunclient.go:640
Method
Close
()
pkg/watch/watcher_naive.go:139
Method
Close
()
pkg/watch/watcher_darwin.go:98
Method
Close
()
pkg/compose/model.go:107
Method
Close
()
pkg/compose/watch_test.go:50
Method
Close
Close releases any connections/resources held by the underlying clients. In practice, this service has the same lifetime as the process, so everythin
pkg/compose/compose.go:226
Method
Close
()
pkg/compose/compose.go:279
Method
Close
()
pkg/compose/build_bake.go:461
Method
Close
Close implement io.ReadCloser
pkg/compose/container.go:38
Method
Close
Close implement io.WriteCloser
pkg/compose/container.go:56
Method
Commit
Commit mocks base method.
pkg/mocks/mock_docker_compose_api.go:73
Method
Commit
Commit indicates an expected call of Commit.
pkg/mocks/mock_docker_compose_api.go:81
Method
Commit
(ctx context.Context, projectName string, options api.CommitOptions)
pkg/compose/commit.go:29
Method
Completed
()
cmd/display/tty.go:149
Method
ConfigCreate
ConfigCreate mocks base method.
pkg/mocks/mock_docker_api.go:149
← previous
next →
1,001–1,100 of 2,102, ranked by callers