Documentation ¶
Index ¶
- Variables
- type RateLimitServiceConfig
- func (*RateLimitServiceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RateLimitServiceConfig) GetGrpcService() *v3.GrpcService
- func (x *RateLimitServiceConfig) GetTransportApiVersion() v3.ApiVersion
- func (x *RateLimitServiceConfig) GetUseAlpha() bool
- func (*RateLimitServiceConfig) ProtoMessage()
- func (x *RateLimitServiceConfig) ProtoReflect() protoreflect.Message
- func (x *RateLimitServiceConfig) Reset()
- func (x *RateLimitServiceConfig) String() string
- func (m *RateLimitServiceConfig) Validate() 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 File_envoy_config_ratelimit_v3_rls_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RateLimitServiceConfig ¶
type RateLimitServiceConfig struct { GrpcService *v3.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"` TransportApiVersion v3.ApiVersion `` /* 158-byte string literal not displayed */ UseAlpha bool `protobuf:"varint,5,opt,name=use_alpha,json=useAlpha,proto3" json:"use_alpha,omitempty"` // contains filtered or unexported fields }
func (*RateLimitServiceConfig) Descriptor
deprecated
func (*RateLimitServiceConfig) Descriptor() ([]byte, []int)
Deprecated: Use RateLimitServiceConfig.ProtoReflect.Descriptor instead.
func (*RateLimitServiceConfig) GetGrpcService ¶
func (x *RateLimitServiceConfig) GetGrpcService() *v3.GrpcService
func (*RateLimitServiceConfig) GetTransportApiVersion ¶ added in v1.7.0
func (x *RateLimitServiceConfig) GetTransportApiVersion() v3.ApiVersion
func (*RateLimitServiceConfig) GetUseAlpha ¶ added in v1.7.0
func (x *RateLimitServiceConfig) GetUseAlpha() bool
func (*RateLimitServiceConfig) ProtoMessage ¶
func (*RateLimitServiceConfig) ProtoMessage()
func (*RateLimitServiceConfig) ProtoReflect ¶ added in v1.7.0
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 ¶
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.