package
0.0.0-20250305113347-723568176820
Repository: https://github.com/cilium/proxy.git
Documentation: pkg.go.dev
# Constants
Ignore the virtual host rate limits even if the route does not have a rate limit policy.
Use the virtual host rate limits even if the route has a rate limit policy.
Use the virtual host rate limits unless the route has a rate limit policy.
Use `draft RFC Version 03 <https://tools.ietf.org/id/draft-polli-ratelimit-headers-03.html>`_ where 3 headers will be added:
- “X-RateLimit-Limit“ - indicates the request-quota associated to the client in the current time-window followed by the description of the quota policy.
X-RateLimit headers disabled.
# Variables
No description provided by the author
Enum value maps for VhRateLimitsOptions.
Enum value maps for VhRateLimitsOptions.
Enum value maps for XRateLimitHeadersRFCVersion.
Enum value maps for XRateLimitHeadersRFCVersion.
# Structs
Configuration used to enable local cluster level rate limiting where the token buckets will be shared across all the Envoy instances in the local cluster.
LocalClusterRateLimitValidationError is the validation error returned by LocalClusterRateLimit.Validate if the designated constraints aren't met.
No description provided by the author
LocalRateLimitDescriptorValidationError is the validation error returned by LocalRateLimitDescriptor.Validate if the designated constraints aren't met.
A RateLimitDescriptor is a list of hierarchical entries that are used by the service to determine the final rate limit key and overall allowed limit.
No description provided by the author
RateLimitDescriptor_EntryValidationError is the validation error returned by RateLimitDescriptor_Entry.Validate if the designated constraints aren't met.
Override rate limit to apply to this descriptor instead of the limit configured in the rate limit service.
RateLimitDescriptor_RateLimitOverrideValidationError is the validation error returned by RateLimitDescriptor_RateLimitOverride.Validate if the designated constraints aren't met.
RateLimitDescriptorValidationError is the validation error returned by RateLimitDescriptor.Validate if the designated constraints aren't met.
# Type aliases
LocalClusterRateLimitMultiError is an error wrapping multiple validation errors returned by LocalClusterRateLimit.ValidateAll() if the designated constraints aren't met.
LocalRateLimitDescriptorMultiError is an error wrapping multiple validation errors returned by LocalRateLimitDescriptor.ValidateAll() if the designated constraints aren't met.
RateLimitDescriptor_EntryMultiError is an error wrapping multiple validation errors returned by RateLimitDescriptor_Entry.ValidateAll() if the designated constraints aren't met.
RateLimitDescriptor_RateLimitOverrideMultiError is an error wrapping multiple validation errors returned by RateLimitDescriptor_RateLimitOverride.ValidateAll() if the designated constraints aren't met.
RateLimitDescriptorMultiError is an error wrapping multiple validation errors returned by RateLimitDescriptor.ValidateAll() if the designated constraints aren't met.
No description provided by the author
Defines the version of the standard to use for X-RateLimit headers.