(configs []string)
| 604 | } |
| 605 | |
| 606 | func buildConfigContentPromptMessage(configs []string) string { |
| 607 | var b strings.Builder |
| 608 | b.WriteString("you are about to publish literal inline config content within your OCI artifact.\n") |
| 609 | for _, name := range configs { |
| 610 | fmt.Fprintf(&b, " config %q\n", name) |
| 611 | } |
| 612 | b.WriteString("Are you ok to publish these config contents?") |
| 613 | return b.String() |
| 614 | } |
| 615 | |
| 616 | // loadUnresolvedFile loads a single compose file with interpolation and |
| 617 | // environment resolution skipped, so callers can inspect raw user-provided |
no test coverage detected