errors

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KongClientNotReadyError

type KongClientNotReadyError struct {
	Err error
}

KongClientNotReadyError is returned when the Kong client is not ready to be used yet. This can happen if the Kong Admin API is not reachable, or if it's reachable but `GET /status` does not return 200.

func (KongClientNotReadyError) Error

func (e KongClientNotReadyError) Error() string

Error implements the error interface for KongClientNotReadyError.

func (KongClientNotReadyError) Is added in v2.2.0

func (e KongClientNotReadyError) Is(target error) bool

Is reports any error in err's tree matches target.

func (KongClientNotReadyError) Unwrap

func (e KongClientNotReadyError) Unwrap() error

Unwrap allows access to the underlying error wrapped by KongClientNotReadyError.

type NoAvailableEndpointsError

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

NoAvailableEndpointsError is returned when there are no endpoints available for a service.

func NewNoAvailableEndpointsError

func NewNoAvailableEndpointsError(serviceNN k8stypes.NamespacedName) NoAvailableEndpointsError

NewNoAvailableEndpointsError creates a new NoAvailableEndpointsError.

func (NoAvailableEndpointsError) Error

Error implements the error interface for NoAvailableEndpointsError.

Jump to

Keyboard shortcuts

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