taskrun

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 17 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 NewController

func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl

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) 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