controllers

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FIELD_MANAGER           = "pipelinetrigger-controller"
	PULLREQUEST_KIND_NAME   = "PullRequest"
	IMAGEPOLICY_KIND_NAME   = "ImagePolicy"
	GITREPOSITORY_KIND_NAME = "GitRepository"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PipelineTriggerReconciler

type PipelineTriggerReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme

	MetricsRecorder *metricsApi.Recorder
	// contains filtered or unexported fields
}

PipelineTriggerReconciler reconciles a PipelineTrigger object

func (*PipelineTriggerReconciler) Reconcile

`Reconcile` will be in charge of reconciling the state of PipelineTriggers. PipelineTriggers are used to manage PipelineRuns, which are created whenever the Source defined in the PipelineTrigger is updated. When the Source detects new version, a new Tekton PipelineRun starts

func (*PipelineTriggerReconciler) SetupWithManager

func (r *PipelineTriggerReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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