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

package envoy_extensions_common_ratelimit_v3

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

Index

Package Files

ratelimit.pb.go ratelimit.pb.validate.go

Variables

var File_envoy_extensions_common_ratelimit_v3_ratelimit_proto protoreflect.FileDescriptor

type RateLimitDescriptor Uses

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 Uses

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

Deprecated: Use RateLimitDescriptor.ProtoReflect.Descriptor instead.

func (*RateLimitDescriptor) GetEntries Uses

func (x *RateLimitDescriptor) GetEntries() []*RateLimitDescriptor_Entry

func (*RateLimitDescriptor) GetLimit Uses

func (x *RateLimitDescriptor) GetLimit() *RateLimitDescriptor_RateLimitOverride

func (*RateLimitDescriptor) ProtoMessage Uses

func (*RateLimitDescriptor) ProtoMessage()

func (*RateLimitDescriptor) ProtoReflect Uses

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

func (*RateLimitDescriptor) Reset Uses

func (x *RateLimitDescriptor) Reset()

func (*RateLimitDescriptor) String Uses

func (x *RateLimitDescriptor) String() string

func (*RateLimitDescriptor) Validate Uses

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 Uses

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 Uses

func (e RateLimitDescriptorValidationError) Cause() error

Cause function returns cause value.

func (RateLimitDescriptorValidationError) Error Uses

func (e RateLimitDescriptorValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimitDescriptorValidationError) ErrorName Uses

func (e RateLimitDescriptorValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimitDescriptorValidationError) Field Uses

func (e RateLimitDescriptorValidationError) Field() string

Field function returns field value.

func (RateLimitDescriptorValidationError) Key Uses

func (e RateLimitDescriptorValidationError) Key() bool

Key function returns key value.

func (RateLimitDescriptorValidationError) Reason Uses

func (e RateLimitDescriptorValidationError) Reason() string

Reason function returns reason value.

type RateLimitDescriptor_Entry Uses

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 Uses

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

Deprecated: Use RateLimitDescriptor_Entry.ProtoReflect.Descriptor instead.

func (*RateLimitDescriptor_Entry) GetKey Uses

func (x *RateLimitDescriptor_Entry) GetKey() string

func (*RateLimitDescriptor_Entry) GetValue Uses

func (x *RateLimitDescriptor_Entry) GetValue() string

func (*RateLimitDescriptor_Entry) ProtoMessage Uses

func (*RateLimitDescriptor_Entry) ProtoMessage()

func (*RateLimitDescriptor_Entry) ProtoReflect Uses

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

func (*RateLimitDescriptor_Entry) Reset Uses

func (x *RateLimitDescriptor_Entry) Reset()

func (*RateLimitDescriptor_Entry) String Uses

func (x *RateLimitDescriptor_Entry) String() string

func (*RateLimitDescriptor_Entry) Validate Uses

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 Uses

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 Uses

func (e RateLimitDescriptor_EntryValidationError) Cause() error

Cause function returns cause value.

func (RateLimitDescriptor_EntryValidationError) Error Uses

func (e RateLimitDescriptor_EntryValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimitDescriptor_EntryValidationError) ErrorName Uses

func (e RateLimitDescriptor_EntryValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimitDescriptor_EntryValidationError) Field Uses

func (e RateLimitDescriptor_EntryValidationError) Field() string

Field function returns field value.

func (RateLimitDescriptor_EntryValidationError) Key Uses

func (e RateLimitDescriptor_EntryValidationError) Key() bool

Key function returns key value.

func (RateLimitDescriptor_EntryValidationError) Reason Uses

func (e RateLimitDescriptor_EntryValidationError) Reason() string

Reason function returns reason value.

type RateLimitDescriptor_RateLimitOverride Uses

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 Uses

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

Deprecated: Use RateLimitDescriptor_RateLimitOverride.ProtoReflect.Descriptor instead.

func (*RateLimitDescriptor_RateLimitOverride) GetRequestsPerUnit Uses

func (x *RateLimitDescriptor_RateLimitOverride) GetRequestsPerUnit() uint32

func (*RateLimitDescriptor_RateLimitOverride) GetUnit Uses

func (x *RateLimitDescriptor_RateLimitOverride) GetUnit() v3.RateLimitUnit

func (*RateLimitDescriptor_RateLimitOverride) ProtoMessage Uses

func (*RateLimitDescriptor_RateLimitOverride) ProtoMessage()

func (*RateLimitDescriptor_RateLimitOverride) ProtoReflect Uses

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

func (*RateLimitDescriptor_RateLimitOverride) Reset Uses

func (x *RateLimitDescriptor_RateLimitOverride) Reset()

func (*RateLimitDescriptor_RateLimitOverride) String Uses

func (x *RateLimitDescriptor_RateLimitOverride) String() string

func (*RateLimitDescriptor_RateLimitOverride) Validate Uses

func (m *RateLimitDescriptor_RateLimitOverride) Validate() error

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 Uses

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 Uses

func (e RateLimitDescriptor_RateLimitOverrideValidationError) Cause() error

Cause function returns cause value.

func (RateLimitDescriptor_RateLimitOverrideValidationError) Error Uses

func (e RateLimitDescriptor_RateLimitOverrideValidationError) Error() string

Error satisfies the builtin error interface

func (RateLimitDescriptor_RateLimitOverrideValidationError) ErrorName Uses

func (e RateLimitDescriptor_RateLimitOverrideValidationError) ErrorName() string

ErrorName returns error name.

func (RateLimitDescriptor_RateLimitOverrideValidationError) Field Uses

func (e RateLimitDescriptor_RateLimitOverrideValidationError) Field() string

Field function returns field value.

func (RateLimitDescriptor_RateLimitOverrideValidationError) Key Uses

func (e RateLimitDescriptor_RateLimitOverrideValidationError) Key() bool

Key function returns key value.

func (RateLimitDescriptor_RateLimitOverrideValidationError) Reason Uses

func (e RateLimitDescriptor_RateLimitOverrideValidationError) Reason() string

Reason function returns reason value.

Package envoy_extensions_common_ratelimit_v3 imports 19 packages (graph) and is imported by 4 packages. Updated 2020-07-10. Refresh now. Tools for package owners.