config

package
v0.0.0-...-1b27c83 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKnownTrigger

func GetKnownTrigger(check string) string

Types

type Conf

type Conf struct {
	KnownTriggers KnownTriggers `json:"knownTriggers"`
	Repos         Repos         `json:"repos"`
}

func LoadConfig

func LoadConfig() (*Conf, error)

type KnownTriggers

type KnownTriggers map[string]string

type Repo

type Repo struct {
	RequiredChecks []string `json:"requiredChecks"`
}

func GetRepoConfig

func GetRepoConfig(repo string) (*Repo, error)

type Repos

type Repos map[string]Repo

Jump to

Keyboard shortcuts

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