Documentation
¶
Overview ¶
Package controller reconciles finished review PipelineRuns and publishes their results as pull request comments.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PipelineRunReconciler ¶
type PipelineRunReconciler struct {
// contains filtered or unexported fields
}
PipelineRunReconciler publishes finished review PipelineRun results to pull requests.
func NewPipelineRunReconciler ¶
func NewPipelineRunReconciler( client ctrlClient.Client, reader ctrlClient.Reader, logCollector *collector.Collector, commentFormatter *formatter.Formatter, newProvider ProviderFactory, config *reporter.Config, ) *PipelineRunReconciler
NewPipelineRunReconciler creates the reconciler.
func (*PipelineRunReconciler) Reconcile ¶
func (r *PipelineRunReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile publishes the PipelineRun result to its pull request exactly once.
func (*PipelineRunReconciler) SetupWithManager ¶
func (r *PipelineRunReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager registers the reconciler for finished review PipelineRuns.
Click to show internal directories.
Click to hide internal directories.