Documentation ¶
Index ¶
- Variables
- type RateLimitServiceConfig
- func (*RateLimitServiceConfig) Descriptor() ([]byte, []int)
- func (m *RateLimitServiceConfig) GetGrpcService() *core.GrpcService
- func (m *RateLimitServiceConfig) Marshal() (dAtA []byte, err error)
- func (m *RateLimitServiceConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *RateLimitServiceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RateLimitServiceConfig) ProtoMessage()
- func (m *RateLimitServiceConfig) Reset()
- func (m *RateLimitServiceConfig) Size() (n int)
- func (m *RateLimitServiceConfig) String() string
- func (m *RateLimitServiceConfig) Unmarshal(dAtA []byte) error
- func (m *RateLimitServiceConfig) Validate() error
- func (m *RateLimitServiceConfig) XXX_DiscardUnknown()
- func (m *RateLimitServiceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RateLimitServiceConfig) XXX_Merge(src proto.Message)
- func (m *RateLimitServiceConfig) XXX_Size() int
- func (m *RateLimitServiceConfig) XXX_Unmarshal(b []byte) error
- type RateLimitServiceConfigValidationError
- func (e RateLimitServiceConfigValidationError) Cause() error
- func (e RateLimitServiceConfigValidationError) Error() string
- func (e RateLimitServiceConfigValidationError) ErrorName() string
- func (e RateLimitServiceConfigValidationError) Field() string
- func (e RateLimitServiceConfigValidationError) Key() bool
- func (e RateLimitServiceConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthRls = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRls = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Rate limit :ref:`configuration overview <config_rate_limit_service>`.
func (*RateLimitServiceConfig) Descriptor ¶
func (*RateLimitServiceConfig) Descriptor() ([]byte, []int)
func (*RateLimitServiceConfig) GetGrpcService ¶
func (m *RateLimitServiceConfig) GetGrpcService() *core.GrpcService
func (*RateLimitServiceConfig) Marshal ¶
func (m *RateLimitServiceConfig) Marshal() (dAtA []byte, err error)
func (*RateLimitServiceConfig) MarshalTo ¶
func (m *RateLimitServiceConfig) MarshalTo(dAtA []byte) (int, error)
func (*RateLimitServiceConfig) MarshalToSizedBuffer ¶ added in v0.82.0
func (m *RateLimitServiceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RateLimitServiceConfig) ProtoMessage ¶
func (*RateLimitServiceConfig) ProtoMessage()
func (*RateLimitServiceConfig) Reset ¶
func (m *RateLimitServiceConfig) Reset()
func (*RateLimitServiceConfig) Size ¶
func (m *RateLimitServiceConfig) Size() (n int)
func (*RateLimitServiceConfig) String ¶
func (m *RateLimitServiceConfig) String() string
func (*RateLimitServiceConfig) Unmarshal ¶
func (m *RateLimitServiceConfig) Unmarshal(dAtA []byte) error
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.
func (*RateLimitServiceConfig) XXX_DiscardUnknown ¶
func (m *RateLimitServiceConfig) XXX_DiscardUnknown()
func (*RateLimitServiceConfig) XXX_Marshal ¶
func (m *RateLimitServiceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RateLimitServiceConfig) XXX_Merge ¶
func (m *RateLimitServiceConfig) XXX_Merge(src proto.Message)
func (*RateLimitServiceConfig) XXX_Size ¶
func (m *RateLimitServiceConfig) XXX_Size() int
func (*RateLimitServiceConfig) XXX_Unmarshal ¶
func (m *RateLimitServiceConfig) XXX_Unmarshal(b []byte) error
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 ¶
func (e RateLimitServiceConfigValidationError) Cause() error
Cause function returns cause value.
func (RateLimitServiceConfigValidationError) Error ¶
func (e RateLimitServiceConfigValidationError) Error() string
Error satisfies the builtin error interface
func (RateLimitServiceConfigValidationError) ErrorName ¶
func (e RateLimitServiceConfigValidationError) ErrorName() string
ErrorName returns error name.
func (RateLimitServiceConfigValidationError) Field ¶
func (e RateLimitServiceConfigValidationError) Field() string
Field function returns field value.
func (RateLimitServiceConfigValidationError) Key ¶
func (e RateLimitServiceConfigValidationError) Key() bool
Key function returns key value.
func (RateLimitServiceConfigValidationError) Reason ¶
func (e RateLimitServiceConfigValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.