rc_exec

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorPanic = errors.New("the program aborted")
)
View Source
var (
	MPanic = app_msg.Apply(&MsgPanic{}).(*MsgPanic)
)

Functions

func DoSpec

func DoSpec(ctl app_control.Control, spec rc_recipe.Spec, custom func(r rc_recipe.Recipe), do func(r rc_recipe.Recipe, ctl app_control.Control) error) error

func Exec

func Exec(ctl app_control.Control, r rc_recipe.Recipe, custom func(r rc_recipe.Recipe)) error

func ExecMock

func ExecMock(ctl app_control.Control, r rc_recipe.Recipe, custom func(r rc_recipe.Recipe)) error

Execute with mock test mode

func ExecReplay

func ExecReplay(ctl app_control.Control, r rc_recipe.Recipe, replayName string, custom func(r rc_recipe.Recipe)) error

Execute with mock test mode

func ExecSpec

func ExecSpec(ctl app_control.Control, spec rc_recipe.Spec, custom func(r rc_recipe.Recipe)) error

Types

type ErrorTrace

type ErrorTrace struct {
	Depth int    `json:"depth"`
	File  string `json:"file"`
	Line  int    `json:"line"`
}

type MsgPanic

type MsgPanic struct {
	ErrorRecipePanic app_msg.Message
	ErrorCrashReport app_msg.Message
}

Jump to

Keyboard shortcuts

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