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

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

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

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

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