MCPcopy
hub / github.com/docker/compose / Stop

Method Stop

pkg/api/api.go:97–97  ·  pkg/api/api.go::Compose.Stop

Stop executes the equivalent to a `compose stop`

(ctx context.Context, projectName string, options StopOptions)

Source from the content-addressed store, hash-verified

95 Restart(ctx context.Context, projectName string, options RestartOptions) error
96 // Stop executes the equivalent to a `compose stop`
97 Stop(ctx context.Context, projectName string, options StopOptions) error
98 // Up executes the equivalent to a `compose up`
99 Up(ctx context.Context, project *types.Project, options UpOptions) error
100 // Down executes the equivalent to a `compose down`

Callers 6

BatchDebounceEventsFunction · 0.65
CloseMethod · 0.65
UpMethod · 0.65
TestStopTimeoutFunction · 0.65
waitDependenciesMethod · 0.65
RunOneOffContainerMethod · 0.65

Implementers 3

MockComposepkg/mocks/mock_docker_compose_api.go
MockComposeMockRecorderpkg/mocks/mock_docker_compose_api.go
composeServicepkg/compose/compose.go

Calls

no outgoing calls

Tested by 1

TestStopTimeoutFunction · 0.52