Commit graph

110 commits

Author SHA1 Message Date
Christoph Mertz
0cffc7994d reorder imports
Reorder imports with `goimports`.
2020-10-18 11:30:20 +02:00
Yann Hamon
33fb52241a
Merge pull request #6 from yannh/minor-fixes-and-tests
Minor fixes and tests
2020-10-17 17:23:09 +02:00
Yann Hamon
07883b8bb4 Update Readme, converter helper script can now reads straight from http 2020-10-17 17:21:33 +02:00
Yann Hamon
5ada0b67e5 Add test for validating a Custom Resource with a local CRD 2020-10-17 17:12:59 +02:00
Yann Hamon
92c49f7373 deps 2020-10-17 17:03:32 +02:00
Yann Hamon
5b4686d78c Update README, go.mod 2020-10-17 17:00:34 +02:00
Yann Hamon
86106b9293 update openapi2schema script 2020-10-17 16:54:58 +02:00
Yann Hamon
9673cae80c
Merge pull request #5 from yannh/crd-support
Support for CRDs
2020-10-17 15:37:48 +02:00
Yann Hamon
b4995aa02c Support for CRDs 2020-10-17 15:35:41 +02:00
Yann Hamon
f7bfd2c960 generate releases on tags as part of CI 2020-06-22 08:40:19 +02:00
Yann Hamon
24cdafa7b6 update readme 2020-06-07 19:00:28 +02:00
Yann Hamon
85da648af5 update readme 2020-06-07 18:59:45 +02:00
Yann Hamon
59c23325d3 replace -schema with -local-registry 2020-06-07 18:59:03 +02:00
Yann Hamon
58363ddcfd specify CRD work is in progress 2020-06-07 15:58:39 +02:00
Yann Hamon
a9ad8b4290 Add ca certificates to docker image 2020-06-07 13:14:17 +02:00
Yann Hamon
798e99c50b update goreleaser 2020-06-07 12:04:40 +02:00
Yann Hamon
6655204442 fix validation logic - only first resource with a missing schema was reported 2020-06-07 11:53:05 +02:00
Yann Hamon
f7b7d9c3b0 Add gitignore 2020-06-07 11:35:51 +02:00
Yann Hamon
ae53238bbd goreleaser 2020-06-07 11:31:21 +02:00
Yann Hamon
9293920f2a add test to validate a folder 2020-06-06 18:46:08 +02:00
Yann Hamon
d9a6468d09 add a few comments on exported vars 2020-06-06 18:42:44 +02:00
Yann Hamon
7db0febbd1 move file finding to own function 2020-06-06 18:37:11 +02:00
Yann Hamon
c82866923c update acceptance tests / error mgmt 2020-06-06 18:31:22 +02:00
Yann Hamon
a938c47e2e handle files and dirs as parameters 2020-06-06 18:23:56 +02:00
Yann Hamon
cdcacb080d more unit tests 2020-06-06 16:32:27 +02:00
Yann Hamon
0d2da2d582 update readme 2020-06-06 01:06:49 +02:00
Yann Hamon
dcaf1bc608 files to validate should be passed without -file, for ease of use with xargs 2020-06-06 01:01:48 +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
10f5c29c8f update text output in acceptance tests 2020-06-05 00:04:29 +02:00
Yann Hamon
7bfb0b51f1 Display number of files / resources in text output 2020-06-04 23:59:50 +02:00
Yann Hamon
00880f68df fail on missing schemas by default, add -ignore-missing-schemas 2020-06-04 23:33:00 +02:00
Yann Hamon
09597ce907 Add Dockerfile.bats 2020-06-04 19:46:53 +02:00
Yann Hamon
87c1104f05 Add Dockerfile.bats 2020-06-04 19:43:19 +02:00
Yann Hamon
b46f7cc3c4 Run acceptance tests after build 2020-06-04 19:40:56 +02:00
Yann Hamon
deb60c1ec8 Add an example to the readme 2020-06-04 01:04:19 +02:00
Yann Hamon
110eb1173c adding some examples to the readme 2020-06-04 01:01:00 +02:00
Yann Hamon
c831801d82 Add Go Report Card to Readme 2020-06-04 00:53:12 +02:00
Yann Hamon
f64ecad867 Add comments on some exported resources 2020-06-04 00:51:36 +02:00
Yann Hamon
eb6a2b12b7 import some integration tests from kubeval 2020-06-04 00:42:12 +02:00
Yann Hamon
3751a26ae7 import some integration tests from kubeval 2020-06-04 00:33:01 +02:00
Yann Hamon
6a7affc438 remove redundant file 2020-06-02 00:18:32 +02:00
Yann Hamon
0eecf37d9b first acceptance test 2020-06-02 00:16:38 +02:00
Yann Hamon
cee6971ee9 fix bug - cache was not being used 2020-06-02 00:08:47 +02:00
Yann Hamon
6657ae9fd1 update readme 2020-06-01 23:34:53 +02:00
Yann Hamon
c3688407af cache can be nil 2020-06-01 23:33:46 +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