MCPcopy Create free account

hub / github.com/docker/compose / functions

Functions2,102 in github.com/docker/compose

↓ 149 callersMethodRunDockerComposeCmd
RunDockerComposeCmd runs a docker compose command, expects no error and returns a result
pkg/e2e/framework.go:361
↓ 120 callersFunctionNewParallelCLI
NewParallelCLI marks the parent test as parallel and returns a CLI instance suitable for usage across child tests.
pkg/e2e/framework.go:89
↓ 87 callersMethodapiClient
()
pkg/compose/compose.go:234
↓ 78 callersFunctionNewComposeService
NewComposeService creates a Compose service using Docker CLI. This is the standard constructor that requires command.Cli for full functionality. Exam
pkg/compose/compose.go:66
↓ 61 callersMethodTempDir
(prefix string)
pkg/watch/temp_dir_fixture.go:174
↓ 56 callersMethodWriteFile
Returns the full path to the file written.
pkg/watch/temp_dir_fixture.go:103
↓ 49 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/mocks/mock_docker_cli.go:46
↓ 47 callersMethodAdd
(v T)
pkg/utils/set.go:36
↓ 45 callersFunctionNewCLI
NewCLI creates a CLI instance for running E2E tests.
pkg/e2e/framework.go:96
↓ 44 callersMethodClose
Stop watching and close all channels
pkg/watch/notify.go:43
↓ 44 callersMethodOn
On notify about (sub)task and progress processing operation
pkg/api/event.go:104
↓ 44 callersMethodRunDockerCmd
RunDockerCmd runs a docker command, expects no error and returns a result
pkg/e2e/framework.go:353
↓ 42 callersMethodError
()
pkg/compose/executor_test.go:259
↓ 41 callersMethodRunDockerComposeCmdNoCheck
RunDockerComposeCmdNoCheck runs a docker compose command, don't presume of any expectation and returns a result
pkg/e2e/framework.go:369
↓ 40 callersMethodcleanupWithDown
(t testing.TB, project string, args ...string)
pkg/e2e/framework.go:516
↓ 39 callersMethodOut
Out mocks base method.
pkg/mocks/mock_docker_cli.go:192
↓ 38 callersMethodLock
()
internal/locker/pidfile_unix.go:27
↓ 37 callersFunctionAdapt
Adapt a Command func to cobra library
cmd/compose/compose.go:134
↓ 37 callersMethodWait
Wait blocks until at least one of the services' container exits
pkg/api/api.go:139
↓ 36 callersMethodNewDockerComposeCmd
NewDockerComposeCmd creates a command object for Compose, either in plugin or standalone mode (based on build tags).
pkg/e2e/framework.go:379
↓ 35 callersMethodString
String renders the plan as a human-readable graph for testing and debugging. Format per line: [dep1,dep2] -> #id resource, operation, cause [group]
pkg/compose/plan.go:146
↓ 34 callersFunctionWithEnv
WithEnv sets environment variables that will be passed to commands.
pkg/e2e/framework.go:117
↓ 30 callersFunctioncompleteServiceNames
(dockerCli command.Cli, p *ProjectOptions)
cmd/compose/completion.go:39
↓ 30 callersFunctionprojectFilter
(projectName string)
pkg/compose/filters.go:33
↓ 28 callersMethodRunCmd
RunCmd runs a command, expects no error and returns a result
pkg/e2e/framework.go:331
↓ 28 callersFunctionnewEvent
newEvent new event
pkg/compose/progress.go:115
↓ 27 callersMethodContainerList
(ctx context.Context, options client.ContainerListOptions)
pkg/dryrun/dryrunclient.go:141
↓ 27 callersFunctionNewMockCli
NewMockCli creates a new mock instance.
pkg/mocks/mock_docker_cli.go:39
↓ 25 callersFunctionreconcile
reconcile is the main entry point: it builds a Plan from desired vs observed state. The prompt function is reserved for future interactive decisions (
pkg/compose/reconcile.go:112
↓ 24 callersMethodErr
(containerName, message string)
pkg/api/api.go:706
↓ 24 callersFunctiondefaultReconcileOptions
()
pkg/compose/reconcile_test.go:35
↓ 23 callersMethodClient
Client mocks base method.
pkg/mocks/mock_docker_cli.go:66
↓ 23 callersMethodString
()
cmd/display/spinner.go:51
↓ 22 callersMethodString
()
pkg/api/api.go:501
↓ 22 callersMethodgetContainers
(ctx context.Context, project string, oneOff oneOff, all bool, selectedServices ...string)
pkg/compose/containers.go:45
↓ 22 callersFunctionnewNotifyFixture
(t *testing.T)
pkg/watch/notify_test.go:501
↓ 20 callersMethodToProject
(ctx context.Context, dockerCli command.Cli, backend api.Compose, services []string)
cmd/compose/config.go:66
↓ 20 callersMethodassertEvents
(expected ...string)
pkg/watch/notify_test.go:540
↓ 20 callersFunctionintPtr
(i int)
pkg/compose/convergence_test.go:60
↓ 19 callersMethodDir
(path string)
pkg/remote/git.go:133
↓ 19 callersMethodLog
(containerName, message string)
pkg/api/api.go:705
↓ 19 callersFunctionRun
(ctx context.Context, pf progressFunc, operation string, bus api.EventProcessor)
pkg/compose/progress.go:28
↓ 18 callersMethodContainerInspect
(ctx context.Context, container string, options client.ContainerInspectOptions)
pkg/dryrun/dryrunclient.go:109
↓ 18 callersMethodwatch
(path string)
pkg/watch/notify_test.go:516
↓ 17 callersMethodContainerRemove
(ctx context.Context, container string, options client.ContainerRemoveOptions)
pkg/dryrun/dryrunclient.go:166
↓ 17 callersMethodDone
Done is triggered as a Compose operation completed
pkg/api/event.go:106
↓ 17 callersMethodaddNode
addNode appends a new node to the plan and returns it.
pkg/compose/plan.go:125
↓ 16 callersFunctionGetImageNameOrDefault
GetImageNameOrDefault computes the default image name for a service, used to tag built images
pkg/api/api.go:756
↓ 16 callersMethodNetworkList
(ctx context.Context, options client.NetworkListOptions)
pkg/dryrun/dryrunclient.go:452
↓ 16 callersMethodRunDockerOrExitError
RunDockerOrExitError runs a docker command and returns a result
pkg/e2e/framework.go:324
↓ 16 callersFunctionprepareMocks
(mockCtrl *gomock.Controller)
pkg/compose/down_test.go:416
↓ 15 callersMethodBytes
Bytes is a thread safe version of bytes.Buffer::Bytes
pkg/utils/safebuffer.go:58
↓ 15 callersMethodContainerCreate
(ctx context.Context, options client.ContainerCreateOptions)
pkg/dryrun/dryrunclient.go:96
↓ 15 callersMethodImageInspect
(ctx context.Context, imageName string, options ...client.ImageInspectOption)
pkg/dryrun/dryrunclient.go:207
↓ 15 callersMethodfilter
filter return Containers with elements to match predicate
pkg/compose/containers.go:170
↓ 15 callersMethodfsync
()
pkg/watch/notify_test.go:582
↓ 15 callersFunctiongetCanonicalContainerName
(c container.Summary)
pkg/compose/compose.go:332
↓ 14 callersMethodJoinPath
(path ...string)
pkg/watch/temp_dir_fixture.go:79
↓ 14 callersMethodMkdirAll
(path string)
pkg/watch/temp_dir_fixture.go:148
↓ 14 callersFunctionNewMockAPIClient
NewMockAPIClient creates a new mock instance.
pkg/mocks/mock_docker_api.go:34
↓ 14 callersMethodVolumeList
(ctx context.Context, opts client.VolumeListOptions)
pkg/dryrun/dryrunclient.go:608
↓ 14 callersFunctiongetContainerProgressName
(ctr container.Summary)
pkg/compose/convergence.go:133
↓ 14 callersFunctiontestContainer
(service string, id string, oneOff bool)
pkg/compose/kill_test.go:112
↓ 13 callersMethodIsEmpty
IsEmpty returns true if the plan contains no operations.
pkg/compose/plan.go:174
↓ 13 callersFunctionisService
(services ...string)
pkg/compose/containers.go:138
↓ 12 callersMethodContainerLogs
(ctx context.Context, container string, options client.ContainerLogsOptions)
pkg/dryrun/dryrunclient.go:352
↓ 12 callersMethodCopy
Copy copies a file/folder between a service container and the local filesystem
pkg/api/api.go:119
↓ 12 callersMethodKill
Kill executes the equivalent to a `compose kill`
pkg/api/api.go:109
↓ 12 callersMethodLoadProject
LoadProject loads and validates a Compose project from configuration files.
pkg/api/api.go:151
↓ 12 callersMethodRemove
Remove executes the equivalent to a `compose rm`
pkg/api/api.go:113
↓ 12 callersFunctionhandleHook
(ctx context.Context, args []string, w io.Writer)
cmd/compose/hooks.go:174
↓ 12 callersMethodprojectOrName
(ctx context.Context, dockerCli command.Cli, services ...string)
cmd/compose/compose.go:246
↓ 11 callersMethodContainerStop
(ctx context.Context, container string, options client.ContainerStopOptions)
pkg/dryrun/dryrunclient.go:182
↓ 11 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/mocks/mock_docker_api.go:41
↓ 11 callersMethodName
()
pkg/compose/build_bake.go:469
↓ 11 callersMethodRemoveAll
(elements ...T)
pkg/utils/set.go:54
↓ 11 callersFunctionerrorEvent
errorEvent creates a new Error Resource with message
pkg/compose/progress.go:36
↓ 11 callersFunctionlenAnsi
lenAnsi count of user-perceived characters in ANSI string.
cmd/display/tty.go:677
↓ 10 callersMethodContainerStart
(ctx context.Context, container string, options client.ContainerStartOptions)
pkg/dryrun/dryrunclient.go:178
↓ 10 callersMethodReadFile
Read the file.
pkg/watch/temp_dir_fixture.go:127
↓ 10 callersMethodconfigFile
()
pkg/compose/compose.go:238
↓ 10 callersMethodrunPreStart
runPreStart executes the service's pre_start hooks sequentially, in declared order. Each hook runs as an ephemeral container that shares the service c
pkg/compose/pre_start.go:60
↓ 10 callersMethodstdout
()
pkg/compose/compose.go:258
↓ 10 callersMethodtoProjectName
(ctx context.Context, dockerCli command.Cli)
cmd/compose/compose.go:269
↓ 9 callersMethodAdd
(option compose.Option)
cmd/compose/compose.go:423
↓ 9 callersMethodContainerWait
(ctx context.Context, container string, options client.ContainerWaitOptions)
pkg/dryrun/dryrunclient.go:376
↓ 9 callersMethodDown
Down executes the equivalent to a `compose down`
pkg/api/api.go:101
↓ 9 callersMethodLen
Len implements sort.Interface
pkg/api/api.go:567
↓ 9 callersMethodStart
Start executes the equivalent to a `compose start`
pkg/api/api.go:93
↓ 9 callersMethodStop
()
cmd/formatter/shortcut.go:82
↓ 9 callersFunctionanyCancellableContext
()
pkg/compose/kill_test.go:140
↓ 9 callersFunctionmarshalHookData
(t *testing.T, data hooks.Request)
cmd/compose/hooks_test.go:329
↓ 9 callersFunctionmustServiceHash
--- Helpers ---
pkg/compose/reconcile_test.go:909
↓ 9 callersFunctionnewPreStartTestService
(t *testing.T)
pkg/compose/pre_start_test.go:36
↓ 8 callersFunctionAdaptCmd
AdaptCmd adapt a CobraCommand func to cobra library
cmd/compose/compose.go:107
↓ 8 callersMethodClientVersion
()
pkg/dryrun/dryrunclient.go:620
↓ 8 callersMethodConfigFile
ConfigFile mocks base method.
pkg/mocks/mock_docker_cli.go:80
↓ 8 callersFunctionCopyFile
CopyFile copies a file from a sourceFile to a destinationFile setting permissions to 0755
pkg/e2e/framework.go:247
↓ 8 callersMethodIn
In mocks base method.
pkg/mocks/mock_docker_cli.go:164
↓ 8 callersMethodNetworkInspect
(ctx context.Context, networkName string, options client.NetworkInspectOptions)
pkg/dryrun/dryrunclient.go:448
next →1–100 of 2,102, ranked by callers