Add HTTPLocalRateLimitPolicy support #2294
Annotations
10 errors
Run just rs-clippy:
policy-controller/grpc/src/outbound/tcp.rs#L223
error[E0433]: failed to resolve: could not find `route_backend` in `opaque_route`
--> policy-controller/grpc/src/outbound/tcp.rs:223:51
|
223 | invalid: Some(outbound::opaque_route::route_backend::Invalid { message }),
| ^^^^^^^^^^^^^
| |
| could not find `route_backend` in `opaque_route`
| help: a struct with a similar name exists: `RouteBackend`
|
Run just rs-clippy:
policy-controller/grpc/src/outbound/tls.rs#L228
error[E0433]: failed to resolve: could not find `route_backend` in `tls_route`
--> policy-controller/grpc/src/outbound/tls.rs:228:48
|
228 | invalid: Some(outbound::tls_route::route_backend::Invalid { message }),
| ^^^^^^^^^^^^^
| |
| could not find `route_backend` in `tls_route`
| help: a struct with a similar name exists: `RouteBackend`
|
Run just rs-clippy:
policy-controller/grpc/src/outbound/tcp.rs#L235
error[E0422]: cannot find struct, variant or union type `RouteError` in module `outbound::opaque_route`
--> policy-controller/grpc/src/outbound/tcp.rs:235:42
|
235 | Some(outbound::opaque_route::RouteError {
| ^^^^^^^^^^ not found in `outbound::opaque_route`
|
Run just rs-clippy:
policy-controller/grpc/src/outbound/tcp.rs#L236
error[E0433]: failed to resolve: could not find `route_error` in `opaque_route`
--> policy-controller/grpc/src/outbound/tcp.rs:236:47
|
236 | kind: outbound::opaque_route::route_error::Kind::Forbidden as i32,
| ^^^^^^^^^^^ could not find `route_error` in `opaque_route`
|
help: consider importing one of these items
|
1 + use crate::outbound::Kind;
|
1 + use crate::outbound::api::http_route::path_match::Kind;
|
1 + use crate::outbound::api::inbound::grpc_route::filter::Kind;
|
1 + use crate::outbound::api::inbound::http_route::filter::Kind;
|
and 32 other candidates
help: if you import `Kind`, refer to it directly
|
236 - kind: outbound::opaque_route::route_error::Kind::Forbidden as i32,
236 + kind: Kind::Forbidden as i32,
|
|
Run just rs-clippy:
policy-controller/grpc/src/outbound/tls.rs#L240
error[E0422]: cannot find struct, variant or union type `RouteError` in module `outbound::tls_route`
--> policy-controller/grpc/src/outbound/tls.rs:240:39
|
240 | Some(outbound::tls_route::RouteError {
| ^^^^^^^^^^ not found in `outbound::tls_route`
|
Run just rs-clippy:
policy-controller/grpc/src/outbound/tls.rs#L241
error[E0433]: failed to resolve: could not find `route_error` in `tls_route`
--> policy-controller/grpc/src/outbound/tls.rs:241:44
|
241 | kind: outbound::tls_route::route_error::Kind::Forbidden as i32,
| ^^^^^^^^^^^ could not find `route_error` in `tls_route`
|
help: consider importing one of these items
|
1 + use crate::outbound::Kind;
|
1 + use crate::outbound::api::http_route::path_match::Kind;
|
1 + use crate::outbound::api::inbound::grpc_route::filter::Kind;
|
1 + use crate::outbound::api::inbound::http_route::filter::Kind;
|
and 32 other candidates
help: if you import `Kind`, refer to it directly
|
241 - kind: outbound::tls_route::route_error::Kind::Forbidden as i32,
241 + kind: Kind::Forbidden as i32,
|
|
Run just rs-clippy:
policy-controller/grpc/src/outbound/tcp.rs#L223
error[E0433]: failed to resolve: could not find `route_backend` in `opaque_route`
--> policy-controller/grpc/src/outbound/tcp.rs:223:51
|
223 | invalid: Some(outbound::opaque_route::route_backend::Invalid { message }),
| ^^^^^^^^^^^^^
| |
| could not find `route_backend` in `opaque_route`
| help: a struct with a similar name exists: `RouteBackend`
|
Run just rs-clippy:
policy-controller/grpc/src/outbound/tls.rs#L228
error[E0433]: failed to resolve: could not find `route_backend` in `tls_route`
--> policy-controller/grpc/src/outbound/tls.rs:228:48
|
228 | invalid: Some(outbound::tls_route::route_backend::Invalid { message }),
| ^^^^^^^^^^^^^
| |
| could not find `route_backend` in `tls_route`
| help: a struct with a similar name exists: `RouteBackend`
|
Run just rs-clippy:
policy-controller/grpc/src/outbound/tcp.rs#L235
error[E0422]: cannot find struct, variant or union type `RouteError` in module `outbound::opaque_route`
--> policy-controller/grpc/src/outbound/tcp.rs:235:42
|
235 | Some(outbound::opaque_route::RouteError {
| ^^^^^^^^^^ not found in `outbound::opaque_route`
|
Run just rs-clippy:
policy-controller/grpc/src/outbound/tcp.rs#L236
error[E0433]: failed to resolve: could not find `route_error` in `opaque_route`
--> policy-controller/grpc/src/outbound/tcp.rs:236:47
|
236 | kind: outbound::opaque_route::route_error::Kind::Forbidden as i32,
| ^^^^^^^^^^^ could not find `route_error` in `opaque_route`
|
help: consider importing one of these items
|
1 + use crate::outbound::Kind;
|
1 + use crate::outbound::api::http_route::path_match::Kind;
|
1 + use crate::outbound::api::inbound::grpc_route::filter::Kind;
|
1 + use crate::outbound::api::inbound::http_route::filter::Kind;
|
and 32 other candidates
help: if you import `Kind`, refer to it directly
|
236 - kind: outbound::opaque_route::route_error::Kind::Forbidden as i32,
236 + kind: Kind::Forbidden as i32,
|
|
Loading