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

Struct costTrackerFactory

interpreter/runtimecost.go:66–68  ·  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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected