36 Value interface{} `json:"value"`
37}
38
39func (p *Provider) ingressSecrets(a *structs.App, ss manifest.Services) (map[string]string, error) { 40 domains := map[string]bool{}
41
42 for i := range ss {
7 "github.com/convox/convox/pkg/common"
8)
9
10func (p *Provider) templateHelpers() template.FuncMap {11 return template.FuncMap{
12 "coalesce": func(ss ...string) string {
13 return common.CoalesceString(ss...)
48 return prefix.NewWriter(w, prefixes)
49}
50
51func handleInterrupt(fn func()) {52 ch := make(chan os.Signal, 1)
53 signal.Notify(ch, os.Interrupt, os.Kill)
54 <-ch
751 return bss, nil
752}
753
754type stackTracer interface {755 StackTrace() errors.StackTrace
756}
757
401 return opts.Provider.FilesDelete(opts.App, pid, changes.Files(removes))
402}
403
404func (opts Options2) stopProcess(pid string, wg *sync.WaitGroup) {405 defer wg.Done()
406 opts.Provider.ProcessStop(opts.App, pid)
407}
It is recommended to keep the codebase clean by removing unused code.
This part of the code has not been used anywhere in the project and is not exported. Maybe it was mistakenly left behind while refactoring or was intended to be used somewhere but remained unused by mistake.