merge

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CombineConfigs

func CombineConfigs(a, b *triggerconfig.Config) *triggerconfig.Config

CombineConfigs combines the two configurations together from multiple files

func ConfigMerge

func ConfigMerge(cfg *config.Config, pluginsCfg *plugins.Configuration, repoConfig *triggerconfig.Config, 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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