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

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