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

Function runUnPause

cmd/compose/pause.go:79–90  ·  view source on GitHub ↗
(ctx context.Context, dockerCli command.Cli, backendOptions *BackendOptions, opts unpauseOptions, services []string)

Source from the content-addressed store, hash-verified

77}
78
79func runUnPause(ctx context.Context, dockerCli command.Cli, backendOptions *BackendOptions, opts unpauseOptions, services []string) error {
80 project, name, err := opts.projectOrName(ctx, dockerCli, services...)
81 if err != nil {
82 return err
83 }
84 return withBackend(dockerCli, backendOptions, func(backend api.Compose) error {
85 return backend.UnPause(ctx, name, api.PauseOptions{
86 Services: services,
87 Project: project,
88 })
89 })
90}

Callers 1

unpauseCommandFunction · 0.85

Calls 3

withBackendFunction · 0.85
projectOrNameMethod · 0.80
UnPauseMethod · 0.65

Tested by

no test coverage detected