Envoy Types
Collection of protobuf types and other assets to work with the Envoy Proxy through Rust gRPC services.
Among other use cases, this crate can be used to implement an Envoy External Authorization (ExtAuthz) gRPC Server written in Rust.
Getting Started
[]
= "<envoy-types-version>"
The protobuf types made available are already pre-compiled, so you only need to
have the Protocol Buffer Compiler (protoc
) installed to run the crate's tests.
Installation instructions can be found here.
Examples
The example bellow covers a bare-bones implementation of an Envoy ExtAuthz gRPC
AuthorizationServer
, with tonic
. A more complete implementation,
including query parameters and header manipulation, can be found at the
examples directory.
use ;
use ;
use ;
;
async
You can check the currently supported version of tonic
at this crate's
Cargo.toml
file. If you want to work with a previous version, consider
using a previous version of envoy-types
.
License
This project is licensed under the Apache License (Version 2.0).
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion by you, shall be licensed as Apache-2.0, without any additional terms or conditions.