1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-08 10:04:25 +00:00
kyverno/pkg/engine
Kumar Mallikarjuna a667a69812
JMESPath arithmetic function units (#2753)
* MAS arithmetic functions

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

* Adding Divide() and Modulo()

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

* Added tests

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

* Tidy go.mod

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

* Fix lift issues

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

* Set division scale to maximum of operands

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

* Precision for Add()/Subtract()

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

* Set duration precision

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

* Added comment for duration diff calculation

Signed-off-by: Kumar Mallikarjuna <kumarmallikarjuna1@gmail.com>

Co-authored-by: Bricktop <marcel.mueller1@rwth-aachen.de>
2021-12-07 15:44:46 +00:00
..
anchor Fix various go lint issues (#2639) 2021-10-29 17:06:03 +02:00
common Fix various go lint issues (#2639) 2021-10-29 17:06:03 +02:00
context redo variable validation (#2647) 2021-11-03 11:16:55 -07:00
jmespath JMESPath arithmetic function units (#2753) 2021-12-07 15:44:46 +00:00
jsonutils Fix various go lint issues (#2639) 2021-10-29 17:06:03 +02:00
mutate Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
operator *Range Operators (#2622) 2021-10-29 13:48:23 +02:00
response Fix various go lint issues (#2639) 2021-10-29 17:06:03 +02:00
utils Cleanup imports (#2635) 2021-10-29 12:24:26 +02:00
validate Improving readability (#2638) 2021-10-29 14:48:22 +02:00
variables Wildcard values (#2692) 2021-11-15 15:02:46 +01:00
wildcards updating minio verison (#1956) 2021-06-09 19:16:26 -07:00
apiPath.go Set Version to Group/Version for /apis/* URLs 2021-03-06 00:22:12 -05:00
apiPath_test.go Add unit test 2021-03-08 22:56:14 -05:00
forceMutate.go Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
forceMutate_test.go Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
generation.go Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
imageVerify.go fix: update registry credentials on verify (#2798) 2021-12-06 16:08:16 -08:00
imageVerify_test.go Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
jsonContext.go Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
jsonContext_test.go Cleanup imports (#2635) 2021-10-29 12:24:26 +02:00
mutation.go re-apply policies to managed pods (#2648) 2021-11-01 11:08:24 -07:00
mutation_test.go Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
policyContext.go Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
utils.go Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
utils_test.go Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
validation.go re-apply policies to managed pods (#2648) 2021-11-01 11:08:24 -07:00
validation_test.go Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00