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
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
Click to show internal directories.
Click to hide internal directories.