MCPcopy Create free account
hub / github.com/cel-expr/cel-go / costTrackerFactory

Struct costTrackerFactory

interpreter/runtimecost.go:65–67  ·  view source on GitHub ↗

costTrackerFactory holds a factory for producing new CostTracker instances on each Eval call.

Source from the content-addressed store, hash-verified

63
64// costTrackerFactory holds a factory for producing new CostTracker instances on each Eval call.
65type costTrackerFactory struct {
66 factory func() (*CostTracker, error)
67}
68
69// InitState produces a CostTracker and bundles it into an Activation in a way which is not visible
70// to expression evaluation.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected