errors

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

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 added in v1.5.0

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

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

func NewErrNotAcceptedGatewayClass added in v1.5.0

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

NewErrNotAcceptedGatewayClass creates a new ErrNotAcceptedGatewayClass error

func (ErrNotAcceptedGatewayClass) Error added in v1.5.0

Error returns the error message for the ErrNotAcceptedGatewayClass error

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

NewErrUnsupportedGateway creates a new ErrUnsupportedGatewayClass error

func (ErrUnsupportedGatewayClass) Error added in v1.4.0

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