(ctx context.Context, dockerCli command.Cli, opts configOptions, services []string)
| 502 | } |
| 503 | |
| 504 | func runConfigImages(ctx context.Context, dockerCli command.Cli, opts configOptions, services []string) error { |
| 505 | backend, err := compose.NewComposeService(dockerCli) |
| 506 | if err != nil { |
| 507 | return err |
| 508 | } |
| 509 | |
| 510 | project, err := opts.ToProject(ctx, dockerCli, backend, services) |
| 511 | if err != nil { |
| 512 | return err |
| 513 | } |
| 514 | |
| 515 | for _, s := range project.Services { |
| 516 | _, _ = fmt.Fprintln(dockerCli.Out(), api.GetImageNameOrDefault(s, project.Name)) |
| 517 | } |
| 518 | return nil |
| 519 | } |
| 520 | |
| 521 | func runVariables(ctx context.Context, dockerCli command.Cli, opts configOptions, services []string) error { |
| 522 | opts.noInterpolate = true |
no test coverage detected