1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
kyverno/pkg/engine
Charles-Edouard Brétéché 417b2a9eba
chore: add a few unit tests for jp functions (#6219)
* chore: add a few unit tests for jp functions

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* refactor

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
2023-02-06 06:27:27 +00:00
..
anchor Replaces manually written logic with regex for matching anchor elements (#6133) 2023-01-30 12:17:19 +00:00
api refactor: add more functionnalities to engine interface (#6212) 2023-02-06 13:49:47 +08:00
apicall Remove dependency on github.com/pkg/errors (#6165) 2023-02-01 14:38:04 +08:00
context refactor: more engine interface (#6199) 2023-02-03 13:01:11 +08:00
jmespath chore: add a few unit tests for jp functions (#6219) 2023-02-06 06:27:27 +00:00
jsonutils refactor: move util funcs in sub packages (#5754) 2022-12-22 06:39:54 +00:00
mutate Remove dependency on github.com/pkg/errors (#6165) 2023-02-01 14:38:04 +08:00
operator fix: change inrange operator regexs (#5962) 2023-01-16 16:23:36 +01:00
pattern fix: change inrange operator regexs (#5962) 2023-01-16 16:23:36 +01:00
resources Yaml signing and verification (#4235) 2022-08-30 10:14:54 -07:00
utils refactor: merge engine common and utils packages (#6160) 2023-01-30 18:26:35 +00:00
validate Replaces manually written logic with regex for matching anchor elements (#6133) 2023-01-30 12:17:19 +00:00
variables refactor: engine pattern package and add duration support (#5958) 2023-01-10 14:07:26 +01:00
wildcards Replaces manually written logic with regex for matching anchor elements (#6133) 2023-01-30 12:17:19 +00:00
attestation_test.go Nested foreach (#5589) 2022-12-12 15:20:20 +00:00
background.go refactor: add more functionnalities to engine interface (#6212) 2023-02-06 13:49:47 +08:00
common.go refactor: introduce policy context interface in engine api (#6177) 2023-01-31 15:28:48 +00:00
common_test.go refactor: introduce policy context interface in engine api (#6177) 2023-01-31 15:28:48 +00:00
engine.go refactor: add more functionnalities to engine interface (#6212) 2023-02-06 13:49:47 +08:00
exceptions.go refactor: add more functionnalities to engine interface (#6212) 2023-02-06 13:49:47 +08:00
forceMutate.go Remove dependency on github.com/pkg/errors (#6165) 2023-02-01 14:38:04 +08:00
forceMutate_test.go chore: move ConvertToUnstructured from engine utils to kube utils (#5847) 2023-01-03 12:02:15 +00:00
generation.go refactor: add more functionnalities to engine interface (#6212) 2023-02-06 13:49:47 +08:00
imageVerify.go refactor: add more functionnalities to engine interface (#6212) 2023-02-06 13:49:47 +08:00
imageVerify_test.go refactor: add more functionnalities to engine interface (#6212) 2023-02-06 13:49:47 +08:00
imageVerifyValidate.go refactor: introduce engine interface in engine api (#6181) 2023-02-02 10:58:34 +00:00
jsonContext.go refactor: more engine interface (#6199) 2023-02-03 13:01:11 +08:00
k8smanifest.go Remove dependency on github.com/pkg/errors (#6165) 2023-02-01 14:38:04 +08:00
k8smanifest_test.go refactor: make policy context immutable and fields private (#5523) 2022-12-02 16:14:23 +08:00
loadtargets.go refactor: introduce policy context interface in engine api (#6177) 2023-01-31 15:28:48 +00:00
loadtargets_test.go Load mutate.targets via dclient (#3797) 2022-05-06 05:46:36 +00:00
mutation.go refactor: add more functionnalities to engine interface (#6212) 2023-02-06 13:49:47 +08:00
mutation_test.go refactor: add more functionnalities to engine interface (#6212) 2023-02-06 13:49:47 +08:00
policyContext.go refactor: add more functionnalities to engine interface (#6212) 2023-02-06 13:49:47 +08:00
utils.go Remove dependency on github.com/pkg/errors (#6165) 2023-02-01 14:38:04 +08:00
utils_test.go fix: policy match Kind case-senstive (#6008) 2023-01-16 16:01:05 +08:00
validation.go refactor: add more functionnalities to engine interface (#6212) 2023-02-06 13:49:47 +08:00
validation_test.go refactor: add more functionnalities to engine interface (#6212) 2023-02-06 13:49:47 +08:00