taskrun

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

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