MCPcopy Create free account
hub / github.com/astercloud/aster / Reject

Method Reject

pkg/executionplan/types.go:195–200  ·  view source on GitHub ↗

Reject 拒绝计划

(note string)

Source from the content-addressed store, hash-verified

193
194// Reject 拒绝计划
195func (p *ExecutionPlan) Reject(note string) {
196 p.UserApproved = false
197 p.RejectionNote = note
198 p.Status = StatusCancelled
199 p.UpdatedAt = time.Now()
200}
201
202// MarkStepStarted 标记步骤开始
203func (p *ExecutionPlan) MarkStepStarted(index int) {

Callers 2

TestRejectFunction · 0.95
RejectPlanMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestRejectFunction · 0.76