Joe Betz
0de899d1ed
Add subresource to operation, do not special case subresources in validation-gen
...
Kubernetes-commit: 2119555e02b357db58e460cd8f38bf187b5f837b
2025-03-26 21:26:14 -04:00
Joe Betz
24d512c91f
Fix subresource parsing for declarative validation
...
Kubernetes-commit: d9a2dee622c0d2f2079194ff9700310041c10ed2
2025-03-13 13:05:54 -04:00
Aaron Prindle
4fe686a430
chore: change Info->Error log level related to declarative validation runtime tests and refactor panic wrapper names
...
Kubernetes-commit: 08745086e2df0cf1a91cbe5bb305c968f1d5bf2a
2025-03-12 17:40:33 +00:00
Aaron Prindle
b8750e7396
feat: add declarative validation metrics and associated runtime verification tests
...
Kubernetes-commit: de904f8099252fd740b4d93e5a661b20aad12ef1
2025-03-06 21:33:12 +00:00
Aaron Prindle
97b6cb1aeb
chore: change error_matcher.go to use test interface instead of importing testing pkg
...
Kubernetes-commit: cd9df2f115a95835e07cddf740861dbd8f6f3988
2025-03-11 05:24:07 +00:00
Tim Hockin
0b0eaa35e1
Fix up ErrorMatcher from feedback
...
a) Rename the type and drop the constructor
b) Make MatchErrors() into a Test() method
For followup:
c) Consider making ByType() assumed
d) Consider making ByField() assumed and handle nil as "don't care"
e) Consider making ByValue() assumed and handle nil as "don't care"
Kubernetes-commit: 0a9f492eedf6dd68fee12e4606d3fef4d608d88f
2025-03-03 10:23:18 -08:00
Joe Betz
7c0ba21066
Add declarative validation utility for use from strategies
...
Kubernetes-commit: ffc1b32c660e3480381f4b13d0fbaa1313cf1318
2025-03-03 19:37:11 -05:00