On this page
RatelimitServerConfig
RatelimitServerConfig API reference.
Proto: ratelimit_server_config.proto
Package: admin.gloo.solo.io
Types:
- RateLimitServerConfigReport
- RateLimitServerConfigSpec
- RateLimitServerConfigSpec.Raw
- RateLimitServerConfigStatus
RateLimitServerConfigReport
Field | Description |
---|---|
report | (common.gloo.solo.io.Report ) |
selectedDestinationServers | (repeated common.gloo.solo.io.DestinationReference )A list of ratelimit servers for which server config was translated. |
RateLimitServerConfigSpec
RateLimitServerConfig is used to configure the ratelimit rules enforced by the server. All RateLimitPolicy resources in a workspace require a RateLimitServerConfig to in order to configure ratelimit rules. If no RateLimitServerConfig is provided, no ratelimit rules will be enforced.
Field | Description |
---|---|
raw | (RateLimitServerConfigSpec.Raw )Define a policy using the raw configuration format used by the ratelimit server. |
destinationServers | (repeated common.gloo.solo.io.DestinationReference )Required field to specify the ratelimit servers that will enforce the defined descriptors. |
RateLimitServerConfigSpec.Raw
This object used to specify rate limit policies using the raw configuration formats enforced by the ratelimit server. When using this configuration type, it is up to the user to ensure that server and client configurations match to implement the desired behavior.
Field | Description |
---|---|
descriptors | (repeated ratelimit.api.solo.io.Descriptor )The descriptors that will be applied to the server. {{/* Note: validation of this field disabled because it slows down cue tremendously*/}} |
setDescriptors | (repeated ratelimit.api.solo.io.SetDescriptor )The set descriptors that will be applied to the server. {{/* Note: validation of this field disabled because it slows down cue tremendously*/}} |
RateLimitServerConfigStatus
The current status of the RateLimitServerConfig
.
Field | Description |
---|---|
common | (common.gloo.solo.io.Status ) |
numSelectedDestinationServers | (uint32 )The number of ratelimit servers for which server config was translated. |