MCPcopy Index your code
hub / github.com/netdata/netdata / newPreparedAttempt

Function newPreparedAttempt

src/go/plugin/framework/chartengine/attempt.go:93–112  ·  view source on GitHub ↗
(
	engine *Engine,
	plan Plan,
	materialized materializedState,
	epoch uint64,
	commitSeq uint64,
	attemptID uint64,
)

Source from the content-addressed store, hash-verified

91}
92
93func newPreparedAttempt(
94 engine *Engine,
95 plan Plan,
96 materialized materializedState,
97 epoch uint64,
98 commitSeq uint64,
99 attemptID uint64,
100) PlanAttempt {
101 return PlanAttempt{
102 state: &planAttemptState{
103 engine: engine,
104 plan: plan,
105 materialized: materialized,
106 epoch: epoch,
107 commitSeq: commitSeq,
108 attemptID: attemptID,
109 reserved: true,
110 },
111 }
112}
113
114func newNoopAttempt(plan Plan) PlanAttempt {
115 return PlanAttempt{

Callers 1

PreparePlanMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…