MCPcopy
hub / github.com/mcuadros/ofelia / Stop

Method Stop

core/common.go:107–114  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

105}
106
107func (c *Context) Stop(err error) {
108 if !c.Execution.IsRunning {
109 return
110 }
111
112 c.Execution.Stop(err)
113 c.Job.NotifyStop()
114}
115
116func (c *Context) Log(msg string) {
117 args := []interface{}{c.Job.GetName(), c.Execution.ID, msg}

Callers 14

NextMethod · 0.95
RunMethod · 0.45
shutdownMethod · 0.45
TestRunSuccessMethod · 0.45
TestRunSuccessFailedMethod · 0.45
TestRunSuccessOnErrorMethod · 0.45
RunMethod · 0.45
RunMethod · 0.45
TestRunSuccessMethod · 0.45
TestRunSuccessOnErrorMethod · 0.45
TestSensitiveDataMethod · 0.45
RunMethod · 0.45

Calls 1

NotifyStopMethod · 0.65

Tested by 8

RunMethod · 0.36
TestRunSuccessMethod · 0.36
TestRunSuccessFailedMethod · 0.36
TestRunSuccessOnErrorMethod · 0.36
TestRunSuccessMethod · 0.36
TestRunSuccessOnErrorMethod · 0.36
TestSensitiveDataMethod · 0.36
TestRunSuccessMethod · 0.36