errors

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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) 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