Documentation
¶
Index ¶
Constants ¶
View Source
const ( // NodeID is the xDS node identifier that the rate limit service uses // when connecting to this xDS server. NodeID = "envoy-ai-gateway-ratelimit" // DefaultPort is the default listening port for the rate limit xDS config server. DefaultPort = 18002 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner manages the xDS gRPC server that serves RateLimitConfig resources to the rate limit service. It is modeled after Envoy Gateway's internal/globalratelimit/runner/runner.go.
func (*Runner) UpdateConfigs ¶
UpdateConfigs updates the xDS snapshot cache with the provided rate limit configurations. This is called by the QuotaPolicy controller whenever a QuotaPolicy is reconciled.
Click to show internal directories.
Click to hide internal directories.