statusreconciler

package
v0.0.0-...-37c3036 Latest Latest
Warning

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

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

Documentation

Overview

Package statusreconciler ensures that changes to required presubmits do not cause PRs in flight to get stuck in the merge queue

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller reconciles statuses on PRs when config changes impact blocking presubmits

func NewController

func NewController(continueOnError bool, addedPresubmitDenylist, addedPresubmitDenylistAll sets.Set[string], opener io.Opener, configOpts configflagutil.ConfigOptions, statusURI string, prowJobClient prowv1.ProwJobInterface, githubClient github.Client, pluginAgent *plugins.ConfigAgent) *Controller

NewController constructs a new controller to reconcile stauses on config change

func (*Controller) Run

func (c *Controller) Run(ctx context.Context)

Run monitors the incoming configuration changes to determine when statuses need to be reconciled on PRs in flight when blocking presubmits change

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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