MCPcopy Create free account

hub / github.com/cel-expr/cel-go / functions

Functions9,178 in github.com/cel-expr/cel-go

MethodresultType
()
common/cost/estimator.go:1198
Functionround
(val ref.Val)
ext/math.go:672
FunctionselectFactory
(nav *navigableExprImpl)
common/ast/navigable.go:624
Functionsign
(val ref.Val)
ext/math.go:713
MethodsingleValue
()
common/cost/validate.go:212
MethodsingleValue
()
common/cost/validate.go:215
MethodsingleValue
()
common/cost/validate.go:216
MethodsingleValue
()
common/cost/validate.go:217
MethodsizingStrategy
sizingStrategy implements sizingStrategyContext.
common/cost/model.go:1325
MethodsizingStrategy
()
common/cost/estimator.go:1194
FunctionsortByMacro
sortByMacro transforms an expression like: mylistExpr.sortBy(e, -math.abs(e)) into something equivalent to: cel.bind( __sortBy_input__, m
ext/lists.go:650
Functionsqrt
(val ref.Val)
ext/math.go:739
FunctionstructEntryFactory
(nav *navigableExprImpl)
common/ast/navigable.go:656
FunctiontestK8sPolicyParser
(p *policy.Parser)
policy/test/k8s_cel_test_runner.go:36
FunctiontimestampGetDayOfMonthOneBased
(t time.Time)
common/types/timestamp.go:391
FunctiontimestampGetDayOfMonthOneBasedWithTz
(t time.Time, tz ref.Val)
common/types/timestamp.go:422
FunctiontimestampGetDayOfMonthZeroBased
(t time.Time)
common/types/timestamp.go:388
FunctiontimestampGetDayOfMonthZeroBasedWithTz
(t time.Time, tz ref.Val)
common/types/timestamp.go:419
FunctiontimestampGetDayOfWeek
(t time.Time)
common/types/timestamp.go:394
FunctiontimestampGetDayOfWeekWithTz
(t time.Time, tz ref.Val)
common/types/timestamp.go:425
FunctiontimestampGetDayOfYear
(t time.Time)
common/types/timestamp.go:385
FunctiontimestampGetDayOfYearWithTz
(t time.Time, tz ref.Val)
common/types/timestamp.go:416
FunctiontimestampGetFullYear
(t time.Time)
common/types/timestamp.go:377
FunctiontimestampGetFullYearWithTz
(t time.Time, tz ref.Val)
common/types/timestamp.go:410
FunctiontimestampGetHours
(t time.Time)
common/types/timestamp.go:397
FunctiontimestampGetHoursWithTz
(t time.Time, tz ref.Val)
common/types/timestamp.go:428
FunctiontimestampGetMilliseconds
(t time.Time)
common/types/timestamp.go:406
FunctiontimestampGetMillisecondsWithTz
(t time.Time, tz ref.Val)
common/types/timestamp.go:437
FunctiontimestampGetMinutes
(t time.Time)
common/types/timestamp.go:400
FunctiontimestampGetMinutesWithTz
(t time.Time, tz ref.Val)
common/types/timestamp.go:431
FunctiontimestampGetMonth
(t time.Time)
common/types/timestamp.go:380
FunctiontimestampGetMonthWithTz
(t time.Time, tz ref.Val)
common/types/timestamp.go:413
FunctiontimestampGetSeconds
(t time.Time)
common/types/timestamp.go:403
FunctiontimestampGetSecondsWithTz
(t time.Time, tz ref.Val)
common/types/timestamp.go:434
Methodtrack
(_ TrackContext)
common/cost/model.go:192
Methodtrack
(ctx TrackContext)
common/cost/model.go:215
Methodtrack
(ctx TrackContext)
common/cost/model.go:260
Methodtrack
(ctx TrackContext)
common/cost/model.go:285
Methodtrack
track reports the size of the largest element, matching the estimate, whose Max bounds every element rather than describing an average one. A value w
common/cost/model.go:325
Methodtrack
(ctx TrackContext)
common/cost/model.go:383
Methodtrack
(ctx TrackContext)
common/cost/model.go:413
Methodtrack
(ctx TrackContext)
common/cost/model.go:512
Methodtrack
(ctx TrackContext)
common/cost/model.go:553
Methodtrack
track reports the size of the largest key, matching the estimate, whose Max bounds every key rather than describing an average one. A value with no k
common/cost/model.go:585
Methodtrack
(ctx TrackContext)
common/cost/model.go:618
Methodtrack
(ctx TrackContext)
common/cost/model.go:647
Methodtrack
(ctx TrackContext)
common/cost/model.go:678
Methodtrack
(ctx TrackContext)
common/cost/model.go:703
Methodtrack
(ctx TrackContext)
common/cost/model.go:742
Methodtrack
(ctx TrackContext)
common/cost/model.go:778
Methodtrack
(ctx TrackContext)
common/cost/model.go:800
Methodtrack
(ctx TrackContext)
common/cost/model.go:825
Methodtrack
(ctx TrackContext)
common/cost/model.go:882
Methodtrack
(ctx TrackContext)
common/cost/model.go:909
Methodtrack
(ctx TrackContext)
common/cost/model.go:968
Methodtrack
(ctx TrackContext)
common/cost/model.go:1002
Methodtrack
(ctx TrackContext)
common/cost/model.go:1031
Methodtrack
(TrackContext)
common/cost/model_test.go:648
FunctiontrackCostQualify
(frame *ExecutionFrame, id int64)
interpreter/interpretable.go:2209
FunctiontrackIPIsCanonicalCost
(args []ref.Val, result ref.Val)
ext/network.go:748
FunctiontrackMathListCost
(args []ref.Val, _ ref.Val)
ext/math.go:971
FunctiontrackNetworkContainsCIDRCIDRCost
(args []ref.Val, result ref.Val)
ext/network.go:771
FunctiontrackNetworkContainsCIDRStringCost
(args []ref.Val, result ref.Val)
ext/network.go:778
FunctiontrackNetworkContainsIPIPCost
(args []ref.Val, result ref.Val)
ext/network.go:757
FunctiontrackNetworkContainsIPStringCost
(args []ref.Val, result ref.Val)
ext/network.go:763
FunctiontrackNetworkNominalCost
(args []ref.Val, result ref.Val)
ext/network.go:753
FunctiontrackNetworkParseCost
Runtime cost tracking functions for network extensions.
ext/network.go:743
FunctiontrackOptionalHasValue
trackOptionalHasValue computes the runtime cost of comparing an optional's value against the input argument, which is bounded by the size of the small
cel/library.go:773
FunctiontrackReplaceCost
(args []ref.Val, result ref.Val)
ext/regex.go:382
FunctiontrackTimestampToYear
(args []ref.Val, result ref.Val)
cel/cel_test.go:5199
FunctiontrackUnboundedCost
trackUnboundedCost reports the maximum actual cost for the overload invoked.
ext/security/hmac/hmac.go:289
Methodtrackers
()
common/cost/version.go:95
FunctiontransformList
(mef cel.MacroExprFactory, target ast.Expr, args []ast.Expr)
ext/comprehensions.go:298
FunctiontransformMap
(mef cel.MacroExprFactory, target ast.Expr, args []ast.Expr)
ext/comprehensions.go:333
FunctiontransformMapEntry
(mef cel.MacroExprFactory, target ast.Expr, args []ast.Expr)
ext/comprehensions.go:367
Functiontrunc
(val ref.Val)
ext/math.go:677
FunctionuintFieldGetter
(t *NativeType, refField reflect.StructField, offset uintptr, expectedPtrTyp, expectedStructTyp unsafe.Pointer
common/types/native.go:905
FunctionvalueToJSON
valueToJSON converts the CEL type to a protobuf JSON representation and marshals the result to a string.
codelab/codelab.go:274
← previous9,101–9,178 of 9,178, ranked by callers