throttle

package
v0.0.0-...-0c1943d Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_wso2_discovery_throttle_blocking_conditions_proto protoreflect.FileDescriptor
View Source
var File_wso2_discovery_throttle_throttle_data_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type IPCondition

type IPCondition struct {
	Type         string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id           int32  `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	FixedIp      string `protobuf:"bytes,3,opt,name=fixedIp,proto3" json:"fixedIp,omitempty"`
	StartingIp   string `protobuf:"bytes,4,opt,name=startingIp,proto3" json:"startingIp,omitempty"`
	EndingIp     string `protobuf:"bytes,5,opt,name=endingIp,proto3" json:"endingIp,omitempty"`
	Invert       bool   `protobuf:"varint,6,opt,name=invert,proto3" json:"invert,omitempty"`
	TenantDomain string `protobuf:"bytes,7,opt,name=tenantDomain,proto3" json:"tenantDomain,omitempty"`
	// contains filtered or unexported fields
}

IP blocking condition model

func (*IPCondition) Descriptor deprecated

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

Deprecated: Use IPCondition.ProtoReflect.Descriptor instead.

func (*IPCondition) GetEndingIp

func (x *IPCondition) GetEndingIp() string

func (*IPCondition) GetFixedIp

func (x *IPCondition) GetFixedIp() string

func (*IPCondition) GetId

func (x *IPCondition) GetId() int32

func (*IPCondition) GetInvert

func (x *IPCondition) GetInvert() bool

func (*IPCondition) GetStartingIp

func (x *IPCondition) GetStartingIp() string

func (*IPCondition) GetTenantDomain

func (x *IPCondition) GetTenantDomain() string

func (*IPCondition) GetType

func (x *IPCondition) GetType() string

func (*IPCondition) ProtoMessage

func (*IPCondition) ProtoMessage()

func (*IPCondition) ProtoReflect

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

func (*IPCondition) Reset

func (x *IPCondition) Reset()

func (*IPCondition) String

func (x *IPCondition) String() string

type ThrottleData

type ThrottleData struct {
	KeyTemplates         []string       `protobuf:"bytes,1,rep,name=key_templates,json=keyTemplates,proto3" json:"key_templates,omitempty"`
	BlockingConditions   []string       `protobuf:"bytes,2,rep,name=blocking_conditions,json=blockingConditions,proto3" json:"blocking_conditions,omitempty"`
	IpBlockingConditions []*IPCondition `protobuf:"bytes,3,rep,name=ip_blocking_conditions,json=ipBlockingConditions,proto3" json:"ip_blocking_conditions,omitempty"`
	// contains filtered or unexported fields
}

Throttle Data model

func (*ThrottleData) Descriptor deprecated

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

Deprecated: Use ThrottleData.ProtoReflect.Descriptor instead.

func (*ThrottleData) GetBlockingConditions

func (x *ThrottleData) GetBlockingConditions() []string

func (*ThrottleData) GetIpBlockingConditions

func (x *ThrottleData) GetIpBlockingConditions() []*IPCondition

func (*ThrottleData) GetKeyTemplates

func (x *ThrottleData) GetKeyTemplates() []string

func (*ThrottleData) ProtoMessage

func (*ThrottleData) ProtoMessage()

func (*ThrottleData) ProtoReflect

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

func (*ThrottleData) Reset

func (x *ThrottleData) Reset()

func (*ThrottleData) String

func (x *ThrottleData) String() string

Jump to

Keyboard shortcuts

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