errors

package
v0.0.0-...-a423d60 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrReconciliationTimeoutReached = errors.New("reconciliation timeout reached")
	ErrWebhookTimeoutReached        = errors.New("webhook timeout reached")
	ErrWebhookPollTimeExpired       = errors.New("polling time has expired")
	ErrFailedWebhookStatus          = errors.New("webhook operation has finished with failed status")
	ErrUnsupportedWebhookMode       = errors.New("unsupported webhook mode")
)

Functions

func IsWebhookStatusGoneErr

func IsWebhookStatusGoneErr(err error) (ok bool)

IsWebhookStatusGoneErr check whether an error is a WebhookStatusGoneErr and returns true if so.

Types

type FatalReconcileErr

type FatalReconcileErr struct {
	// contains filtered or unexported fields
}

FatalReconcileErr represents an error type which denotes a failure to proceed with the reconciliation of an Operation CR. The error should result in ceasing with the requeue of the specific resource.

func NewFatalReconcileError

func NewFatalReconcileError(message string) *FatalReconcileErr

NewFatalReconcileError constructs a new FatalReconcileErr with the given error message

Jump to

Keyboard shortcuts

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