Commit graph

34 commits

Author SHA1 Message Date
Yann Hamon
0ddf4e9a50 more nits 2020-06-01 12:44:59 +02:00
Yann Hamon
b4547ce367 Revert "skip resources that have no Kind defined"
This reverts commit 8c23417561.
2020-06-01 05:19:54 +02:00
Yann Hamon
8c23417561 skip resources that have no Kind defined 2020-06-01 05:15:41 +02:00
Yann Hamon
742d8cdf7e bugfixes 2020-06-01 05:08:45 +02:00
Yann Hamon
df62a49c17 refactor 2020-05-31 22:45:25 +02:00
Yann Hamon
c7780e1e6a fix: invalid resources leading to two results 2020-05-31 22:43:45 +02:00
Yann Hamon
1eaa259006 further breakdown of main function 2020-05-31 20:20:53 +02:00
Yann Hamon
0cb1f40f24 further breakdown of main function 2020-05-31 20:16:03 +02:00
Yann Hamon
795cc54679 make logic more explicit 2020-05-31 20:03:50 +02:00
Yann Hamon
ed0ca92439 effort to simplify the main schema validation logic loop 2020-05-31 20:01:09 +02:00
Yann Hamon
c4bd7d0668 some linting simplifications 2020-05-31 19:29:30 +02:00
Yann Hamon
0048283a93 return 1 if there has been at least one failure 2020-05-31 17:25:20 +02:00
Yann Hamon
d5da392bcf fix - ensure summary is printed at the end 2020-05-31 17:04:21 +02:00
Yann Hamon
d94b0abf64 make logging non-concurrent, remove mutexes from output pkg 2020-05-31 17:03:02 +02:00
Yann Hamon
05da409a0a Support multi-resource files, include kind/version in logging 2020-05-31 16:47:30 +02:00
Yann Hamon
c6526d7278 Default to non-strict 2020-05-31 04:36:29 +02:00
Yann Hamon
1f176b8255 Default to non-strict 2020-05-31 04:32:19 +02:00
Yann Hamon
11cfca1498 Better logging messages 2020-05-31 04:27:18 +02:00
Yann Hamon
ae5fbffb95 add quiet mode, fix race condition in statistics 2020-05-31 03:48:38 +02:00
Yann Hamon
b918da9c59 rework caching - less leak of goschema everywhere 2020-05-31 03:12:28 +02:00
Yann Hamon
8eb297d4c4 better logic mgmt in output plugins, go fmt 2020-05-31 02:10:19 +02:00
Yann Hamon
224e9ca17d Add/Disable strict mode 2020-05-31 01:29:40 +02:00
Yann Hamon
30a6fe69b1 cache Schema unmarshalling, cache schema download failures (WIP) 2020-05-30 21:40:54 +02:00
Yann Hamon
87f1a0531e run across multiple workers 2020-05-30 20:17:04 +02:00
Yann Hamon
bb478da7e0 enable printing a summary at the end of the run 2020-05-30 20:03:27 +02:00
Yann Hamon
5f3504724f add support for local schemas 2020-05-30 18:28:04 +02:00
Yann Hamon
8a25986e79 add configurable output 2020-05-30 17:20:24 +02:00
Yann Hamon
2786a84a4c add -dir parameter 2020-05-30 15:49:02 +02:00
Yann Hamon
81aca53a84 k8s version now a flag 2020-05-30 07:12:43 +02:00
Yann Hamon
3c6d3e351c skipKinds + better error logging 2020-05-30 07:02:48 +02:00
Yann Hamon
d3ed871833 add schema caching 2020-05-30 06:10:58 +02:00
Yann Hamon
79c9197f38 better errors 2020-05-30 05:34:21 +02:00
Yann Hamon
96e35cb926 try to validate 2020-05-30 03:37:40 +02:00
Yann Hamon
fe33d14dc4 first commit 2020-05-30 02:44:13 +02:00