Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "concurrency-controller"
)
Variables ¶
This section is empty.
Functions ¶
func Matches ¶
func Matches(pr *v1beta1.PipelineRun, cc *v1alpha1.ConcurrencyControl) bool
Matches returns true if the PipelineRun is selected by the ConcurrencyControl's selector. An empty selector always matches the PipelineRun.
func NewController ¶
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
Click to show internal directories.
Click to hide internal directories.