convox / convox

Unused code SCC-U1000
Bug risk
Major
12 days agoa year old
func (*Provider).ingressSecrets is unused
 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 {
func (*Provider).templateHelpers is unused
 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...)
func handleInterrupt is unused
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
type stackTracer is unused
751	return bss, nil
752}
753
754type stackTracer interface {755	StackTrace() errors.StackTrace
756}
757
func Options2.stopProcess is unused
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}