Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(ctx context.Context, resultsClient pb.ResultsClient, cmw configmap.Watcher) *controller.Impl
NewController creates a Controller for watching PipelineRuns.
func NewControllerWithConfig ¶
func NewControllerWithConfig(ctx context.Context, resultsClient pb.ResultsClient, cfg *reconciler.Config, cmw configmap.Watcher) *controller.Impl
NewControllerWithConfig creates a Controller for watching PipelineRuns by config.
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler represents pipelineRun watcher logic
func (*Reconciler) FinalizeKind ¶ added in v0.12.0
func (r *Reconciler) FinalizeKind(ctx context.Context, pr *pipelinev1.PipelineRun) knativereconciler.Event
FinalizeKind implements pipelinerunreconciler.Finalizer We utilize finalizers to ensure that we get a crack at storing every pipelinerun that we see flowing through the system. If we don't add a finalizer, it could get cleaned up before we see the final state and store it.
func (*Reconciler) ReconcileKind ¶ added in v0.12.0
func (r *Reconciler) ReconcileKind(ctx context.Context, pr *pipelinev1.PipelineRun) knativereconciler.Event
ReconcileKind makes new watcher reconcile cycle to handle PipelineRun.
Click to show internal directories.
Click to hide internal directories.