prow/plugins/plugins.go
func (pa *ConfigAgent) ReviewEventHandlers(owner, repo string) map[string]ReviewEventHandler {
	pa.mut.Lock()
	defer pa.mut.Unlock()

	hs := map[string]ReviewEventHandler{}
	for _, p := range pa.getPlugins(owner, repo) {
		if h, ok := reviewEventHandlers[p]; ok {
			hs[p] = h
		}
	}

	return hs
}
func (pa *ConfigAgent) ReviewEventHandlers(owner, repo string) map[string]ReviewEventHandler {
	pa.mut.Lock()
	defer pa.mut.Unlock()

	hs := map[string]ReviewEventHandler{}
	for _, p := range pa.getPlugins(owner, repo) {
		if h, ok := reviewEventHandlers[p]; ok {
			hs[p] = h
		}
	}

	return hs
}
func ( pa * ConfigAgent ) ReviewEventHandlers ( owner , repo string ) map [ string ] ReviewEventHandler { pa . mut . Lock ( ) defer pa . mut . Unlock ( ) hs := map [ string ] ReviewEventHandler { } for _ , p := range pa . getPlugins ( owner , repo ) { if h , ok := reviewEventHandlers [ p ] ; ok { hs [ p ] = h } } return hs }
// ReviewEventHandlers returns a map of plugin names to handlers for the repo.
ReviewEventHandlers returns a map of plugin names to handlers for the repo .