Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShardProwConfig ¶
func ShardProwConfig(pc *prowconfig.ProwConfig, target afero.Fs, f ShardProwConfigFunctors) (*prowconfig.ProwConfig, error)
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"` }
Click to show internal directories.
Click to hide internal directories.