errors

package
v2.0.7 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: 3 Imported by: 0 modules, 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

View Source
var ErrDataPlaneNotSet = errors.New("no dataplane name set")

ErrDataPlaneNotSet is a custom error that must be used when a specific OwnerReference is expected to be on an object, but it is not found.

View Source
var ErrInvalidSemverVersion = errors.New("not a valid semver version")

ErrInvalidSemverVersion is a custom error that indicates a provided version string (which we were expecting to be in the format of <Major>.<Minor>.<Patch>) was invalid, and not in the expected format.

View Source
var ErrNoDataPlanePods = errors.New("no dataplane pods existing yet")

ErrNoDataPlanePods is a custom error that must be used when the DataPlane Deployment referenced by the ControlPlane has no pods ready yet.

View Source
var ErrObjectMissingParametersRef = errors.New("no reference to related objects")

ErrObjectMissingParametersRef is a custom error that must be used when the .spec.ParametersRef field of the given object is nil

View Source
var ErrUnexpectedObject = errors.New("unexpected object type provided")

ErrUnexpectedObject is a custom error that must be used when the cast of a object to an expected type fails.

Functions

This section is empty.

Types

type ErrNotAcceptedGatewayClass

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

ErrNotAcceptedGatewayClass is an error which indicates that a provided GatewayClass is not accepted.

func NewErrNotAcceptedGatewayClass

func NewErrNotAcceptedGatewayClass(gatewayClass string, condition metav1.Condition) ErrNotAcceptedGatewayClass

NewErrNotAcceptedGatewayClass creates a new ErrNotAcceptedGatewayClass error

func (ErrNotAcceptedGatewayClass) Error

Error returns the error message for the ErrNotAcceptedGatewayClass error

type ErrUnsupportedGatewayClass

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

ErrUnsupportedGatewayClass is an error which indicates that a provided GatewayClass is not supported.

func NewErrUnsupportedGateway

func NewErrUnsupportedGateway(reason string) ErrUnsupportedGatewayClass

NewErrUnsupportedGateway creates a new ErrUnsupportedGatewayClass error

func (ErrUnsupportedGatewayClass) Error

Error returns the error message for the ErrUnsupportedGatewayClass error

Jump to

Keyboard shortcuts

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