merge

package
v0.0.802 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CombineConfigs

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

func RemoveStringArrayAtIndex(s []string, index int) []string

RemoveStringArrayAtIndex removes an item at a given index

func StringArrayIndex

func StringArrayIndex(array []string, value string) int

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL