shardprowconfig

package
v0.0.0-...-3e092da Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type ProwConfigWithPointers

type ProwConfigWithPointers struct {
	BranchProtection     *prowconfig.BranchProtection     `json:"branch-protection,omitempty"`
	Tide                 *TideConfig                      `json:"tide,omitempty"`
	SlackReporterConfigs *prowconfig.SlackReporterConfigs `json:"slack_reporter_configs,omitempty"`
}

prowConfigWithPointers mimics the upstream prowConfig but has pointer fields only in order to avoid serializing empty structs.

type ShardProwConfigFunctors

type ShardProwConfigFunctors interface {
	ModifyQuery(*prowconfig.TideQuery, string)
	GetDataFromProwConfig(*prowconfig.ProwConfig)
}

type TideConfig

type TideConfig struct {
	MergeType map[string]types.PullRequestMergeType `json:"merge_method,omitempty"`
	Queries   prowconfig.TideQueries                `json:"queries,omitempty"`
}

Jump to

Keyboard shortcuts

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