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

Method Pause

pkg/api/api.go:121–121  ·  view source on GitHub ↗

Pause executes the equivalent to a `compose pause`

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

Source from the content-addressed store, hash-verified

119 Copy(ctx context.Context, projectName string, options CopyOptions) error
120 // Pause executes the equivalent to a `compose pause`
121 Pause(ctx context.Context, projectName string, options PauseOptions) error
122 // UnPause executes the equivalent to a `compose unpause`
123 UnPause(ctx context.Context, projectName string, options PauseOptions) error
124 // Top executes the equivalent to a `compose top`

Callers 1

runPauseFunction · 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

no test coverage detected