go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/ratelimit/v2 Index | Files

package envoy_config_ratelimit_v2

import "github.com/envoyproxy/go-control-plane/envoy/config/ratelimit/v2"


Package Files

rls.pb.go rls.pb.validate.go


var File_envoy_config_ratelimit_v2_rls_proto protoreflect.FileDescriptor

type RateLimitServiceConfig Uses

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 Uses

func (*RateLimitServiceConfig) Descriptor() ([]byte, []int)

Deprecated: Use RateLimitServiceConfig.ProtoReflect.Descriptor instead.

func (*RateLimitServiceConfig) GetGrpcService Uses

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

func (*RateLimitServiceConfig) ProtoMessage Uses

func (*RateLimitServiceConfig) ProtoMessage()

func (*RateLimitServiceConfig) ProtoReflect Uses

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

func (*RateLimitServiceConfig) Reset Uses

func (x *RateLimitServiceConfig) Reset()

func (*RateLimitServiceConfig) String Uses

func (x *RateLimitServiceConfig) String() string

func (*RateLimitServiceConfig) Validate Uses

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 Uses

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 Uses

func (e RateLimitServiceConfigValidationError) Cause() error

Cause function returns cause value.

func (RateLimitServiceConfigValidationError) Error Uses

func (e RateLimitServiceConfigValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimitServiceConfigValidationError) ErrorName Uses

func (e RateLimitServiceConfigValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimitServiceConfigValidationError) Field Uses

func (e RateLimitServiceConfigValidationError) Field() string

Field function returns field value.

func (RateLimitServiceConfigValidationError) Key Uses

func (e RateLimitServiceConfigValidationError) Key() bool

Key function returns key value.

func (RateLimitServiceConfigValidationError) Reason Uses

func (e RateLimitServiceConfigValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_ratelimit_v2 imports 19 packages (graph) and is imported by 10 packages. Updated 2020-11-01. Refresh now. Tools for package owners.