errors

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 2 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 ErrUnsupportedGatewayClass added in v1.4.0

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

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

func NewErrUnsupportedGateway added in v1.4.0

func NewErrUnsupportedGateway(reason string) ErrUnsupportedGatewayClass

func (ErrUnsupportedGatewayClass) Error added in v1.4.0

Jump to

Keyboard shortcuts

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