rule

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMessageFields

func AddMessageFields(prefix, fkey, fkey2, key string, pm map[string]interface{}, msg interface{}, ct *CaseType, vd *VarData,
	vp map[string]*VarType, p *OpType, fp *FileType) interface{}

func ConditionSatisfied

func ConditionSatisfied(ops []OpType, vt map[string]*VarType, vd *VarData) bool

func DeleteMessageFields

func DeleteMessageFields(prefix, fkey, fkey2, key string, pm map[string]interface{}, msg interface{}, ct *CaseType, vd *VarData,
	vp map[string]*VarType, p *OpType, fp *FileType) interface{}

func FoundID

func FoundID(id int, d []int) bool

func FoundKey

func FoundKey(key string, s []string) bool

func HasCallback

func HasCallback(key string, t *Testing, vd *VarData) bool

func HasKnownField

func HasKnownField(mid, key string, t *Testing, op *OpType, vd *VarData) bool

func HasUnknownField

func HasUnknownField(mid, key string, t *Testing, op *OpType, vd *VarData) bool

func IsBin

func IsBin(key string, t *Testing) bool

func IsCall

func IsCall(key string, t *Testing) bool

func IsConfig

func IsConfig(key string, t *Testing) bool

func IsFunc

func IsFunc(key string, t *Testing) bool

func RunBins

func RunBins(vt int, mid, vk, key string, r TaskRequest, t *Testing,
	ct *CaseType, pc *ControlType, op *OpType, vd *VarData) int

func RunBuiltin

func RunBuiltin(vt int, mid, vk, key string, r TaskRequest, t *Testing,
	ct *CaseType, pc *ControlType, op *OpType, vd *VarData)

func RunCallback

func RunCallback(key string, t *Testing, vd *VarData, params ...interface{}) []reflect.Value

func RunFuncs

func RunFuncs(vt int, mid, vk, key string, r TaskRequest, t *Testing,
	ct *CaseType, pc *ControlType, op *OpType, vd *VarData)

func SearchOp

func SearchOp(key string, ops []OpType) int

func SearchWildcardPaths

func SearchWildcardPaths(start int, ops []OpType, vd *VarData) (string, map[string]interface{})

func SetValue

func SetValue(mid, key string, ct *CaseType, vd *VarData, vp map[string]*VarType, p *OpType) []interface{}

func UpdateRespVar

func UpdateRespVar(id, vt int, r TaskRequest, t *Testing, ct *CaseType, pc *ControlType, ft *FlowType,
	tp *TemplateVarType, vd *VarData) int

func UpdateVar

func UpdateVar(id, vt int, proto string, r TaskRequest, t *Testing, ct *CaseType, pc *ControlType, ft *FlowType,
	tp *TemplateVarType, vd *VarData) int

func VerificationPassed

func VerificationPassed(start int, ops []OpType, vt map[string]*VarType, vd *VarData, fds map[string]*VarData) bool

func WildcardConditionSatisfied

func WildcardConditionSatisfied(start int, prefix string, m, tm map[string]interface{}, ops []OpType, vt map[string]*VarType, vd *VarData) bool

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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