Version: v0.9.9 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 19 Imported by: 24




This section is empty.


View Source
var File_envoy_config_ratelimit_v2_rls_proto protoreflect.FileDescriptor


This section is empty.


type RateLimitServiceConfig

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 *core.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
	// contains filtered or unexported fields

Rate limit :ref:`configuration overview <config_rate_limit_service>`.

func (*RateLimitServiceConfig) Descriptor deprecated

This method has been deprecated.
func (*RateLimitServiceConfig) Descriptor() ([]byte, []int)

Deprecated: Use RateLimitServiceConfig.ProtoReflect.Descriptor instead.

func (*RateLimitServiceConfig) GetGrpcService

func (x *RateLimitServiceConfig) GetGrpcService() *core.GrpcService

func (*RateLimitServiceConfig) ProtoMessage

func (*RateLimitServiceConfig) ProtoMessage()

func (*RateLimitServiceConfig) ProtoReflect added in v0.9.6

func (x *RateLimitServiceConfig) ProtoReflect() protoreflect.Message

func (*RateLimitServiceConfig) Reset

func (x *RateLimitServiceConfig) Reset()

func (*RateLimitServiceConfig) String

func (x *RateLimitServiceConfig) String() string

func (*RateLimitServiceConfig) Validate

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

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 (RateLimitServiceConfigValidationError) Cause

Cause function returns cause value.

func (RateLimitServiceConfigValidationError) Error

Error satisfies the builtin error interface

func (RateLimitServiceConfigValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (RateLimitServiceConfigValidationError) Field

Field function returns field value.

func (RateLimitServiceConfigValidationError) Key

Key function returns key value.

func (RateLimitServiceConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL