Help us shape the future of Go! Take the 2026 Go Developer Survey

taskrun

package
v0.28.8 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: Apache-2.0 Imports: 26 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// SecretPath contains the path to the secrets volume that is mounted in.
	SecretPath = "/etc/signing-secrets"
)

Variables

This section is empty.

Functions

func NewNamespacesScopedController added in v0.22.0

func NewNamespacesScopedController(namespaces []string) func(ctx context.Context, cmw configmap.Watcher) *controller.Impl

NewNamespacesScopedController returns a new controller implementation where informer is filtered given a list of namespaces

Types

type Reconciler

type Reconciler struct {
	TaskRunSigner     signing.Signer
	Pipelineclientset versioned.Interface
}

func (*Reconciler) FinalizeKind added in v0.4.0

func (r *Reconciler) FinalizeKind(ctx context.Context, tr *v1.TaskRun) (result pkgreconciler.Event)

FinalizeKind implements taskrunreconciler.Finalizer We utilize finalizers to ensure that we get a crack at signing 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 sign it.

func (*Reconciler) ReconcileKind

func (r *Reconciler) ReconcileKind(ctx context.Context, tr *v1.TaskRun) pkgreconciler.Event

ReconcileKind handles a changed or created TaskRun. This is the main entrypoint for chains business logic.

Jump to

Keyboard shortcuts

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