envoy_config_ratelimit_v4alpha

package
v1.14.4-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_ratelimit_v4alpha_rls_proto protoreflect.FileDescriptor

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 *v4alpha.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. If set to `V2`, then the `use_alpha` option will instead
	// select the old alpha protocol.
	TransportApiVersion v4alpha.ApiVersion `` /* 163-byte string literal not displayed */
	// API version for rate limit transport protocol. If `transport_api_version` is set to `V2`, then
	// this will instead select the alpha version of the V2 API; `pb.lyft.ratelimit.RateLimitService`
	// rather than the final V2 API `envoy.service.ratelimit.v2.RateLimitService`. This setting has
	// no affect if `transport_api_version` is set to `V3`.
	UseAlpha bool `protobuf:"varint,5,opt,name=use_alpha,json=useAlpha,proto3" json:"use_alpha,omitempty"`
	// contains filtered or unexported fields
}

Rate limit :ref:`configuration overview <config_rate_limit_service>`. [#next-free-field: 6]

func (*RateLimitServiceConfig) Descriptor deprecated

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

Deprecated: Use RateLimitServiceConfig.ProtoReflect.Descriptor instead.

func (*RateLimitServiceConfig) GetGrpcService

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

func (*RateLimitServiceConfig) GetTransportApiVersion

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

func (*RateLimitServiceConfig) GetUseAlpha

func (x *RateLimitServiceConfig) GetUseAlpha() bool

func (*RateLimitServiceConfig) ProtoMessage

func (*RateLimitServiceConfig) ProtoMessage()

func (*RateLimitServiceConfig) ProtoReflect

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

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
y or Y : Canonical URL