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

Method ProgramOptions

ext/security/hmac/hmac.go:266–272  ·  view source on GitHub ↗

ProgramOptions returns program options for HMAC extensions.

()

Source from the content-addressed store, hash-verified

264
265// ProgramOptions returns program options for HMAC extensions.
266func (l *hmacLib) ProgramOptions() []cel.ProgramOption {
267 trackers := make([]cost.TrackerOption, 0, len(unboundedCostOverloads))
268 for _, overloadID := range unboundedCostOverloads {
269 trackers = append(trackers, cost.OverloadTracker(overloadID, trackUnboundedCost))
270 }
271 return []cel.ProgramOption{cel.CostTrackerOptions(trackers...)}
272}
273
274// unboundedCostOverloads are the overload identifiers reported as having an
275// unbounded estimated and actual cost.

Callers

nothing calls this directly

Calls 2

OverloadTrackerFunction · 0.92
CostTrackerOptionsFunction · 0.92

Tested by

no test coverage detected