prow/pluginhelp/hook/hook.go
func orgsInConfig(config *plugins.Configuration) sets.String {
	orgs := sets.NewString()
	for repo := range config.Plugins {
		if !strings.Contains(repo, "/") {
			orgs.Insert(repo)
		}
	}
	for repo := range config.ExternalPlugins {
		if !strings.Contains(repo, "/") {
			orgs.Insert(repo)
		}
	}
	return orgs
}
func orgsInConfig(config *plugins.Configuration) sets.String {
	orgs := sets.NewString()
	for repo := range config.Plugins {
		if !strings.Contains(repo, "/") {
			orgs.Insert(repo)
		}
	}
	for repo := range config.ExternalPlugins {
		if !strings.Contains(repo, "/") {
			orgs.Insert(repo)
		}
	}
	return orgs
}
func orgsInConfig ( config * plugins . Configuration ) sets . String { orgs := sets . NewString ( ) for repo := range config . Plugins { if ! strings . Contains ( repo , " " ) { orgs . Insert ( repo ) } } for repo := range config . ExternalPlugins { if ! strings . Contains ( repo , " " ) { orgs . Insert ( repo ) } } return orgs }
// orgsInConfig gets all the org strings (not org/repo) in config.Plugins and config.ExternalPlugins.
orgsInConfig gets all the org strings ( not org / repo ) in config . Plugins and config . ExternalPlugins .