go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/filter/network/local_rate_limit/v2alpha Index | Files

package envoy_config_filter_network_local_rate_limit_v2alpha

import "github.com/envoyproxy/go-control-plane/envoy/config/filter/network/local_rate_limit/v2alpha"

Index

Package Files

local_rate_limit.pb.go local_rate_limit.pb.validate.go

Variables

var File_envoy_config_filter_network_local_rate_limit_v2alpha_local_rate_limit_proto protoreflect.FileDescriptor

type LocalRateLimit Uses

type LocalRateLimit struct {
    StatPrefix     string                   `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
    TokenBucket    *_type.TokenBucket       `protobuf:"bytes,2,opt,name=token_bucket,json=tokenBucket,proto3" json:"token_bucket,omitempty"`
    RuntimeEnabled *core.RuntimeFeatureFlag `protobuf:"bytes,3,opt,name=runtime_enabled,json=runtimeEnabled,proto3" json:"runtime_enabled,omitempty"`
    // contains filtered or unexported fields
}

func (*LocalRateLimit) Descriptor Uses

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

Deprecated: Use LocalRateLimit.ProtoReflect.Descriptor instead.

func (*LocalRateLimit) GetRuntimeEnabled Uses

func (x *LocalRateLimit) GetRuntimeEnabled() *core.RuntimeFeatureFlag

func (*LocalRateLimit) GetStatPrefix Uses

func (x *LocalRateLimit) GetStatPrefix() string

func (*LocalRateLimit) GetTokenBucket Uses

func (x *LocalRateLimit) GetTokenBucket() *_type.TokenBucket

func (*LocalRateLimit) ProtoMessage Uses

func (*LocalRateLimit) ProtoMessage()

func (*LocalRateLimit) ProtoReflect Uses

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

func (*LocalRateLimit) Reset Uses

func (x *LocalRateLimit) Reset()

func (*LocalRateLimit) String Uses

func (x *LocalRateLimit) String() string

func (*LocalRateLimit) Validate Uses

func (m *LocalRateLimit) Validate() error

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

type LocalRateLimitValidationError Uses

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

LocalRateLimitValidationError is the validation error returned by LocalRateLimit.Validate if the designated constraints aren't met.

func (LocalRateLimitValidationError) Cause Uses

func (e LocalRateLimitValidationError) Cause() error

Cause function returns cause value.

func (LocalRateLimitValidationError) Error Uses

func (e LocalRateLimitValidationError) Error() string

Error satisfies the builtin error interface

func (LocalRateLimitValidationError) ErrorName Uses

func (e LocalRateLimitValidationError) ErrorName() string

ErrorName returns error name.

func (LocalRateLimitValidationError) Field Uses

func (e LocalRateLimitValidationError) Field() string

Field function returns field value.

func (LocalRateLimitValidationError) Key Uses

func (e LocalRateLimitValidationError) Key() bool

Key function returns key value.

func (LocalRateLimitValidationError) Reason Uses

func (e LocalRateLimitValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_filter_network_local_rate_limit_v2alpha imports 20 packages (graph) and is imported by 3 packages. Updated 2020-07-20. Refresh now. Tools for package owners.