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

Method Down

pkg/api/api.go:101–101  ·  pkg/api/api.go::Compose.Down

Down executes the equivalent to a `compose down`

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

Source from the content-addressed store, hash-verified

99 Up(ctx context.Context, project *types.Project, options UpOptions) error
100 // Down executes the equivalent to a `compose down`
101 Down(ctx context.Context, projectName string, options DownOptions) error
102 // Logs executes the equivalent to a `compose logs`
103 Logs(ctx context.Context, projectName string, consumer LogConsumer, options LogOptions) error
104 // Ps executes the equivalent to a `compose ps`

Callers 9

TestDownFunction · 0.65
TestDownRemoveOrphansFunction · 0.65
TestDownRemoveVolumesFunction · 0.65
TestDownRemoveImagesFunction · 0.65
runDownFunction · 0.65
moveCursorDownFunction · 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 7

TestDownFunction · 0.52
TestDownRemoveOrphansFunction · 0.52
TestDownRemoveVolumesFunction · 0.52
TestDownRemoveImagesFunction · 0.52