Add HTTPLocalRateLimitPolicy support #2294
Annotations
10 errors
Run just rs-check-dirs:
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-check-dirs:
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-check-dirs:
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-check-dirs:
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-check-dirs:
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-check-dirs:
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-check-dirs:
policy-controller/grpc/src/outbound/tcp.rs#L68
error[E0560]: struct `linkerd2_proxy_api::outbound::opaque_route::RouteBackend` has no field named `invalid`
--> policy-controller/grpc/src/outbound/tcp.rs:68:21
|
68 | invalid: None,
| ^^^^^^^ `linkerd2_proxy_api::outbound::opaque_route::RouteBackend` does not have this field
|
= note: all struct fields are already assigned
|
Run just rs-check-dirs:
policy-controller/grpc/src/outbound/tcp.rs#L85
error[E0560]: struct `OpaqueRoute` has no field named `error`
--> policy-controller/grpc/src/outbound/tcp.rs:85:9
|
85 | error: None,
| ^^^^^ `OpaqueRoute` does not have this field
|
= note: all struct fields are already assigned
|
Run just rs-check-dirs:
policy-controller/grpc/src/outbound/tcp.rs#L113
error[E0560]: struct `linkerd2_proxy_api::outbound::opaque_route::RouteBackend` has no field named `invalid`
--> policy-controller/grpc/src/outbound/tcp.rs:113:21
|
113 | invalid: None,
| ^^^^^^^ `linkerd2_proxy_api::outbound::opaque_route::RouteBackend` does not have this field
|
= note: all struct fields are already assigned
|
Run just rs-check-dirs:
policy-controller/grpc/src/outbound/tcp.rs#L136
error[E0560]: struct `linkerd2_proxy_api::outbound::opaque_route::RouteBackend` has no field named `invalid`
--> policy-controller/grpc/src/outbound/tcp.rs:136:17
|
136 | invalid: None,
| ^^^^^^^ `linkerd2_proxy_api::outbound::opaque_route::RouteBackend` does not have this field
|
= note: all struct fields are already assigned
|
Loading