processors

package
v0.0.0-...-ae485d8 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRulerLoader

func InitRulerLoader()

Types

type RequestProcessor

type RequestProcessor struct {
}

processor

func (RequestProcessor) Process

func (r RequestProcessor) Process(process *models.Process)

process

func (RequestProcessor) ProcessAssert

func (r RequestProcessor) ProcessAssert(process *models.Process) []*models.Notification

process assert

func (RequestProcessor) ProcessBodyAssert

func (r RequestProcessor) ProcessBodyAssert(process *models.Process, assert models.AssertItem) bool

process body assert

func (RequestProcessor) ProcessJsonPathAssert

func (r RequestProcessor) ProcessJsonPathAssert(process *models.Process, assert models.AssertItem) bool

json path assert

func (RequestProcessor) ProcessStatusAssert

func (r RequestProcessor) ProcessStatusAssert(process *models.Process, assert models.AssertItem) bool

process status assert

func (RequestProcessor) SendNotifications

func (r RequestProcessor) SendNotifications(notifications []*models.Notification)

send notifications

type RulerLoader

type RulerLoader struct {
	// contains filtered or unexported fields
}
var Loader RulerLoader

func NewRulerLoader

func NewRulerLoader() RulerLoader

func (RulerLoader) Close

func (r RulerLoader) Close() error

func (RulerLoader) HandleNotifications

func (r RulerLoader) HandleNotifications(notifications []*models.Notification, process *models.Process) []*models.Notification

func (RulerLoader) Init

func (r RulerLoader) Init() error

Jump to

Keyboard shortcuts

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