config

package
v0.0.0-...-e71f8c3 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JobConfigs []JobConfig

Functions

This section is empty.

Types

type Config

type Config struct {
	JobConfigs []JobConfig `yaml:"jobConfigs"`
}

Config contains all job configs for flaky tests reporting

type JobConfig

type JobConfig struct {
	Name          string         `yaml:"name"` // name of job to analyze
	Org           string         `yaml:"org"`  // org to test job on
	Repo          string         `yaml:"repo"` // repository to test job on
	Type          string         `yaml:"type"`
	IssueRepo     string         `yaml:"issueRepo,omitempty"`
	SlackChannels []SlackChannel `yaml:"slackChannels,omitempty"`
}

JobConfig is initial configuration for a given repo, defines which job to scan

type SlackChannel

type SlackChannel struct {
	Name     string `yaml:"name"`
	Identity string `yaml:"identity"`
}

SlackChannel contains Slack channels info

Jump to

Keyboard shortcuts

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