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

Method Remove

pkg/api/api.go:113–113  ·  pkg/api/api.go::Compose.Remove

Remove executes the equivalent to a `compose rm`

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

Source from the content-addressed store, hash-verified

111 RunOneOffContainer(ctx context.Context, project *types.Project, opts RunOptions) (int, error)
112 // Remove executes the equivalent to a `compose rm`
113 Remove(ctx context.Context, projectName string, options RemoveOptions) error
114 // Exec executes a command in a running service container
115 Exec(ctx context.Context, projectName string, options RunOptions) (int, error)
116 // Attach STDIN,STDOUT,STDERR to a running service container

Callers 12

TestRemoveFunction · 0.65
TestRemoveAndAddBackFunction · 0.65
TestWatchBrokenLinkFunction · 0.65
TestCopyFunction · 0.65
doTestFunction · 0.65
TestProviderStopHookFunction · 0.65
StartMethod · 0.65
doBuildBakeMethod · 0.65
LockMethod · 0.65
runRemoveFunction · 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 8

TestRemoveFunction · 0.52
TestRemoveAndAddBackFunction · 0.52
TestWatchBrokenLinkFunction · 0.52
TestCopyFunction · 0.52
doTestFunction · 0.52
TestProviderStopHookFunction · 0.52