v2

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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 {
	// Types that are valid to be assigned to ServiceSpecifier:
	//	*RateLimitServiceConfig_ClusterName
	//	*RateLimitServiceConfig_GrpcService
	ServiceSpecifier     isRateLimitServiceConfig_ServiceSpecifier `protobuf_oneof:"service_specifier"`
	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) GetClusterName deprecated

func (m *RateLimitServiceConfig) GetClusterName() string

Deprecated: Do not use.

func (*RateLimitServiceConfig) GetGrpcService

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

func (*RateLimitServiceConfig) GetServiceSpecifier

func (m *RateLimitServiceConfig) GetServiceSpecifier() isRateLimitServiceConfig_ServiceSpecifier

func (*RateLimitServiceConfig) Marshal

func (m *RateLimitServiceConfig) Marshal() (dAtA []byte, err error)

func (*RateLimitServiceConfig) MarshalTo

func (m *RateLimitServiceConfig) MarshalTo(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 (dst *RateLimitServiceConfig) XXX_Merge(src proto.Message)

func (*RateLimitServiceConfig) XXX_OneofFuncs

func (*RateLimitServiceConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

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 {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

RateLimitServiceConfigValidationError is the validation error returned by RateLimitServiceConfig.Validate if the designated constraints aren't met.

func (RateLimitServiceConfigValidationError) Error

Error satisfies the builtin error interface

type RateLimitServiceConfig_ClusterName

type RateLimitServiceConfig_ClusterName struct {
	ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3,oneof"`
}

func (*RateLimitServiceConfig_ClusterName) MarshalTo

func (m *RateLimitServiceConfig_ClusterName) MarshalTo(dAtA []byte) (int, error)

func (*RateLimitServiceConfig_ClusterName) Size

type RateLimitServiceConfig_GrpcService

type RateLimitServiceConfig_GrpcService struct {
	GrpcService *core.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,oneof"`
}

func (*RateLimitServiceConfig_GrpcService) MarshalTo

func (m *RateLimitServiceConfig_GrpcService) MarshalTo(dAtA []byte) (int, error)

func (*RateLimitServiceConfig_GrpcService) Size

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL