From e8e9aa676278a1ad842d36d40d0b295abc912212 Mon Sep 17 00:00:00 2001 From: jonjohnsonjr Date: Wed, 15 Jan 2020 11:07:19 -0800 Subject: [PATCH] Regen docs (#658) --- cmd/crane/doc/crane.md | 6 ++++-- cmd/crane/doc/crane_append.md | 4 ++-- cmd/crane/doc/crane_blob.md | 35 +++++++++++++++++++++++++++++++++ cmd/crane/doc/crane_catalog.md | 3 ++- cmd/crane/doc/crane_config.md | 3 ++- cmd/crane/doc/crane_copy.md | 3 ++- cmd/crane/doc/crane_delete.md | 3 ++- cmd/crane/doc/crane_digest.md | 3 ++- cmd/crane/doc/crane_export.md | 6 +++--- cmd/crane/doc/crane_ls.md | 3 ++- cmd/crane/doc/crane_manifest.md | 3 ++- cmd/crane/doc/crane_pull.md | 4 ++-- cmd/crane/doc/crane_push.md | 6 +++--- cmd/crane/doc/crane_rebase.md | 4 ++-- cmd/crane/doc/crane_tag.md | 3 ++- cmd/crane/doc/crane_validate.md | 4 ++-- cmd/crane/doc/crane_version.md | 3 ++- go.mod | 6 ++++-- go.sum | 19 ++++++++++++++++++ hack/presubmit.sh | 3 +-- 20 files changed, 95 insertions(+), 29 deletions(-) create mode 100644 cmd/crane/doc/crane_blob.md diff --git a/cmd/crane/doc/crane.md b/cmd/crane/doc/crane.md index eed48256a..29932ceb8 100644 --- a/cmd/crane/doc/crane.md +++ b/cmd/crane/doc/crane.md @@ -13,13 +13,15 @@ crane [flags] ### Options ``` - -h, --help help for crane - -v, --verbose Enable debug logs + -h, --help help for crane + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO * [crane append](crane_append.md) - Append contents of a tarball to a remote image +* [crane blob](crane_blob.md) - Read a blob from the registry * [crane catalog](crane_catalog.md) - List the repos in a registry * [crane config](crane_config.md) - Get the config of an image * [crane copy](crane_copy.md) - Efficiently copy a remote image from src to dst diff --git a/cmd/crane/doc/crane_append.md b/cmd/crane/doc/crane_append.md index 40952ebd0..40f8b9510 100644 --- a/cmd/crane/doc/crane_append.md +++ b/cmd/crane/doc/crane_append.md @@ -15,7 +15,6 @@ crane append [flags] ``` -b, --base string Name of base image to append to -h, --help help for append - -i, --insecure Allow image references to be fetched without TLS -f, --new_layer string Path to tarball to append to image -t, --new_tag string Tag to apply to resulting image -o, --output string Path to new tarball of resulting image @@ -24,7 +23,8 @@ crane append [flags] ### Options inherited from parent commands ``` - -v, --verbose Enable debug logs + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO diff --git a/cmd/crane/doc/crane_blob.md b/cmd/crane/doc/crane_blob.md new file mode 100644 index 000000000..cce941034 --- /dev/null +++ b/cmd/crane/doc/crane_blob.md @@ -0,0 +1,35 @@ +## crane blob + +Read a blob from the registry + +### Synopsis + +Read a blob from the registry + +``` +crane blob BLOB [flags] +``` + +### Examples + +``` +crane blob ubuntu@sha256:4c1d20cdee96111c8acf1858b62655a37ce81ae48648993542b7ac363ac5c0e5 > blob.tar.gz +``` + +### Options + +``` + -h, --help help for blob +``` + +### Options inherited from parent commands + +``` + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs +``` + +### SEE ALSO + +* [crane](crane.md) - Crane is a tool for managing container images + diff --git a/cmd/crane/doc/crane_catalog.md b/cmd/crane/doc/crane_catalog.md index 31f70ab24..aa8de6b44 100644 --- a/cmd/crane/doc/crane_catalog.md +++ b/cmd/crane/doc/crane_catalog.md @@ -19,7 +19,8 @@ crane catalog [flags] ### Options inherited from parent commands ``` - -v, --verbose Enable debug logs + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO diff --git a/cmd/crane/doc/crane_config.md b/cmd/crane/doc/crane_config.md index f87fd6644..daaf27c9a 100644 --- a/cmd/crane/doc/crane_config.md +++ b/cmd/crane/doc/crane_config.md @@ -19,7 +19,8 @@ crane config IMAGE [flags] ### Options inherited from parent commands ``` - -v, --verbose Enable debug logs + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO diff --git a/cmd/crane/doc/crane_copy.md b/cmd/crane/doc/crane_copy.md index 020f95ba9..fb972ccda 100644 --- a/cmd/crane/doc/crane_copy.md +++ b/cmd/crane/doc/crane_copy.md @@ -19,7 +19,8 @@ crane copy SRC DST [flags] ### Options inherited from parent commands ``` - -v, --verbose Enable debug logs + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO diff --git a/cmd/crane/doc/crane_delete.md b/cmd/crane/doc/crane_delete.md index cd9f26769..233855f90 100644 --- a/cmd/crane/doc/crane_delete.md +++ b/cmd/crane/doc/crane_delete.md @@ -19,7 +19,8 @@ crane delete IMAGE [flags] ### Options inherited from parent commands ``` - -v, --verbose Enable debug logs + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO diff --git a/cmd/crane/doc/crane_digest.md b/cmd/crane/doc/crane_digest.md index 7eda8d824..a0bc95315 100644 --- a/cmd/crane/doc/crane_digest.md +++ b/cmd/crane/doc/crane_digest.md @@ -19,7 +19,8 @@ crane digest IMAGE [flags] ### Options inherited from parent commands ``` - -v, --verbose Enable debug logs + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO diff --git a/cmd/crane/doc/crane_export.md b/cmd/crane/doc/crane_export.md index 3ed909c74..5d96b97e2 100644 --- a/cmd/crane/doc/crane_export.md +++ b/cmd/crane/doc/crane_export.md @@ -23,14 +23,14 @@ crane export IMAGE TARBALL [flags] ### Options ``` - -h, --help help for export - -i, --insecure Allow image references to be fetched without TLS + -h, --help help for export ``` ### Options inherited from parent commands ``` - -v, --verbose Enable debug logs + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO diff --git a/cmd/crane/doc/crane_ls.md b/cmd/crane/doc/crane_ls.md index 53c2c7490..f3668839c 100644 --- a/cmd/crane/doc/crane_ls.md +++ b/cmd/crane/doc/crane_ls.md @@ -19,7 +19,8 @@ crane ls REPO [flags] ### Options inherited from parent commands ``` - -v, --verbose Enable debug logs + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO diff --git a/cmd/crane/doc/crane_manifest.md b/cmd/crane/doc/crane_manifest.md index 88c709fd6..547b2aa4e 100644 --- a/cmd/crane/doc/crane_manifest.md +++ b/cmd/crane/doc/crane_manifest.md @@ -19,7 +19,8 @@ crane manifest IMAGE [flags] ### Options inherited from parent commands ``` - -v, --verbose Enable debug logs + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO diff --git a/cmd/crane/doc/crane_pull.md b/cmd/crane/doc/crane_pull.md index ceb71b686..f1a9bc834 100644 --- a/cmd/crane/doc/crane_pull.md +++ b/cmd/crane/doc/crane_pull.md @@ -15,13 +15,13 @@ crane pull IMAGE TARBALL [flags] ``` -c, --cache_path string Path to cache image layers -h, --help help for pull - -i, --insecure Allow image references to be fetched without TLS ``` ### Options inherited from parent commands ``` - -v, --verbose Enable debug logs + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO diff --git a/cmd/crane/doc/crane_push.md b/cmd/crane/doc/crane_push.md index 108e8f17a..1ec89000b 100644 --- a/cmd/crane/doc/crane_push.md +++ b/cmd/crane/doc/crane_push.md @@ -13,14 +13,14 @@ crane push TARBALL IMAGE [flags] ### Options ``` - -h, --help help for push - -i, --insecure Allow image references to be pushed without TLS + -h, --help help for push ``` ### Options inherited from parent commands ``` - -v, --verbose Enable debug logs + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO diff --git a/cmd/crane/doc/crane_rebase.md b/cmd/crane/doc/crane_rebase.md index 4dd313208..6c0a833f4 100644 --- a/cmd/crane/doc/crane_rebase.md +++ b/cmd/crane/doc/crane_rebase.md @@ -14,7 +14,6 @@ crane rebase [flags] ``` -h, --help help for rebase - -i, --insecure Allow image references to be fetched without TLS --new_base string New base image to insert --old_base string Old base image to remove --original string Original image to rebase @@ -24,7 +23,8 @@ crane rebase [flags] ### Options inherited from parent commands ``` - -v, --verbose Enable debug logs + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO diff --git a/cmd/crane/doc/crane_tag.md b/cmd/crane/doc/crane_tag.md index e15b75588..bde6388ff 100644 --- a/cmd/crane/doc/crane_tag.md +++ b/cmd/crane/doc/crane_tag.md @@ -34,7 +34,8 @@ crane tag ubuntu v1 ### Options inherited from parent commands ``` - -v, --verbose Enable debug logs + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO diff --git a/cmd/crane/doc/crane_validate.md b/cmd/crane/doc/crane_validate.md index 5c5bbb259..8528e104e 100644 --- a/cmd/crane/doc/crane_validate.md +++ b/cmd/crane/doc/crane_validate.md @@ -14,7 +14,6 @@ crane validate [flags] ``` -h, --help help for validate - -i, --insecure Allow image references to be fetched without TLS --remote string Name of remote image to validate --tarball string Path to tarball to validate ``` @@ -22,7 +21,8 @@ crane validate [flags] ### Options inherited from parent commands ``` - -v, --verbose Enable debug logs + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO diff --git a/cmd/crane/doc/crane_version.md b/cmd/crane/doc/crane_version.md index 20d9f3daf..0516171da 100644 --- a/cmd/crane/doc/crane_version.md +++ b/cmd/crane/doc/crane_version.md @@ -22,7 +22,8 @@ crane version [flags] ### Options inherited from parent commands ``` - -v, --verbose Enable debug logs + --insecure Allow image references to be fetched without TLS + -v, --verbose Enable debug logs ``` ### SEE ALSO diff --git a/go.mod b/go.mod index 3cd54db86..f55faa689 100644 --- a/go.mod +++ b/go.mod @@ -17,13 +17,15 @@ require ( github.com/morikuni/aec v1.0.0 // indirect github.com/spf13/cobra v0.0.5 github.com/vdemeester/k8s-pkg-credentialprovider v0.0.0-20200107171650-7c61ffa44238 + golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f // indirect golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 golang.org/x/sync v0.0.0-20190423024810-112230192c58 golang.org/x/sys v0.0.0-20191010194322-b09406accb47 // indirect - golang.org/x/tools v0.0.0-20191205215504-7b8c8591a921 // indirect + golang.org/x/tools v0.0.0-20200115165105-de0b1760071a // indirect google.golang.org/grpc v1.24.0 // indirect + honnef.co/go/tools v0.0.1-2019.2.3 // indirect k8s.io/api v0.17.0 k8s.io/apimachinery v0.17.0 k8s.io/client-go v0.17.0 - k8s.io/code-generator v0.0.0-20191121015212-c4c8f8345c7e + k8s.io/code-generator v0.17.1 ) diff --git a/go.sum b/go.sum index 186281d5c..5bbf64790 100644 --- a/go.sum +++ b/go.sum @@ -152,6 +152,7 @@ github.com/google/gofuzz v1.0.0 h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -265,6 +266,7 @@ github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rubiojr/go-vhd v0.0.0-20160810183302-0bfd3b39853c/go.mod h1:DM5xW0nvfNNm2uytzsvhI3OnX8uzaRAg8UX/CnDqbto= github.com/russross/blackfriday v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNueLj0oo= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= @@ -319,10 +321,12 @@ golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnf golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8 h1:1wopBVtVdWnn03fZelqdXTqk7U7zPQCb+T4rbU9ZEoU= golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586 h1:7KByu05hhLed2MO29w7p1XfZvZ13m8mub3shuVftRs0= golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413 h1:ULYEB3JvPRE/IfO+9uO7vKV/xzVTO7XPAwm8xbf4w2g= golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -334,8 +338,13 @@ golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvx golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3 h1:XQyxROzUlZH+WIQwySDgnISgOivlhjIEwaQaJEJrrN0= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422 h1:QzoH/1pFpZguR8NrRHLcO6jKqfv2zpuSqZLgdm7ZmjI= golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f h1:J5lckAjkw6qYlOZNj90mLYNTEKDvWeuc1yieZ8qUzUE= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -412,11 +421,16 @@ golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBn golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135 h1:5Beo0mZN8dRzgrMMkDp0jc8YXQKx9DiJ2k1dkvGsn5A= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190706070813-72ffa07ba3db/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191205215504-7b8c8591a921 h1:a2kzKBu/PCzjVEtbXNEyM2K81W1PKoHxyNdm0lUiBiw= golang.org/x/tools v0.0.0-20191205215504-7b8c8591a921/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20200115165105-de0b1760071a h1:bEJ3JL2YUH3tt9KX9dsy0WUF3WOrhjtNjK93o0svepY= +golang.org/x/tools v0.0.0-20200115165105-de0b1760071a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485/go.mod h1:2ltnJ7xHfj0zHS40VVPYEAAMTa3ZGguvHGBSJeRWqE0= gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e/go.mod h1:kS+toOQn6AQKjmKJ7gzohV1XkqsFehRA2FbsbkopSuQ= @@ -444,6 +458,7 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/gcfg.v1 v1.2.0/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= @@ -469,6 +484,8 @@ honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc h1:/hemPrYIhOhy8zYrNj+069zDB68us2sMGsfkFJO0iZs= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3 h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= k8s.io/api v0.17.0 h1:H9d/lw+VkZKEVIUc8F3wgiQ+FUXTTr21M87jXLU7yqM= k8s.io/api v0.17.0/go.mod h1:npsyOePkeP0CPwyGfXDHxvypiYMJxBWAMpQxCaJ4ZxI= k8s.io/apimachinery v0.17.0 h1:xRBnuie9rXcPxUkDizUsGvPf1cnlZCFu210op7J7LJo= @@ -479,6 +496,8 @@ k8s.io/client-go v0.17.0/go.mod h1:TYgR6EUHs6k45hb6KWjVD6jFZvJV4gHDikv/It0xz+k= k8s.io/cloud-provider v0.17.0/go.mod h1:Ze4c3w2C0bRsjkBUoHpFi+qWe3ob1wI2/7cUn+YQIDE= k8s.io/code-generator v0.0.0-20191121015212-c4c8f8345c7e h1:HB9Zu5ZUvJfNpLiTPhz+CebVKV8C39qTBMQkAgAZLNw= k8s.io/code-generator v0.0.0-20191121015212-c4c8f8345c7e/go.mod h1:DVmfPQgxQENqDIzVR2ddLXMH34qeszkKSdH/N+s+38s= +k8s.io/code-generator v0.17.1 h1:e3B1UqRzRUWygp7WD+QTRT3ZUahPIaRKF0OFa7duQwI= +k8s.io/code-generator v0.17.1/go.mod h1:DVmfPQgxQENqDIzVR2ddLXMH34qeszkKSdH/N+s+38s= k8s.io/component-base v0.17.0 h1:BnDFcmBDq+RPpxXjmuYnZXb59XNN9CaFrX8ba9+3xrA= k8s.io/component-base v0.17.0/go.mod h1:rKuRAokNMY2nn2A6LP/MiwpoaMRHpfRnrPaUJJj1Yoc= k8s.io/csi-translation-lib v0.17.0/go.mod h1:HEF7MEz7pOLJCnxabi45IPkhSsE/KmxPQksuCrHKWls= diff --git a/hack/presubmit.sh b/hack/presubmit.sh index 7a1ae3d36..8591cbc46 100755 --- a/hack/presubmit.sh +++ b/hack/presubmit.sh @@ -32,8 +32,7 @@ staticcheck ./pkg/... # Verify that all source files are correctly formatted. find . -name "*.go" | grep -v vendor/ | xargs gofmt -d -e -l -# TODO(#496): Re-enable this check. # Verify that generated crane docs are up-to-date. -# mkdir -p /tmp/gendoc && go run cmd/crane/help/main.go --dir /tmp/gendoc && diff -Naur /tmp/gendoc/ cmd/crane/doc/ +mkdir -p /tmp/gendoc && go run cmd/crane/help/main.go --dir /tmp/gendoc && diff -Naur /tmp/gendoc/ cmd/crane/doc/ go test ./...