Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConditionWorkflowRunning controller.ConditionType = "WorkflowRunning" ConditionWorkflowFailed controller.ConditionType = "WorkflowFailed" ConditionWorkflowSucceeded controller.ConditionType = "WorkflowSucceeded" ConditionWorkflowCompleted controller.ConditionType = "WorkflowCompleted" ConditionWorkloadUpdated controller.ConditionType = "WorkloadUpdated" )
View Source
const ( ReasonWorkflowPending controller.ConditionReason = "WorkflowPending" ReasonWorkflowRunning controller.ConditionReason = "WorkflowRunning" ReasonWorkflowSucceeded controller.ConditionReason = "WorkflowSucceeded" ReasonWorkflowFailed controller.ConditionReason = "WorkflowFailed" ReasonWorkloadUpdated controller.ConditionReason = "WorkloadUpdated" ReasonWorkloadUpdateFailed controller.ConditionReason = "WorkloadUpdateFailed" ReasonSecretResolutionError controller.ConditionReason = "SecretResolutionError" ReasonWorkflowNotAllowed controller.ConditionReason = "WorkflowNotAllowed" ReasonComponentWorkflowNotFound controller.ConditionReason = "ComponentWorkflowNotFound" ReasonComponentTypeNotFound controller.ConditionReason = "ComponentTypeNotFound" ReasonComponentNotFound controller.ConditionReason = "ComponentNotFound" ReasonBuildPlaneNotFound controller.ConditionReason = "BuildPlaneNotFound" ReasonBuildPlaneResolutionFailed controller.ConditionReason = "BuildPlaneResolutionFailed" )
View Source
const (
// ComponentWorkflowRunCleanupFinalizer is the finalizer used to clean up build plane resources.
ComponentWorkflowRunCleanupFinalizer = "openchoreo.dev/componentworkflowrun-cleanup"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶ added in v0.14.0
type Reconciler struct {
client.Client
Scheme *runtime.Scheme
K8sClientMgr *kubernetesClient.KubeMultiClientManager
// Pipeline is the component workflow rendering pipeline, shared across all reconciliations.
// This enables CEL environment caching across different workflow runs and reconciliations.
Pipeline *componentworkflowpipeline.Pipeline
GatewayURL string
}
Reconciler reconciles a ComponentWorkflowRun object
func (*Reconciler) Reconcile ¶ added in v0.14.0
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.
func (*Reconciler) SetupWithManager ¶ added in v0.14.0
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.