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

package envoy_config_ratelimit_v3

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


Package Files

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


var File_envoy_config_ratelimit_v3_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 *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 Uses

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

Deprecated: Use RateLimitServiceConfig.ProtoReflect.Descriptor instead.

func (*RateLimitServiceConfig) GetGrpcService Uses

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

func (*RateLimitServiceConfig) GetTransportApiVersion Uses

func (x *RateLimitServiceConfig) GetTransportApiVersion() v3.ApiVersion

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_v3 imports 19 packages (graph) and is imported by 14 packages. Updated 2021-01-08. Refresh now. Tools for package owners.