judger

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JudgeUrlLabel

func JudgeUrlLabel(url *common.URL, labels map[string]string) bool

nolint

Types

type AttachmentMatchJudger

type AttachmentMatchJudger struct {
	config.DubboAttachmentMatch
}

func NewAttachmentMatchJudger

func NewAttachmentMatchJudger(matchConf *config.DubboAttachmentMatch) *AttachmentMatchJudger

nolint

func (*AttachmentMatchJudger) Judge

func (j *AttachmentMatchJudger) Judge(invocation protocol.Invocation) bool

nolint

type BoolMatchJudger

type BoolMatchJudger struct {
	config.BoolMatch
}

nolint

func (*BoolMatchJudger) Judge

func (j *BoolMatchJudger) Judge(input bool) bool

nolint

type DoubleMatchJudger

type DoubleMatchJudger struct {
	config.DoubleMatch
}

nolint

func (*DoubleMatchJudger) Judge

func (j *DoubleMatchJudger) Judge(input float64) bool

nolint

type DoubleRangeMatchJudger

type DoubleRangeMatchJudger struct {
	config.DoubleRangeMatch
}

nolint

func (*DoubleRangeMatchJudger) Judge

func (j *DoubleRangeMatchJudger) Judge(input float64) bool

nolint

type ListDoubleMatchJudger

type ListDoubleMatchJudger struct {
	config.ListDoubleMatch
}

nolint

func (*ListDoubleMatchJudger) Judge

func (j *ListDoubleMatchJudger) Judge(input float64) bool

nolint

type ListStringMatchJudger

type ListStringMatchJudger struct {
	config.ListStringMatch
}

nolint

func (*ListStringMatchJudger) Judge

func (j *ListStringMatchJudger) Judge(input string) bool

nolint

type MethodMatchJudger

type MethodMatchJudger struct {
	config.DubboMethodMatch
}

nolint

func NewMethodMatchJudger

func NewMethodMatchJudger(matchConf *config.DubboMethodMatch) *MethodMatchJudger

nolint

func (*MethodMatchJudger) Judge

func (j *MethodMatchJudger) Judge(invocation protocol.Invocation) bool

Judge Method Match Judger only judge on

type StringMatchJudger

type StringMatchJudger struct {
	config.StringMatch
}

nolint

func NewStringMatchJudger

func NewStringMatchJudger(matchConf *config.StringMatch) *StringMatchJudger

nolint

func (*StringMatchJudger) Judge

func (j *StringMatchJudger) Judge(input string) bool

nolint

Jump to

Keyboard shortcuts

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