Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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.
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.
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.
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
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
func (e ErrNotAcceptedGatewayClass) Error() string
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
func (e ErrUnsupportedGatewayClass) Error() string
Error returns the error message for the ErrUnsupportedGatewayClass error