errors

package
v0.0.0-...-19a0f7c Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCannotFetchAppMsg = "could not retrieve KeptnApp: %w"
View Source
var ErrCannotFetchAppVersionForWorkloadVersionMsg = "could not fetch AppVersion for KeptnWorkloadVersion: "
View Source
var ErrCannotFetchAppVersionMsg = "could not retrieve KeptnappVersion: %w"
View Source
var ErrCannotGetFunctionConfigMap = "could not get function configMap: %w"
View Source
var ErrCannotGetKeptnEvaluationDefinition = fmt.Errorf("cannot retrieve KeptnEvaluationDefinition")
View Source
var ErrCannotGetKeptnTaskDefinition = fmt.Errorf("cannot retrieve KeptnTaskDefinition")
View Source
var ErrCannotMarshalParams = fmt.Errorf("could not marshal parameters")
View Source
var ErrCannotRetrieveConfigMsg = "could not retrieve KeptnConfig: %w"
View Source
var ErrCannotRetrieveInstancesMsg = "could not retrieve instances: %w"
View Source
var ErrCannotRetrieveWorkloadMsg = "could not retrieve KeptnWorkload: %w"
View Source
var ErrCannotRetrieveWorkloadVersionMsg = "could not retrieve KeptnWorkloadVersion: %w"
View Source
var ErrCannotWrapToActiveMetricsObject = fmt.Errorf("provided object does not implement ActiveMetricsObject interface")
View Source
var ErrCannotWrapToEventObject = fmt.Errorf("provided object does not implement EventObject interface")
View Source
var ErrCannotWrapToListItem = fmt.Errorf("provided object does not implement ListItem interface")
View Source
var ErrCannotWrapToMetricsObject = fmt.Errorf("provided object does not implement MetricsObject interface")
View Source
var ErrCannotWrapToPhaseItem = fmt.Errorf("provided object does not implement PhaseItem interface")
View Source
var ErrCannotWrapToSpanItem = fmt.Errorf("provided object does not implement SpanItem interface")
View Source
var ErrCouldNotUnbindSpan = "could not unbind span for %s"
View Source
var ErrInvalidOperator = fmt.Errorf("invalid operator")
View Source
var ErrNoConfigMapMsg = "no ConfigMap specified or HTTP source specified in TaskDefinition / Namespace: %s, Name: %s"
View Source
var ErrNoLabelsFoundTask = "no labels found for task: %s"
View Source
var ErrNoMatchingAppVersionFound = fmt.Errorf("no matching KeptnAppVersion found")
View Source
var ErrNoTaskDefinitionSpec = fmt.Errorf("the TaskDefinition specs are empty")
View Source
var ErrNoValues = fmt.Errorf("no values")
View Source
var ErrRetryCountExceeded = fmt.Errorf("retryCount for evaluation exceeded")
View Source
var ErrUnsupportedWorkloadVersionResourceReference = fmt.Errorf("unsupported Resource Reference")

Functions

func IgnoreReferencedResourceNotFound

func IgnoreReferencedResourceNotFound(err error) error

IgnoreReferencedResourceNotFound returns nil on NotFound errors. All other values that are not NotFound errors or nil are returned unmodified.

Types

This section is empty.

Jump to

Keyboard shortcuts

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