cel

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: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ReasonFailedValidation indicates that the reason for failure status is that CustomRun failed runtime validation
	ReasonFailedValidation = "CustomRunValidationFailed"

	// ReasonSyntaxError indicates that the reason for failure status is that a CEL expression couldn't be parsed
	ReasonSyntaxError = "SyntaxError"

	// ReasonEvaluationError indicates that the reason for failure status is that a CEL expression couldn't be evaluated
	// typically due to evaluation environment or executable program
	ReasonEvaluationError = "EvaluationError"

	// ReasonEvaluationSuccess indicates that the reason for the success status is that all CEL expressions were
	// evaluated successfully and the results were produced
	ReasonEvaluationSuccess = "EvaluationSuccess"
)
View Source
const (
	ControllerName = "cel-controller"
)

Variables

This section is empty.

Functions

func NewController

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

NewController creates a Reconciler for Run and returns the result of NewImpl.

Types

type Reconciler

type Reconciler struct {
}

Reconciler implements controller.Reconciler for Run resources.

func (*Reconciler) ReconcileKind

func (r *Reconciler) ReconcileKind(ctx context.Context, customRun *v1beta1.CustomRun) reconciler.Event

ReconcileKind implements Interface.ReconcileKind.

Jump to

Keyboard shortcuts

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