concurrency

package
v0.0.0-...-8ee384e Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "concurrency-controller"
)

Variables

This section is empty.

Functions

func Matches

Matches returns true if the PipelineRun is selected by the ConcurrencyControl's selector. An empty selector always matches the PipelineRun.

func NewController

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

Types

type Reconciler

type Reconciler struct {
	ConcurrencyControlLister listersv1alpha1.ConcurrencyControlLister
	PipelineClientSet        clientset.Interface
	PipelineRunLister        listers.PipelineRunLister
}

Reconciler implements controller.Reconciler

func (*Reconciler) ReconcileKind

func (r *Reconciler) ReconcileKind(ctx context.Context, pr *v1beta1.PipelineRun) pkgreconciler.Event

ReconcileKind reconciles PipelineRuns

Jump to

Keyboard shortcuts

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