envoy_extensions_common_ratelimit_v3

package
v1.7.2-rc.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_common_ratelimit_v3_ratelimit_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type RateLimitDescriptor

type RateLimitDescriptor struct {
	Entries []*RateLimitDescriptor_Entry           `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	Limit   *RateLimitDescriptor_RateLimitOverride `protobuf:"bytes,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*RateLimitDescriptor) Descriptor deprecated

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

Deprecated: Use RateLimitDescriptor.ProtoReflect.Descriptor instead.

func (*RateLimitDescriptor) GetEntries

func (*RateLimitDescriptor) GetLimit added in v1.7.0

func (*RateLimitDescriptor) ProtoMessage

func (*RateLimitDescriptor) ProtoMessage()

func (*RateLimitDescriptor) ProtoReflect added in v1.7.0

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

func (*RateLimitDescriptor) Reset

func (x *RateLimitDescriptor) Reset()

func (*RateLimitDescriptor) String

func (x *RateLimitDescriptor) String() string

func (*RateLimitDescriptor) Validate

func (m *RateLimitDescriptor) Validate() error

Validate checks the field values on RateLimitDescriptor with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RateLimitDescriptorValidationError

type RateLimitDescriptorValidationError struct {
	// contains filtered or unexported fields
}

RateLimitDescriptorValidationError is the validation error returned by RateLimitDescriptor.Validate if the designated constraints aren't met.

func (RateLimitDescriptorValidationError) Cause

Cause function returns cause value.

func (RateLimitDescriptorValidationError) Error

Error satisfies the builtin error interface

func (RateLimitDescriptorValidationError) ErrorName

ErrorName returns error name.

func (RateLimitDescriptorValidationError) Field

Field function returns field value.

func (RateLimitDescriptorValidationError) Key

Key function returns key value.

func (RateLimitDescriptorValidationError) Reason

Reason function returns reason value.

type RateLimitDescriptor_Entry

type RateLimitDescriptor_Entry struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*RateLimitDescriptor_Entry) Descriptor deprecated

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

Deprecated: Use RateLimitDescriptor_Entry.ProtoReflect.Descriptor instead.

func (*RateLimitDescriptor_Entry) GetKey

func (x *RateLimitDescriptor_Entry) GetKey() string

func (*RateLimitDescriptor_Entry) GetValue

func (x *RateLimitDescriptor_Entry) GetValue() string

func (*RateLimitDescriptor_Entry) ProtoMessage

func (*RateLimitDescriptor_Entry) ProtoMessage()

func (*RateLimitDescriptor_Entry) ProtoReflect added in v1.7.0

func (*RateLimitDescriptor_Entry) Reset

func (x *RateLimitDescriptor_Entry) Reset()

func (*RateLimitDescriptor_Entry) String

func (x *RateLimitDescriptor_Entry) String() string

func (*RateLimitDescriptor_Entry) Validate

func (m *RateLimitDescriptor_Entry) Validate() error

Validate checks the field values on RateLimitDescriptor_Entry with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RateLimitDescriptor_EntryValidationError

type RateLimitDescriptor_EntryValidationError struct {
	// contains filtered or unexported fields
}

RateLimitDescriptor_EntryValidationError is the validation error returned by RateLimitDescriptor_Entry.Validate if the designated constraints aren't met.

func (RateLimitDescriptor_EntryValidationError) Cause

Cause function returns cause value.

func (RateLimitDescriptor_EntryValidationError) Error

Error satisfies the builtin error interface

func (RateLimitDescriptor_EntryValidationError) ErrorName

ErrorName returns error name.

func (RateLimitDescriptor_EntryValidationError) Field

Field function returns field value.

func (RateLimitDescriptor_EntryValidationError) Key

Key function returns key value.

func (RateLimitDescriptor_EntryValidationError) Reason

Reason function returns reason value.

type RateLimitDescriptor_RateLimitOverride added in v1.7.0

type RateLimitDescriptor_RateLimitOverride struct {
	RequestsPerUnit uint32           `protobuf:"varint,1,opt,name=requests_per_unit,json=requestsPerUnit,proto3" json:"requests_per_unit,omitempty"`
	Unit            v3.RateLimitUnit `protobuf:"varint,2,opt,name=unit,proto3,enum=envoy.type.v3.RateLimitUnit" json:"unit,omitempty"`
	// contains filtered or unexported fields
}

func (*RateLimitDescriptor_RateLimitOverride) Descriptor deprecated added in v1.7.0

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

Deprecated: Use RateLimitDescriptor_RateLimitOverride.ProtoReflect.Descriptor instead.

func (*RateLimitDescriptor_RateLimitOverride) GetRequestsPerUnit added in v1.7.0

func (x *RateLimitDescriptor_RateLimitOverride) GetRequestsPerUnit() uint32

func (*RateLimitDescriptor_RateLimitOverride) GetUnit added in v1.7.0

func (*RateLimitDescriptor_RateLimitOverride) ProtoMessage added in v1.7.0

func (*RateLimitDescriptor_RateLimitOverride) ProtoMessage()

func (*RateLimitDescriptor_RateLimitOverride) ProtoReflect added in v1.7.0

func (*RateLimitDescriptor_RateLimitOverride) Reset added in v1.7.0

func (*RateLimitDescriptor_RateLimitOverride) String added in v1.7.0

func (*RateLimitDescriptor_RateLimitOverride) Validate added in v1.7.0

Validate checks the field values on RateLimitDescriptor_RateLimitOverride with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RateLimitDescriptor_RateLimitOverrideValidationError added in v1.7.0

type RateLimitDescriptor_RateLimitOverrideValidationError struct {
	// contains filtered or unexported fields
}

RateLimitDescriptor_RateLimitOverrideValidationError is the validation error returned by RateLimitDescriptor_RateLimitOverride.Validate if the designated constraints aren't met.

func (RateLimitDescriptor_RateLimitOverrideValidationError) Cause added in v1.7.0

Cause function returns cause value.

func (RateLimitDescriptor_RateLimitOverrideValidationError) Error added in v1.7.0

Error satisfies the builtin error interface

func (RateLimitDescriptor_RateLimitOverrideValidationError) ErrorName added in v1.7.0

ErrorName returns error name.

func (RateLimitDescriptor_RateLimitOverrideValidationError) Field added in v1.7.0

Field function returns field value.

func (RateLimitDescriptor_RateLimitOverrideValidationError) Key added in v1.7.0

Key function returns key value.

func (RateLimitDescriptor_RateLimitOverrideValidationError) Reason added in v1.7.0

Reason function returns reason value.

Jump to

Keyboard shortcuts

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