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
Dial
(ctx context.Context, network, addr string)
internal/memnet/conn.go:36
↓ 1 callers
Method
Dir
(path string)
pkg/remote/oci.go:197
↓ 1 callers
Method
DistributionInspect
(ctx context.Context, imageName string, options client.DistributionInspectOptions)
pkg/dryrun/dryrunclient.go:384
↓ 1 callers
Method
DockerEndpoint
DockerEndpoint mocks base method.
pkg/mocks/mock_docker_cli.go:136
↓ 1 callers
Method
Down
(ctx context.Context, projectName string, options api.DownOptions)
pkg/compose/down.go:38
↓ 1 callers
Method
EnableDetach
(detach func())
cmd/formatter/shortcut.go:366
↓ 1 callers
Method
EnableWatch
(enabled bool, watcher Feature)
cmd/formatter/shortcut.go:359
↓ 1 callers
Method
Event
(e api.Resource)
cmd/display/plain.go:41
↓ 1 callers
Method
EventOptions
()
internal/tracing/attributes.go:53
↓ 1 callers
Method
Events
()
pkg/compose/watch_test.go:54
↓ 1 callers
Method
Exec
Exec executes a command in a running service container
pkg/api/api.go:115
↓ 1 callers
Method
Exec
(ctx context.Context, containerID string, cmd []string, in io.Reader)
internal/sync/tar.go:48
↓ 1 callers
Method
Export
Export a service container's filesystem as a tar archive
pkg/api/api.go:143
↓ 1 callers
Function
Full
Full creates an EventProcessor that render advanced UI within a terminal. On Start, TUI lists task with a progress timer
cmd/display/tty.go:40
↓ 1 callers
Method
Generate
Generate generates a Compose Project from existing containers
pkg/api/api.go:147
↓ 1 callers
Method
GetParameter
(paramName string)
pkg/compose/plugins.go:304
↓ 1 callers
Method
GetParents
GetParents returns a slice with the parent vertices of the Vertex
pkg/compose/dependencies.go:223
↓ 1 callers
Method
HandleKeyEvents
(ctx context.Context, event keyboard.KeyEvent, project *types.Project, options api.UpOptions)
cmd/formatter/shortcut.go:313
↓ 1 callers
Method
HasCycles
HasCycles detects cycles in the graph
pkg/compose/dependencies.go:405
↓ 1 callers
Method
ImageBuild
(ctx context.Context, reader io.Reader, options client.ImageBuildOptions)
pkg/dryrun/dryrunclient.go:201
↓ 1 callers
Method
ImagePush
(ctx context.Context, ref string, options client.ImagePushOptions)
pkg/dryrun/dryrunclient.go:226
↓ 1 callers
Method
ImagesToPrune
ImagesToPrune returns the set of images that should be removed.
pkg/compose/image_pruner.go:74
↓ 1 callers
Method
In
()
pkg/compose/compose.go:325
↓ 1 callers
Function
InitProvider
(dockerCli command.Cli)
internal/tracing/tracing.go:68
↓ 1 callers
Function
InitTracing
(dockerCli command.Cli)
internal/tracing/tracing.go:62
↓ 1 callers
Function
IsAlreadyExistsError
IsAlreadyExistsError returns true if the unwrapped error is ErrAlreadyExists
pkg/api/errors.go:56
↓ 1 callers
Method
IsEmpty
()
pkg/compose/plugins.go:288
↓ 1 callers
Function
IsErrCanceled
IsErrCanceled returns true if the unwrapped error is ErrCanceled
pkg/api/errors.go:86
↓ 1 callers
Function
IsFeatureActiveStandalone
IsFeatureActiveStandalone is the convenience form of IsFeatureActive for callers without an existing engine API client (e.g. the compose plugin hook s
internal/desktop/client.go:202
↓ 1 callers
Method
IsFeatureEnabled
IsFeatureEnabled checks the feature flag (GET /features) for a given feature. Returns true when the feature is rolled out.
internal/desktop/client.go:170
↓ 1 callers
Function
IsForbiddenError
IsForbiddenError returns true if the unwrapped error is ErrForbidden
pkg/api/errors.go:61
↓ 1 callers
Function
IsHealthy
(service string)
pkg/e2e/framework.go:411
↓ 1 callers
Function
IsUnknownError
IsUnknownError returns true if the unwrapped error is ErrUnknown
pkg/api/errors.go:66
↓ 1 callers
Function
JSON
(out io.Writer)
cmd/display/json.go:28
↓ 1 callers
Function
KeyboardMetrics
(ctx context.Context, enabled, isDockerDesktopActive, isLogsViewEnabled bool)
internal/tracing/keyboard_metrics.go:25
↓ 1 callers
Method
Labels
Labels returns a comma-separated string of labels present on the container.
cmd/formatter/container.go:236
↓ 1 callers
Function
Lines
Lines split output into lines
pkg/e2e/framework.go:474
↓ 1 callers
Method
ListModels
(ctx context.Context)
pkg/compose/model.go:253
↓ 1 callers
Function
ListTransformers
(ctx context.Context, dockerCli command.Cli)
pkg/bridge/transformers.go:116
↓ 1 callers
Method
Load
(context.Context, string)
cmd/compose/up_test.go:47
↓ 1 callers
Function
LoadAdditionalResources
LoadAdditionalResources loads additional resources from the project, such as image references, secrets, configs and exposed ports
pkg/bridge/convert.go:165
↓ 1 callers
Method
Log
(containerName, message string)
pkg/compose/logs_test.go:228
↓ 1 callers
Method
Matches
(f string)
pkg/watch/dockerignore.go:39
↓ 1 callers
Method
MatchesEntireDir
If this matches the entire dir, we can often optimize filetree walks a bit.
pkg/watch/notify.go:64
↓ 1 callers
Function
MaybeIncreaseBufferSize
(w *fsnotify.Watcher)
pkg/watch/watcher_nonwin.go:23
↓ 1 callers
Function
NewArchiveBuilder
(writer io.Writer)
internal/sync/tar.go:129
↓ 1 callers
Function
NewContainerContext
NewContainerContext creates a new context for rendering containers
cmd/formatter/container.go:113
↓ 1 callers
Function
NewContainerFormat
NewContainerFormat returns a Format for rendering using a Context
cmd/formatter/container.go:48
↓ 1 callers
Method
NewDockerCmd
NewDockerCmd creates a docker cmd without running it
pkg/e2e/framework.go:313
↓ 1 callers
Function
NewDryRunClient
NewDryRunClient produces a DryRunClient
pkg/dryrun/dryrunclient.go:67
↓ 1 callers
Function
NewImagePruner
NewImagePruner creates an ImagePruner object for a project.
pkg/compose/image_pruner.go:66
↓ 1 callers
Function
NewKeyboardManager
(isDockerDesktopActive, isLogsViewEnabled bool, sc chan<- os.Signal)
cmd/formatter/shortcut.go:103
↓ 1 callers
Function
NewPidfile
(projectName string)
internal/locker/pidfile.go:28
↓ 1 callers
Function
NewVertex
NewVertex is the constructor function for the Vertex
pkg/compose/dependencies.go:289
↓ 1 callers
Function
NewWatcher
(project *types.Project, options api.UpOptions, w WatchFunc, consumer api.LogConsumer)
pkg/compose/watch.go:60
↓ 1 callers
Function
NoColor
()
cmd/display/colors.go:39
↓ 1 callers
Method
Path
()
pkg/watch/temp.go:82
↓ 1 callers
Method
Pause
Pause executes the equivalent to a `compose pause`
pkg/api/api.go:121
↓ 1 callers
Method
Ping
Ping is a minimal API used to ensure that the server is available.
internal/desktop/client.go:112
↓ 1 callers
Function
Plain
(out io.Writer)
cmd/display/plain.go:27
↓ 1 callers
Method
Port
Port executes the equivalent to a `compose port`
pkg/api/api.go:129
↓ 1 callers
Function
PrintPrettySection
PrintPrettySection prints a tabbed section on the writer parameter
cmd/formatter/pretty.go:27
↓ 1 callers
Method
Publish
Publish executes the equivalent to a `compose publish`
pkg/api/api.go:131
↓ 1 callers
Method
Pull
Pull executes the equivalent of a `compose pull`
pkg/api/api.go:89
↓ 1 callers
Method
PullModel
(ctx context.Context, model types.ModelConfig, quietPull bool, events api.EventProcessor)
pkg/compose/model.go:111
↓ 1 callers
Method
Push
(ctx context.Context, project *types.Project, options api.PushOptions)
pkg/compose/push.go:39
↓ 1 callers
Function
PushManifest
(ctx context.Context, resolver remotes.Resolver, named reference.Named, layers []v1.Descriptor, ociVersion api
internal/oci/push.go:97
↓ 1 callers
Method
Read
(p []byte)
pkg/dryrun/dryrunclient.go:63
↓ 1 callers
Method
Remove
(v T)
pkg/utils/set.go:46
↓ 1 callers
Function
ReplaceEnvFile
ReplaceEnvFile changes value for service.extends.env_file in input yaml stream, preserving formatting
pkg/compose/transform/replace.go:65
↓ 1 callers
Method
RequireEventuallyContains
RequireEventuallyContains is a thread safe eventual checker for the buffer content
pkg/utils/safebuffer.go:65
↓ 1 callers
Function
RootCommand
RootCommand returns the compose command with its child commands
cmd/compose/compose.go:428
↓ 1 callers
Method
RunOneOffContainer
RunOneOffContainer creates a service oneoff container and starts its dependencies
pkg/api/api.go:111
↓ 1 callers
Function
SanitizeFileName
(name string)
pkg/watch/temp_dir_fixture.go:37
↓ 1 callers
Method
Scale
Scale manages numbers of container instances running per service
pkg/api/api.go:141
↓ 1 callers
Method
ServerInfo
ServerInfo mocks base method.
pkg/mocks/mock_docker_cli.go:220
↓ 1 callers
Method
ServerOSType
ServerOSType returns the Docker daemon's operating system (linux/windows/darwin) Used for OS-specific compatibility checks
pkg/api/context.go:27
↓ 1 callers
Function
SetANSIMode
SetANSIMode configure formatter for colored output on ANSI-compliant console
cmd/formatter/colors.go:66
↓ 1 callers
Method
SetModelVariables
(ctx context.Context, project *types.Project)
pkg/compose/model.go:196
↓ 1 callers
Function
Setup
Setup should be called as part of the command's PersistentPreRunE as soon as possible after initializing the dockerCli. It initializes the tracer for
cmd/cmdtrace/cmd_span.go:48
↓ 1 callers
Method
Start
(ctx context.Context, projectName string, options api.StartOptions)
pkg/compose/start.go:31
↓ 1 callers
Method
StatusText
()
pkg/api/event.go:86
↓ 1 callers
Function
StdoutContains
StdoutContains returns a predicate on command result expecting a string in stdout
pkg/e2e/framework.go:405
↓ 1 callers
Method
Stop
(ctx context.Context, projectName string, options api.StopOptions)
pkg/compose/stop.go:27
↓ 1 callers
Method
Stop
()
pkg/compose/watch.go:102
↓ 1 callers
Method
ToMobyHealthCheck
ToMobyHealthCheck convert into container.HealthConfig
pkg/compose/convert.go:43
↓ 1 callers
Function
ToSeconds
ToSeconds convert into seconds
pkg/compose/convert.go:88
↓ 1 callers
Function
ToStandardJSON
ToStandardJSON return a string with the JSON representation of the interface{}
cmd/formatter/json.go:27
↓ 1 callers
Method
ToggleWatch
(ctx context.Context, options api.UpOptions)
cmd/formatter/shortcut.go:286
↓ 1 callers
Method
Top
Top executes the equivalent to a `compose top`
pkg/api/api.go:125
↓ 1 callers
Method
UnPause
UnPause executes the equivalent to a `compose unpause`
pkg/api/api.go:123
↓ 1 callers
Method
Untar
(ctx context.Context, id string, reader io.ReadCloser)
internal/sync/tar.go:49
↓ 1 callers
Method
UpdateStatus
UpdateStatus updates the status of a certain vertex
pkg/compose/dependencies.go:364
↓ 1 callers
Method
VolumeCreate
(ctx context.Context, options client.VolumeCreateOptions)
pkg/dryrun/dryrunclient.go:269
↓ 1 callers
Method
Volumes
(ctx context.Context, project string, options api.VolumesOptions)
pkg/compose/volumes.go:29
↓ 1 callers
Method
Watch
Watch services' development context and sync/notify/rebuild/restart on changes
pkg/api/api.go:135
↓ 1 callers
Function
WithMaxConcurrency
WithMaxConcurrency defines upper limit for concurrent operations against engine API
pkg/compose/compose.go:156
↓ 1 callers
Function
absPatterns
Make all the patterns use absolute paths.
pkg/watch/dockerignore.go:101
↓ 1 callers
Method
actualNetworks
(ctx context.Context, projectName string)
pkg/compose/compose.go:455
↓ 1 callers
Method
actualVolumes
(ctx context.Context, projectName string)
pkg/compose/compose.go:435
← previous
next →
501–600 of 2,102, ranked by callers