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 TaskRuns.
func NewControllerWithConfig ¶
func NewControllerWithConfig(ctx context.Context, resultsClient pb.ResultsClient, cfg *reconciler.Config, cmw configmap.Watcher) *controller.Impl
NewControllerWithConfig creates a Controller for watching TaskRuns by config.
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler represents taskRun watcher logic
func (*Reconciler) FinalizeKind ¶ added in v0.12.0
func (r *Reconciler) FinalizeKind(ctx context.Context, tr *pipelinev1.TaskRun) knativereconciler.Event
FinalizeKind implements pipelinerunreconciler.Finalizer We utilize finalizers to ensure that we get a crack at storing every taskrun 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, tr *pipelinev1.TaskRun) knativereconciler.Event
ReconcileKind makes new watcher reconcile cycle to handle TaskRun.
Click to show internal directories.
Click to hide internal directories.