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) job.Brancher
- func ToJobBase(r repoconfig.JobBase) job.Base
- func ToPostsubmit(r repoconfig.Postsubmit) job.Postsubmit
- func ToPresubmit(r repoconfig.Presubmit) job.Presubmit
- func ToRegexpChangeMatcher(r repoconfig.RegexpChangeMatcher) job.RegexpChangeMatcher
- func ToReporter(r repoconfig.Reporter) job.Reporter
- func ToUtilityConfig(r repoconfig.UtilityConfig) job.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) job.Brancher
ToBrancher converts the repo config to the lighthouse config resource
func ToJobBase ¶
func ToJobBase(r repoconfig.JobBase) job.Base
ToJobBase converts the repo config to the lighthouse config resource
func ToPostsubmit ¶
func ToPostsubmit(r repoconfig.Postsubmit) job.Postsubmit
ToPostsubmit converts the repo config to the lighthouse config resource
func ToPresubmit ¶
func ToPresubmit(r repoconfig.Presubmit) job.Presubmit
ToPresubmit converts the repo config to the lighthouse config resource
func ToRegexpChangeMatcher ¶
func ToRegexpChangeMatcher(r repoconfig.RegexpChangeMatcher) job.RegexpChangeMatcher
ToRegexpChangeMatcher converts the repo config to the lighthouse config resource
func ToReporter ¶
func ToReporter(r repoconfig.Reporter) job.Reporter
ToReporter converts the repo config to the lighthouse config resource
func ToUtilityConfig ¶
func ToUtilityConfig(r repoconfig.UtilityConfig) job.UtilityConfig
ToUtilityConfig converts the repo config to the lighthouse config resource
Types ¶
This section is empty.