userver: grpc_protovalidate::client Namespace Reference
Loading...
Searching...
No Matches
grpc_protovalidate::client Namespace Reference

Detailed Description

Client middleware that validates gRPC response constraints specified with the protovalidate options in the proto files.

Classes

class  BaseError
 Base grpc_protovalidate error. More...
 
class  MessageError
 Base grpc_protovalidate error with buf::validate::ValidationResult. More...
 
class  Middleware
 
class  RequestError
 RPC failed due to violations in the request protovalidate constraints. More...
 
class  ResponseError
 RPC failed due to violations in the response protovalidate constraints. More...
 
struct  Settings
 
struct  ValidationSettings
 
class  ValidatorComponent
 Component for gRPC client response validation. More...
 
class  ValidatorError
 RPC failed due to validator internal errors. In most cases the reason this exception is thrown is protovalidate CEL expression errors in the proto file. More...
 

Functions

ValidationSettings Parse (const yaml_config::YamlConfig &config, formats::parse::To< ValidationSettings >)
 
Settings Parse (const yaml_config::YamlConfig &config, formats::parse::To< Settings >)
 

Function Documentation

◆ Parse() [1/2]

Settings grpc_protovalidate::client::Parse ( const yaml_config::YamlConfig & config,
formats::parse::To< Settings >  )

Definition at line 23 of file component.cpp.

◆ Parse() [2/2]

ValidationSettings grpc_protovalidate::client::Parse ( const yaml_config::YamlConfig & config,
formats::parse::To< ValidationSettings >  )

Definition at line 16 of file component.cpp.