config

package
v0.0.0-...-95f6ed8 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	GetReposToQuery(server string) []string
	GetConfiguredServers() []string
	GetBotAccounts() []string
	GetHiddenLabels() []string
	GetMaxAgeOfPRs() int
	GetMaxNumberOfPRs() int
	SaveToDefaultLocation() error
	SaveToFile(path string) error
}

Config defines repos to watch.

func Load

func Load(reader io.Reader) (Config, error)

func LoadFromDefaultLocation

func LoadFromDefaultLocation() (Config, error)

func LoadFromFile

func LoadFromFile(path string) (Config, error)

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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