MCPcopy Index your code
hub / github.com/docker/cli / waitOnServices

Function waitOnServices

cli/command/stack/deploy_composefile.go:304–312  ·  view source on GitHub ↗
(ctx context.Context, dockerCli command.Cli, serviceIDs []string, quiet bool)

Source from the content-addressed store, hash-verified

302}
303
304func waitOnServices(ctx context.Context, dockerCli command.Cli, serviceIDs []string, quiet bool) error {
305 var errs []error
306 for _, serviceID := range serviceIDs {
307 if err := service.WaitOnService(ctx, dockerCli, serviceID, quiet); err != nil {
308 errs = append(errs, fmt.Errorf("%s: %w", serviceID, err))
309 }
310 }
311 return errors.Join(errs...)
312}

Callers 1

deployComposeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…