Documentation ¶
Index ¶
- func CombineConfigs(a, b *repoconfig.RepositoryConfig) *repoconfig.RepositoryConfig
- func ConfigMerge(cfg *config.Config, pluginsCfg *plugins.Configuration, ...) error
- func RemoveStringArrayAtIndex(s []string, index int) []string
- func StringArrayIndex(array []string, value string) int
- func ToApprove(r *repoconfig.Approve, repoKey string) plugins.Approve
- func ToBrancher(r repoconfig.Brancher) config.Brancher
- func ToJobBase(r repoconfig.JobBase) config.JobBase
- func ToPostsubmit(r repoconfig.Postsubmit) config.Postsubmit
- func ToPresubmit(r repoconfig.Presubmit) config.Presubmit
- func ToRegexpChangeMatcher(r repoconfig.RegexpChangeMatcher) config.RegexpChangeMatcher
- func ToReporter(r repoconfig.Reporter) config.Reporter
- func ToUtilityConfig(r repoconfig.UtilityConfig) config.UtilityConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombineConfigs ¶
func CombineConfigs(a, b *repoconfig.RepositoryConfig) *repoconfig.RepositoryConfig
CombineConfigs combines the two configurations together from multiple files
func ConfigMerge ¶
func ConfigMerge(cfg *config.Config, pluginsCfg *plugins.Configuration, repoConfig *repoconfig.RepositoryConfig, repoOwner string, repoName string) error
ConfigMerge merges the repository configuration into the global configuration
func RemoveStringArrayAtIndex ¶
RemoveStringArrayAtIndex removes an item at a given index
func StringArrayIndex ¶
StringArrayIndex returns the index in the slice which equals the given value
func ToApprove ¶
func ToApprove(r *repoconfig.Approve, repoKey string) plugins.Approve
ToApprove converts the repo config to the lighthouse config resource
func ToBrancher ¶
func ToBrancher(r repoconfig.Brancher) config.Brancher
ToBrancher converts the repo config to the lighthouse config resource
func ToJobBase ¶
func ToJobBase(r repoconfig.JobBase) config.JobBase
ToJobBase converts the repo config to the lighthouse config resource
func ToPostsubmit ¶
func ToPostsubmit(r repoconfig.Postsubmit) config.Postsubmit
ToPostsubmit converts the repo config to the lighthouse config resource
func ToPresubmit ¶
func ToPresubmit(r repoconfig.Presubmit) config.Presubmit
ToPresubmit converts the repo config to the lighthouse config resource
func ToRegexpChangeMatcher ¶
func ToRegexpChangeMatcher(r repoconfig.RegexpChangeMatcher) config.RegexpChangeMatcher
ToRegexpChangeMatcher converts the repo config to the lighthouse config resource
func ToReporter ¶
func ToReporter(r repoconfig.Reporter) config.Reporter
ToReporter converts the repo config to the lighthouse config resource
func ToUtilityConfig ¶
func ToUtilityConfig(r repoconfig.UtilityConfig) config.UtilityConfig
ToUtilityConfig converts the repo config to the lighthouse config resource
Types ¶
This section is empty.