import "github.com/envoyproxy/go-control-plane/envoy/config/ratelimit/v3"
var File_envoy_config_ratelimit_v3_rls_proto protoreflect.FileDescriptor
type RateLimitServiceConfig struct { // Specifies the gRPC service that hosts the rate limit service. The client // will connect to this cluster when it needs to make rate limit service // requests. GrpcService *v3.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"` // API version for rate limit transport protocol. This describes the rate limit gRPC endpoint and // version of messages used on the wire. TransportApiVersion v3.ApiVersion `protobuf:"varint,4,opt,name=transport_api_version,json=transportApiVersion,proto3,enum=envoy.config.core.v3.ApiVersion" json:"transport_api_version,omitempty"` // contains filtered or unexported fields }
Rate limit :ref:`configuration overview <config_rate_limit_service>`.
func (*RateLimitServiceConfig) Descriptor() ([]byte, []int)
Deprecated: Use RateLimitServiceConfig.ProtoReflect.Descriptor instead.
func (x *RateLimitServiceConfig) GetGrpcService() *v3.GrpcService
func (x *RateLimitServiceConfig) GetTransportApiVersion() v3.ApiVersion
func (*RateLimitServiceConfig) ProtoMessage()
func (x *RateLimitServiceConfig) ProtoReflect() protoreflect.Message
func (x *RateLimitServiceConfig) Reset()
func (x *RateLimitServiceConfig) String() string
func (m *RateLimitServiceConfig) Validate() error
Validate checks the field values on RateLimitServiceConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RateLimitServiceConfigValidationError struct {
// contains filtered or unexported fields
}
RateLimitServiceConfigValidationError is the validation error returned by RateLimitServiceConfig.Validate if the designated constraints aren't met.
func (e RateLimitServiceConfigValidationError) Cause() error
Cause function returns cause value.
func (e RateLimitServiceConfigValidationError) Error() string
Error satisfies the builtin error interface
func (e RateLimitServiceConfigValidationError) ErrorName() string
ErrorName returns error name.
func (e RateLimitServiceConfigValidationError) Field() string
Field function returns field value.
func (e RateLimitServiceConfigValidationError) Key() bool
Key function returns key value.
func (e RateLimitServiceConfigValidationError) Reason() string
Reason function returns reason value.
Package envoy_config_ratelimit_v3 imports 19 packages (graph) and is imported by 14 packages. Updated 2021-01-08. Refresh now. Tools for package owners.