prow/cmd/deck/main.go
func localOnlyMain(cfg config.Getter, o options, mux *http.ServeMux) *http.ServeMux {
	mux.Handle("/github-login", gziphandler.GzipHandler(handleSimpleTemplate(o, cfg, "github-login.html", nil)))

	if o.spyglass {
		initSpyglass(cfg, o, mux, nil)
	}

	return mux
}
func localOnlyMain(cfg config.Getter, o options, mux *http.ServeMux) *http.ServeMux {
	mux.Handle("/github-login", gziphandler.GzipHandler(handleSimpleTemplate(o, cfg, "github-login.html", nil)))

	if o.spyglass {
		initSpyglass(cfg, o, mux, nil)
	}

	return mux
}
func localOnlyMain ( cfg config . Getter , o options , mux * http . ServeMux ) * http . ServeMux { mux . Handle ( " " , gziphandler . GzipHandler ( handleSimpleTemplate ( o , cfg , " " , nil ) ) ) if o . spyglass { initSpyglass ( cfg , o , mux , nil ) } return mux }
// localOnlyMain contains logic used only when running locally, and is mutually exclusive with
// prodOnlyMain.
localOnlyMain contains logic used only when running locally and is mutually exclusive with prodOnlyMain .