Commit graph

43 commits

Author SHA1 Message Date
Christoph Mertz
0cffc7994d reorder imports
Reorder imports with `goimports`.
2020-10-18 11:30:20 +02:00
Yann Hamon
b4995aa02c Support for CRDs 2020-10-17 15:35:41 +02:00
Yann Hamon
59c23325d3 replace -schema with -local-registry 2020-06-07 18:59:03 +02:00
Yann Hamon
d9a6468d09 add a few comments on exported vars 2020-06-06 18:42:44 +02:00
Yann Hamon
cdcacb080d more unit tests 2020-06-06 16:32:27 +02:00
Yann Hamon
8fed078b9e support schemas in YAML, added acceptance tests for parsing custom resources 2020-06-05 00:51:35 +02:00
Yann Hamon
7bfb0b51f1 Display number of files / resources in text output 2020-06-04 23:59:50 +02:00
Yann Hamon
f64ecad867 Add comments on some exported resources 2020-06-04 00:51:36 +02:00
Yann Hamon
90e53c74d0 rename package files 2020-06-01 23:32:20 +02:00
Yann Hamon
42e5fd0c43 output write/flush return an error 2020-06-01 23:17:06 +02:00
Yann Hamon
dba9f97c1a add tests for text output, small fix 2020-06-01 23:09:31 +02:00
Yann Hamon
c3a25b9689 fix json output 2020-06-01 19:15:12 +02:00
Yann Hamon
f718b2c919 first simple test for json output 2020-06-01 19:09:53 +02:00
Yann Hamon
9b129d021a loggers take an io.writer 2020-06-01 17:15:52 +02:00
Yann Hamon
1f019066c7 -verbose instead of -quiet, -quiet seems a better default 2020-06-01 12:59:46 +02:00
Yann Hamon
0ddf4e9a50 more nits 2020-06-01 12:44:59 +02:00
Yann Hamon
5ff2d1a037 minor nits 2020-06-01 12:24:45 +02:00
Yann Hamon
8fc1df8d8b minor nits 2020-06-01 12:20:15 +02:00
Yann Hamon
742d8cdf7e bugfixes 2020-06-01 05:08:45 +02:00
Yann Hamon
a33ba035fa first test 2020-06-01 04:53:37 +02:00
Yann Hamon
c4bd7d0668 some linting simplifications 2020-05-31 19:29:30 +02:00
Yann Hamon
93f7dbc83a remove comment - files with multiple resources are now supported 2020-05-31 17:09:52 +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
a1c2e9dc68 fix format string 2020-05-31 14:56:10 +02:00
Yann Hamon
c6526d7278 Default to non-strict 2020-05-31 04:36:29 +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
79d8ce3055 forgot to commit files 2020-05-31 01:09:53 +02:00
Yann Hamon
ef44c39ff2 be more explicit about caching of download failures 2020-05-31 01:09:05 +02:00
Yann Hamon
30a6fe69b1 cache Schema unmarshalling, cache schema download failures (WIP) 2020-05-30 21:40:54 +02:00
Yann Hamon
928d694e66 differentiate between an invalid resource and a validation error in output 2020-05-30 20:08:51 +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
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