Package com.buildless.telemetry
Class EventContextValidator
java.lang.Object
com.buildless.telemetry.EventContextValidator
- All Implemented Interfaces:
io.envoyproxy.pgv.ValidatorImpl<EventContext>
public class EventContextValidator
extends Object
implements io.envoyproxy.pgv.ValidatorImpl<EventContext>
Validates
EventContext protobuf objects.-
Field Summary
Fields inherited from interface io.envoyproxy.pgv.ValidatorImpl
ALWAYS_VALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassertValid(EventContext proto, io.envoyproxy.pgv.ValidatorIndex index) static io.envoyproxy.pgv.ValidatorImplvalidatorFor(Class clazz)
-
Constructor Details
-
EventContextValidator
public EventContextValidator()
-
-
Method Details
-
validatorFor
-
assertValid
public void assertValid(EventContext proto, io.envoyproxy.pgv.ValidatorIndex index) throws io.envoyproxy.pgv.ValidationException - Specified by:
assertValidin interfaceio.envoyproxy.pgv.ValidatorImpl<EventContext>- Throws:
io.envoyproxy.pgv.ValidationException
-