apiserver/pkg/cel/library
Alex Zielenski b137c25637 Add quantity library to CEL (#118803)
* add quantity library to CEL

* add more tests to quantity

* use 1.29 env for quantity

* set CEL default env to 1.28 for 1.28 release

* add compare function

* docs and arith lib

* fixup addInt and subInt overload, add docs

* more tests

* cleanup docs

* remove old comments

* remove unnecessary cast

* add isInteger

* add overflow tests

* boilerplate

* refactor expectedResult for tests

* doc typo fix

* returns bool

* add docs link

* different dos link

* add isInteger true case

* expand iff

* add quantity back to 1.28 version, and revert change to DefaultCompatibilityVersion

* formatting

Kubernetes-commit: 423f4dfc7982136c958fc78e187c911a8896ba1b
2023-07-13 14:43:56 -07:00
..
authz.go Clean up reference to deleted denied function 2023-03-20 18:24:10 -07:00
cost.go CEL lib: Expose errors on authz decisions instead of raising them from check(). 2023-03-10 22:38:21 -05:00
cost_test.go Introduce CEL EnvSets for managing safe rollout of new CEL features, libraries and expression variables 2023-04-28 14:16:56 -04:00
library_compatibility_test.go Introduce CEL EnvSets for managing safe rollout of new CEL features, libraries and expression variables 2023-04-28 14:16:56 -04:00
lists.go move CEL package to apiserver package. 2022-10-07 15:02:47 -07:00
quantity.go Add quantity library to CEL (#118803) 2023-07-13 14:43:56 -07:00
quantity_test.go Add quantity library to CEL (#118803) 2023-07-13 14:43:56 -07:00
regex.go Introduce CEL EnvSets for managing safe rollout of new CEL features, libraries and expression variables 2023-04-28 14:16:56 -04:00
test.go Introduce CEL EnvSets for managing safe rollout of new CEL features, libraries and expression variables 2023-04-28 14:16:56 -04:00
urls.go getHost and getHostname have documentation swapped for IPv6 2023-02-08 19:50:02 +01:00