errors

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrCrossNamespaceReference is returned when a Konnect extension references a different namespace.
	ErrCrossNamespaceReference = errors.New("cross-namespace reference is not currently supported for Konnect extensions")
	// ErrKonnectExtensionNotFound is returned when a Konnect extension is not found.
	ErrKonnectExtensionNotFound = errors.New("konnect extension not found")
	// ErrClusterCertificateNotFound is returned when a cluster certificate secret referenced in the KonnectExtension is not found.
	ErrClusterCertificateNotFound = errors.New("cluster certificate not found")
	// ErrKonnectExtensionNotReady is returned when a Konnect extension is not ready.
	ErrKonnectExtensionNotReady = errors.New("konnect extension is not ready")
	// ErrInvalidExtensions is returned when an invalid extension is referenced.
	ErrInvalidExtensions = errors.New("invalid extensions")

	// ErrKonnectGatewayControlPlaneNotProgrammed is returned when a control plane is not programmed.
	ErrKonnectGatewayControlPlaneNotProgrammed = errors.New("konnect control plane is not programmed yet")
)

Functions

func IsKonnectExtensionError

func IsKonnectExtensionError(err error) bool

IsKonnectExtensionError returns true if the error is a Konnect extension error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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