service

package
v0.0.0-...-77e6e3b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecScenario

func ExecScenario(execObj *agentExec.ScenarioExecObj, selectedEnvironmentId int, wsMsg *websocket.Message) (
	session *agentExec.Session, err error)

func GenConditionLogsForCase

func GenConditionLogsForCase(obj *agentExec.InterfaceExecObj) (ret []interface{})

func GetCasesToExec

func GetCasesToExec(req *agentExec.CasesExecReq) (ret agentExec.CaseExecProcessor)

for cases exec

func GetInterfaceToExec

func GetInterfaceToExec(req v1.InterfaceCall) (ret agentExec.InterfaceExecObj)

for interface invocation in both endpoint and scenario

func GetMessageToExec

func GetMessageToExec(req *agentExec.MessageExecReq) (ret *agentExec.MessageExecObj)

func GetPlanNormalData

func GetPlanNormalData(req *agentExec.PlanExecReq) (ret agentDomain.Report, err error)

func GetPlanToExec

func GetPlanToExec(req *agentExec.PlanExecReq) (ret *agentExec.PlanExecObj)

for plan exec

func GetScenarioNormalData

func GetScenarioNormalData(req *agentExec.ScenarioExecReq) (ret agentDomain.Report)

func GetScenarioToExec

func GetScenarioToExec(req *agentExec.ScenarioExecReq) (ret *agentExec.ScenarioExecObj)

for scenario exec

func ParseSpec

func ParseSpec(req v1.ParseSpecReq) (err error)

func PostRequest

func PostRequest(originalReqUri string, req *domain.DebugData) (err error)

func PreRequest

func PreRequest(req *domain.DebugData, execUuid string) (originalReqUri string, err error)

func RequestInterface

func RequestInterface(req *domain.DebugData) (ret domain.DebugResponse, err error)

func RestoreEntityFromRawAndSetParent

func RestoreEntityFromRawAndSetParent(root *agentExec.Processor) (err error)

func RunCases

func RunCases(req *agentExec.CasesExecReq, localVarsCache iris.Map, wsMsg *websocket.Message) (err error)

func RunInterface

func RunInterface(call agentDomain.InterfaceCall) (resultReq domain.DebugData, resultResp domain.DebugResponse, err error)

func RunMessage

func RunMessage(req *agentExec.MessageExecReq, wsMsg *websocket.Message) (err error)

func RunPlan

func RunPlan(req *agentExec.PlanExecReq, localVarsCache iris.Map, wsMsg *websocket.Message) (err error)

func RunScenario

func RunScenario(req *agentExec.ScenarioExecReq, localVarsCache iris.Map, wsMsg *websocket.Message) (err error)

func StartExec

func StartExec(req agentDomain.WsReq, wsMsg *websocket.Message) (err error)

func StopExec

func StopExec(execUuid string, wsMsg *websocket.Message) (err error)

func SubmitInterfaceResult

func SubmitInterfaceResult(execObj agentExec.InterfaceExecObj, respObj domain.DebugResponse, resultStatus consts.ResultStatus,
	serverUrl, token string) (err error)

func SubmitPlanResult

func SubmitPlanResult(result agentDomain.PlanExecResult, planId int, serverUrl, token string, tenantId consts.TenantId) (
	report agentDomain.Report, err error)

func SubmitScenarioResult

func SubmitScenarioResult(result agentDomain.ScenarioExecResult, scenarioId uint, serverUrl, token string, tenantId consts.TenantId) (
	report agentDomain.Report, err error)

func UpdateUrl

func UpdateUrl(debugData domain.DebugData) (reqUrl, originalReqUri string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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