engine

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrFatalExecution is a wrapper for the fatal engine task execution error
	ErrFatalExecution = errors.New("fatal error: ")
)

Functions

This section is empty.

Types

type ExecutionError added in v0.8.0

type ExecutionError struct {
	Err       error
	EventName string
}

ExecutionError wraps plan execution engine errors with additional fields. An execution error will be published on the event bus using provide EventName as a reason.

func (ExecutionError) Error added in v0.8.0

func (e ExecutionError) Error() string

func (ExecutionError) Unwrap added in v0.8.0

func (e ExecutionError) Unwrap() error

type Metadata added in v0.8.0

type Metadata struct {
	InstanceName        string
	InstanceNamespace   string
	OperatorName        string
	OperatorVersionName string
	OperatorVersion     string
	AppVersion          string

	// the object that will own all the resources created by this execution
	ResourcesOwner metav1.Object
}

Metadata contains engine metadata associated with the current operator being executed

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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