MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / opResetSet

Method opResetSet

pkg/controller/rtctrl/event.go:282–289  ·  view source on GitHub ↗

opStopSet

(interface{})

Source from the content-addressed store, hash-verified

280
281// opStopSet
282func (info *RuntimeInfo) opResetSet(interface{}) error {
283 info.CommitID = ""
284 info.UserID = ""
285 info.Concurrency = 0
286 info.ConcurrentMode = info.DefaultConcurrentMode
287 info.updateLastResetTime()
288 return nil
289}
290
291// CAS check and set runtime info
292func (info *RuntimeInfo) CAS(opType CASOpType, args interface{}) (err error) {

Callers

nothing calls this directly

Calls 1

updateLastResetTimeMethod · 0.95

Tested by

no test coverage detected