workflowrun

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionWorkflowRunning   controller.ConditionType = "WorkflowRunning"
	ConditionWorkflowFailed    controller.ConditionType = "WorkflowFailed"
	ConditionWorkflowSucceeded controller.ConditionType = "WorkflowSucceeded"
	ConditionWorkflowCompleted controller.ConditionType = "WorkflowCompleted"
)
View Source
const (
	ReasonWorkflowPending               controller.ConditionReason = "WorkflowPending"
	ReasonWorkflowRunning               controller.ConditionReason = "WorkflowRunning"
	ReasonWorkflowSucceeded             controller.ConditionReason = "WorkflowSucceeded"
	ReasonWorkflowFailed                controller.ConditionReason = "WorkflowFailed"
	ReasonWorkflowPlaneNotFound         controller.ConditionReason = "WorkflowPlaneNotFound"
	ReasonWorkflowPlaneResolutionFailed controller.ConditionReason = "WorkflowPlaneResolutionFailed"
	ReasonWorkflowResolutionFailed      controller.ConditionReason = "WorkflowResolutionFailed"
	ReasonComponentValidationFailed     controller.ConditionReason = "ComponentValidationFailed"
)
View Source
const (
	// WorkflowRunCleanupFinalizer is the finalizer used to clean up workflow plane resources.
	WorkflowRunCleanupFinalizer = "openchoreo.dev/workflowrun-cleanup"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client
	Scheme              *runtime.Scheme
	PlaneClientProvider kubernetesClient.WorkflowPlaneClientProvider

	// Pipeline is the workflow rendering pipeline, shared across all reconciliations.
	// This enables CEL environment caching across different workflow runs and reconciliations.
	Pipeline *workflowpipeline.Pipeline
}

Reconciler reconciles a WorkflowRun object

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, rErr error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. nolint:gocyclo

func (*Reconciler) SetupWithManager

func (r *Reconciler) 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