vendor: update containerd/cri, remove "docker/distribution" dependency
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
		
							
								
								
									
										4
									
								
								vendor/github.com/containerd/cri/pkg/server/sandbox_portforward_unix.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/github.com/containerd/cri/pkg/server/sandbox_portforward_unix.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -100,9 +100,9 @@ func (c *criService) portForward(ctx context.Context, id string, port int32, str | ||||
| 			return ctx.Err() | ||||
| 		} | ||||
| 		// give a chance to terminate gracefully or timeout | ||||
| 		// 0.5s is the default timeout used in socat | ||||
| 		// after 1s | ||||
| 		// https://linux.die.net/man/1/socat | ||||
| 		timeout := time.Duration(500) * time.Millisecond | ||||
| 		const timeout = time.Second | ||||
| 		select { | ||||
| 		case e := <-errCh: | ||||
| 			if errFwd == nil { | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/github.com/containerd/cri/pkg/store/image/image.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/github.com/containerd/cri/pkg/store/image/image.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -24,8 +24,8 @@ import ( | ||||
| 	"github.com/containerd/containerd" | ||||
| 	"github.com/containerd/containerd/content" | ||||
| 	"github.com/containerd/containerd/errdefs" | ||||
| 	"github.com/docker/distribution/digestset" | ||||
| 	imagedigest "github.com/opencontainers/go-digest" | ||||
| 	"github.com/opencontainers/go-digest/digestset" | ||||
| 	imageidentity "github.com/opencontainers/image-spec/identity" | ||||
| 	imagespec "github.com/opencontainers/image-spec/specs-go/v1" | ||||
| 	"github.com/pkg/errors" | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/github.com/containerd/cri/vendor.conf
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/github.com/containerd/cri/vendor.conf
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,5 +1,4 @@ | ||||
| # cri dependencies | ||||
| github.com/docker/distribution                      2461543d988979529609e8cb6fca9ca190dc48da # v2.7.1 | ||||
| github.com/docker/docker                            4634ce647cf2ce2c6031129ccd109e557244986f | ||||
| github.com/opencontainers/selinux                   0d49ba2a6aae052c614dfe5de62a158711a6c461 # v1.5.1 | ||||
| github.com/tchap/go-patricia                        666120de432aea38ab06bd5c818f04f4129882c9 # v2.2.6 | ||||
| @@ -35,7 +34,7 @@ github.com/konsorten/go-windows-terminal-sequences  edb144dfd453055e1e49a3d8b410 | ||||
| github.com/matttproud/golang_protobuf_extensions    c12348ce28de40eed0136aa2b644d0ee0650e56c # v1.0.1 | ||||
| github.com/Microsoft/go-winio                       6c72808b55902eae4c5943626030429ff20f3b63 # v0.4.14 | ||||
| github.com/Microsoft/hcsshim                        5bc557dd210ff2caf615e6e22d398123de77fc11 # v0.8.9 | ||||
| github.com/opencontainers/go-digest                 c9281466c8b2f606084ac71339773efd177436e7 | ||||
| github.com/opencontainers/go-digest                 28d3ccc31a47933556673856d9807b4ca436108e | ||||
| github.com/opencontainers/image-spec                d60099175f88c47cd379c4738d158884749ed235 # v1.0.1 | ||||
| github.com/opencontainers/runc                      dc9208a3303feef5b3839f4323d9beb36df0a9dd # v1.0.0-rc10 | ||||
| github.com/opencontainers/runtime-spec              c4ee7d12c742ffe806cd9350b6af3b4b19faed6f # v1.0.2 | ||||
|   | ||||
							
								
								
									
										202
									
								
								vendor/github.com/docker/distribution/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										202
									
								
								vendor/github.com/docker/distribution/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,202 +0,0 @@ | ||||
| Apache License | ||||
|                            Version 2.0, January 2004 | ||||
|                         http://www.apache.org/licenses/ | ||||
|  | ||||
|    TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | ||||
|  | ||||
|    1. Definitions. | ||||
|  | ||||
|       "License" shall mean the terms and conditions for use, reproduction, | ||||
|       and distribution as defined by Sections 1 through 9 of this document. | ||||
|  | ||||
|       "Licensor" shall mean the copyright owner or entity authorized by | ||||
|       the copyright owner that is granting the License. | ||||
|  | ||||
|       "Legal Entity" shall mean the union of the acting entity and all | ||||
|       other entities that control, are controlled by, or are under common | ||||
|       control with that entity. For the purposes of this definition, | ||||
|       "control" means (i) the power, direct or indirect, to cause the | ||||
|       direction or management of such entity, whether by contract or | ||||
|       otherwise, or (ii) ownership of fifty percent (50%) or more of the | ||||
|       outstanding shares, or (iii) beneficial ownership of such entity. | ||||
|  | ||||
|       "You" (or "Your") shall mean an individual or Legal Entity | ||||
|       exercising permissions granted by this License. | ||||
|  | ||||
|       "Source" form shall mean the preferred form for making modifications, | ||||
|       including but not limited to software source code, documentation | ||||
|       source, and configuration files. | ||||
|  | ||||
|       "Object" form shall mean any form resulting from mechanical | ||||
|       transformation or translation of a Source form, including but | ||||
|       not limited to compiled object code, generated documentation, | ||||
|       and conversions to other media types. | ||||
|  | ||||
|       "Work" shall mean the work of authorship, whether in Source or | ||||
|       Object form, made available under the License, as indicated by a | ||||
|       copyright notice that is included in or attached to the work | ||||
|       (an example is provided in the Appendix below). | ||||
|  | ||||
|       "Derivative Works" shall mean any work, whether in Source or Object | ||||
|       form, that is based on (or derived from) the Work and for which the | ||||
|       editorial revisions, annotations, elaborations, or other modifications | ||||
|       represent, as a whole, an original work of authorship. For the purposes | ||||
|       of this License, Derivative Works shall not include works that remain | ||||
|       separable from, or merely link (or bind by name) to the interfaces of, | ||||
|       the Work and Derivative Works thereof. | ||||
|  | ||||
|       "Contribution" shall mean any work of authorship, including | ||||
|       the original version of the Work and any modifications or additions | ||||
|       to that Work or Derivative Works thereof, that is intentionally | ||||
|       submitted to Licensor for inclusion in the Work by the copyright owner | ||||
|       or by an individual or Legal Entity authorized to submit on behalf of | ||||
|       the copyright owner. For the purposes of this definition, "submitted" | ||||
|       means any form of electronic, verbal, or written communication sent | ||||
|       to the Licensor or its representatives, including but not limited to | ||||
|       communication on electronic mailing lists, source code control systems, | ||||
|       and issue tracking systems that are managed by, or on behalf of, the | ||||
|       Licensor for the purpose of discussing and improving the Work, but | ||||
|       excluding communication that is conspicuously marked or otherwise | ||||
|       designated in writing by the copyright owner as "Not a Contribution." | ||||
|  | ||||
|       "Contributor" shall mean Licensor and any individual or Legal Entity | ||||
|       on behalf of whom a Contribution has been received by Licensor and | ||||
|       subsequently incorporated within the Work. | ||||
|  | ||||
|    2. Grant of Copyright License. Subject to the terms and conditions of | ||||
|       this License, each Contributor hereby grants to You a perpetual, | ||||
|       worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||||
|       copyright license to reproduce, prepare Derivative Works of, | ||||
|       publicly display, publicly perform, sublicense, and distribute the | ||||
|       Work and such Derivative Works in Source or Object form. | ||||
|  | ||||
|    3. Grant of Patent License. Subject to the terms and conditions of | ||||
|       this License, each Contributor hereby grants to You a perpetual, | ||||
|       worldwide, non-exclusive, no-charge, royalty-free, irrevocable | ||||
|       (except as stated in this section) patent license to make, have made, | ||||
|       use, offer to sell, sell, import, and otherwise transfer the Work, | ||||
|       where such license applies only to those patent claims licensable | ||||
|       by such Contributor that are necessarily infringed by their | ||||
|       Contribution(s) alone or by combination of their Contribution(s) | ||||
|       with the Work to which such Contribution(s) was submitted. If You | ||||
|       institute patent litigation against any entity (including a | ||||
|       cross-claim or counterclaim in a lawsuit) alleging that the Work | ||||
|       or a Contribution incorporated within the Work constitutes direct | ||||
|       or contributory patent infringement, then any patent licenses | ||||
|       granted to You under this License for that Work shall terminate | ||||
|       as of the date such litigation is filed. | ||||
|  | ||||
|    4. Redistribution. You may reproduce and distribute copies of the | ||||
|       Work or Derivative Works thereof in any medium, with or without | ||||
|       modifications, and in Source or Object form, provided that You | ||||
|       meet the following conditions: | ||||
|  | ||||
|       (a) You must give any other recipients of the Work or | ||||
|           Derivative Works a copy of this License; and | ||||
|  | ||||
|       (b) You must cause any modified files to carry prominent notices | ||||
|           stating that You changed the files; and | ||||
|  | ||||
|       (c) You must retain, in the Source form of any Derivative Works | ||||
|           that You distribute, all copyright, patent, trademark, and | ||||
|           attribution notices from the Source form of the Work, | ||||
|           excluding those notices that do not pertain to any part of | ||||
|           the Derivative Works; and | ||||
|  | ||||
|       (d) If the Work includes a "NOTICE" text file as part of its | ||||
|           distribution, then any Derivative Works that You distribute must | ||||
|           include a readable copy of the attribution notices contained | ||||
|           within such NOTICE file, excluding those notices that do not | ||||
|           pertain to any part of the Derivative Works, in at least one | ||||
|           of the following places: within a NOTICE text file distributed | ||||
|           as part of the Derivative Works; within the Source form or | ||||
|           documentation, if provided along with the Derivative Works; or, | ||||
|           within a display generated by the Derivative Works, if and | ||||
|           wherever such third-party notices normally appear. The contents | ||||
|           of the NOTICE file are for informational purposes only and | ||||
|           do not modify the License. You may add Your own attribution | ||||
|           notices within Derivative Works that You distribute, alongside | ||||
|           or as an addendum to the NOTICE text from the Work, provided | ||||
|           that such additional attribution notices cannot be construed | ||||
|           as modifying the License. | ||||
|  | ||||
|       You may add Your own copyright statement to Your modifications and | ||||
|       may provide additional or different license terms and conditions | ||||
|       for use, reproduction, or distribution of Your modifications, or | ||||
|       for any such Derivative Works as a whole, provided Your use, | ||||
|       reproduction, and distribution of the Work otherwise complies with | ||||
|       the conditions stated in this License. | ||||
|  | ||||
|    5. Submission of Contributions. Unless You explicitly state otherwise, | ||||
|       any Contribution intentionally submitted for inclusion in the Work | ||||
|       by You to the Licensor shall be under the terms and conditions of | ||||
|       this License, without any additional terms or conditions. | ||||
|       Notwithstanding the above, nothing herein shall supersede or modify | ||||
|       the terms of any separate license agreement you may have executed | ||||
|       with Licensor regarding such Contributions. | ||||
|  | ||||
|    6. Trademarks. This License does not grant permission to use the trade | ||||
|       names, trademarks, service marks, or product names of the Licensor, | ||||
|       except as required for reasonable and customary use in describing the | ||||
|       origin of the Work and reproducing the content of the NOTICE file. | ||||
|  | ||||
|    7. Disclaimer of Warranty. Unless required by applicable law or | ||||
|       agreed to in writing, Licensor provides the Work (and each | ||||
|       Contributor provides its Contributions) on an "AS IS" BASIS, | ||||
|       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | ||||
|       implied, including, without limitation, any warranties or conditions | ||||
|       of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A | ||||
|       PARTICULAR PURPOSE. You are solely responsible for determining the | ||||
|       appropriateness of using or redistributing the Work and assume any | ||||
|       risks associated with Your exercise of permissions under this License. | ||||
|  | ||||
|    8. Limitation of Liability. In no event and under no legal theory, | ||||
|       whether in tort (including negligence), contract, or otherwise, | ||||
|       unless required by applicable law (such as deliberate and grossly | ||||
|       negligent acts) or agreed to in writing, shall any Contributor be | ||||
|       liable to You for damages, including any direct, indirect, special, | ||||
|       incidental, or consequential damages of any character arising as a | ||||
|       result of this License or out of the use or inability to use the | ||||
|       Work (including but not limited to damages for loss of goodwill, | ||||
|       work stoppage, computer failure or malfunction, or any and all | ||||
|       other commercial damages or losses), even if such Contributor | ||||
|       has been advised of the possibility of such damages. | ||||
|  | ||||
|    9. Accepting Warranty or Additional Liability. While redistributing | ||||
|       the Work or Derivative Works thereof, You may choose to offer, | ||||
|       and charge a fee for, acceptance of support, warranty, indemnity, | ||||
|       or other liability obligations and/or rights consistent with this | ||||
|       License. However, in accepting such obligations, You may act only | ||||
|       on Your own behalf and on Your sole responsibility, not on behalf | ||||
|       of any other Contributor, and only if You agree to indemnify, | ||||
|       defend, and hold each Contributor harmless for any liability | ||||
|       incurred by, or claims asserted against, such Contributor by reason | ||||
|       of your accepting any such warranty or additional liability. | ||||
|  | ||||
|    END OF TERMS AND CONDITIONS | ||||
|  | ||||
|    APPENDIX: How to apply the Apache License to your work. | ||||
|  | ||||
|       To apply the Apache License to your work, attach the following | ||||
|       boilerplate notice, with the fields enclosed by brackets "{}" | ||||
|       replaced with your own identifying information. (Don't include | ||||
|       the brackets!)  The text should be enclosed in the appropriate | ||||
|       comment syntax for the file format. We also recommend that a | ||||
|       file or class name and description of purpose be included on the | ||||
|       same "printed page" as the copyright notice for easier | ||||
|       identification within third-party archives. | ||||
|  | ||||
|    Copyright {yyyy} {name of copyright owner} | ||||
|  | ||||
|    Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|    you may not use this file except in compliance with the License. | ||||
|    You may obtain a copy of the License at | ||||
|  | ||||
|        http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|    Unless required by applicable law or agreed to in writing, software | ||||
|    distributed under the License is distributed on an "AS IS" BASIS, | ||||
|    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|    See the License for the specific language governing permissions and | ||||
|    limitations under the License. | ||||
|  | ||||
							
								
								
									
										130
									
								
								vendor/github.com/docker/distribution/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										130
									
								
								vendor/github.com/docker/distribution/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,130 +0,0 @@ | ||||
| # Distribution | ||||
|  | ||||
| The Docker toolset to pack, ship, store, and deliver content. | ||||
|  | ||||
| This repository's main product is the Docker Registry 2.0 implementation | ||||
| for storing and distributing Docker images. It supersedes the | ||||
| [docker/docker-registry](https://github.com/docker/docker-registry) | ||||
| project with a new API design, focused around security and performance. | ||||
|  | ||||
| <img src="https://www.docker.com/sites/default/files/oyster-registry-3.png" width=200px/> | ||||
|  | ||||
| [](https://circleci.com/gh/docker/distribution/tree/master) | ||||
| [](https://godoc.org/github.com/docker/distribution) | ||||
|  | ||||
| This repository contains the following components: | ||||
|  | ||||
| |**Component**       |Description                                                                                                                                                                                         | | ||||
| |--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||||
| | **registry**       | An implementation of the [Docker Registry HTTP API V2](docs/spec/api.md) for use with docker 1.6+.                                                                                                  | | ||||
| | **libraries**      | A rich set of libraries for interacting with distribution components. Please see [godoc](https://godoc.org/github.com/docker/distribution) for details. **Note**: These libraries are **unstable**. | | ||||
| | **specifications** | _Distribution_ related specifications are available in [docs/spec](docs/spec)                                                                                                                        | | ||||
| | **documentation**  | Docker's full documentation set is available at [docs.docker.com](https://docs.docker.com). This repository [contains the subset](docs/) related just to the registry.                                                                                                                                          | | ||||
|  | ||||
| ### How does this integrate with Docker engine? | ||||
|  | ||||
| This project should provide an implementation to a V2 API for use in the [Docker | ||||
| core project](https://github.com/docker/docker). The API should be embeddable | ||||
| and simplify the process of securely pulling and pushing content from `docker` | ||||
| daemons. | ||||
|  | ||||
| ### What are the long term goals of the Distribution project? | ||||
|  | ||||
| The _Distribution_ project has the further long term goal of providing a | ||||
| secure tool chain for distributing content. The specifications, APIs and tools | ||||
| should be as useful with Docker as they are without. | ||||
|  | ||||
| Our goal is to design a professional grade and extensible content distribution | ||||
| system that allow users to: | ||||
|  | ||||
| * Enjoy an efficient, secured and reliable way to store, manage, package and | ||||
|   exchange content | ||||
| * Hack/roll their own on top of healthy open-source components | ||||
| * Implement their own home made solution through good specs, and solid | ||||
|   extensions mechanism. | ||||
|  | ||||
| ## More about Registry 2.0 | ||||
|  | ||||
| The new registry implementation provides the following benefits: | ||||
|  | ||||
| - faster push and pull | ||||
| - new, more efficient implementation | ||||
| - simplified deployment | ||||
| - pluggable storage backend | ||||
| - webhook notifications | ||||
|  | ||||
| For information on upcoming functionality, please see [ROADMAP.md](ROADMAP.md). | ||||
|  | ||||
| ### Who needs to deploy a registry? | ||||
|  | ||||
| By default, Docker users pull images from Docker's public registry instance. | ||||
| [Installing Docker](https://docs.docker.com/engine/installation/) gives users this | ||||
| ability. Users can also push images to a repository on Docker's public registry, | ||||
| if they have a [Docker Hub](https://hub.docker.com/) account. | ||||
|  | ||||
| For some users and even companies, this default behavior is sufficient. For | ||||
| others, it is not. | ||||
|  | ||||
| For example, users with their own software products may want to maintain a | ||||
| registry for private, company images. Also, you may wish to deploy your own | ||||
| image repository for images used to test or in continuous integration. For these | ||||
| use cases and others, [deploying your own registry instance](https://github.com/docker/docker.github.io/blob/master/registry/deploying.md) | ||||
| may be the better choice. | ||||
|  | ||||
| ### Migration to Registry 2.0 | ||||
|  | ||||
| For those who have previously deployed their own registry based on the Registry | ||||
| 1.0 implementation and wish to deploy a Registry 2.0 while retaining images, | ||||
| data migration is required. A tool to assist with migration efforts has been | ||||
| created. For more information see [docker/migrator](https://github.com/docker/migrator). | ||||
|  | ||||
| ## Contribute | ||||
|  | ||||
| Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute | ||||
| issues, fixes, and patches to this project. If you are contributing code, see | ||||
| the instructions for [building a development environment](BUILDING.md). | ||||
|  | ||||
| ## Support | ||||
|  | ||||
| If any issues are encountered while using the _Distribution_ project, several | ||||
| avenues are available for support: | ||||
|  | ||||
| <table> | ||||
| <tr> | ||||
| 	<th align="left"> | ||||
| 	IRC | ||||
| 	</th> | ||||
| 	<td> | ||||
| 	#docker-distribution on FreeNode | ||||
| 	</td> | ||||
| </tr> | ||||
| <tr> | ||||
| 	<th align="left"> | ||||
| 	Issue Tracker | ||||
| 	</th> | ||||
| 	<td> | ||||
| 	github.com/docker/distribution/issues | ||||
| 	</td> | ||||
| </tr> | ||||
| <tr> | ||||
| 	<th align="left"> | ||||
| 	Google Groups | ||||
| 	</th> | ||||
| 	<td> | ||||
| 	https://groups.google.com/a/dockerproject.org/forum/#!forum/distribution | ||||
| 	</td> | ||||
| </tr> | ||||
| <tr> | ||||
| 	<th align="left"> | ||||
| 	Mailing List | ||||
| 	</th> | ||||
| 	<td> | ||||
| 	docker@dockerproject.org | ||||
| 	</td> | ||||
| </tr> | ||||
| </table> | ||||
|  | ||||
|  | ||||
| ## License | ||||
|  | ||||
| This project is distributed under [Apache License, Version 2.0](LICENSE). | ||||
							
								
								
									
										51
									
								
								vendor/github.com/docker/distribution/vendor.conf
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										51
									
								
								vendor/github.com/docker/distribution/vendor.conf
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,51 +0,0 @@ | ||||
| github.com/Azure/azure-sdk-for-go 4650843026a7fdec254a8d9cf893693a254edd0b | ||||
| github.com/Azure/go-autorest eaa7994b2278094c904d31993d26f56324db3052 | ||||
| github.com/sirupsen/logrus 3d4380f53a34dcdc95f0c1db702615992b38d9a4 | ||||
| github.com/aws/aws-sdk-go f831d5a0822a1ad72420ab18c6269bca1ddaf490 | ||||
| github.com/bshuster-repo/logrus-logstash-hook d2c0ecc1836d91814e15e23bb5dc309c3ef51f4a | ||||
| github.com/beorn7/perks 4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9 | ||||
| github.com/bugsnag/bugsnag-go b1d153021fcd90ca3f080db36bec96dc690fb274 | ||||
| github.com/bugsnag/osext 0dd3f918b21bec95ace9dc86c7e70266cfc5c702 | ||||
| github.com/bugsnag/panicwrap e2c28503fcd0675329da73bf48b33404db873782 | ||||
| github.com/denverdino/aliyungo afedced274aa9a7fcdd47ac97018f0f8db4e5de2 | ||||
| github.com/dgrijalva/jwt-go a601269ab70c205d26370c16f7c81e9017c14e04 | ||||
| github.com/docker/go-metrics 399ea8c73916000c64c2c76e8da00ca82f8387ab | ||||
| github.com/docker/libtrust fa567046d9b14f6aa788882a950d69651d230b21 | ||||
| github.com/garyburd/redigo 535138d7bcd717d6531c701ef5933d98b1866257 | ||||
| github.com/go-ini/ini 2ba15ac2dc9cdf88c110ec2dc0ced7fa45f5678c | ||||
| github.com/golang/protobuf 8d92cf5fc15a4382f8964b08e1f42a75c0591aa3 | ||||
| github.com/gorilla/handlers 60c7bfde3e33c201519a200a4507a158cc03a17b | ||||
| github.com/gorilla/mux 599cba5e7b6137d46ddf58fb1765f5d928e69604 | ||||
| github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75 | ||||
| github.com/jmespath/go-jmespath bd40a432e4c76585ef6b72d3fd96fb9b6dc7b68d | ||||
| github.com/marstr/guid 8bd9a64bf37eb297b492a4101fb28e80ac0b290f | ||||
| github.com/satori/go.uuid f58768cc1a7a7e77a3bd49e98cdd21419399b6a3 | ||||
| github.com/matttproud/golang_protobuf_extensions c12348ce28de40eed0136aa2b644d0ee0650e56c | ||||
| github.com/miekg/dns 271c58e0c14f552178ea321a545ff9af38930f39 | ||||
| github.com/mitchellh/mapstructure 482a9fd5fa83e8c4e7817413b80f3eb8feec03ef | ||||
| github.com/ncw/swift a0320860b16212c2b59b4912bb6508cda1d7cee6 | ||||
| github.com/prometheus/client_golang c332b6f63c0658a65eca15c0e5247ded801cf564 | ||||
| github.com/prometheus/client_model 99fa1f4be8e564e8a6b613da7fa6f46c9edafc6c | ||||
| github.com/prometheus/common 89604d197083d4781071d3c65855d24ecfb0a563 | ||||
| github.com/prometheus/procfs cb4147076ac75738c9a7d279075a253c0cc5acbd | ||||
| github.com/Shopify/logrus-bugsnag 577dee27f20dd8f1a529f82210094af593be12bd | ||||
| github.com/spf13/cobra 312092086bed4968099259622145a0c9ae280064 | ||||
| github.com/spf13/pflag 5644820622454e71517561946e3d94b9f9db6842 | ||||
| github.com/xenolf/lego a9d8cec0e6563575e5868a005359ac97911b5985 | ||||
| github.com/yvasiyarov/go-metrics 57bccd1ccd43f94bb17fdd8bf3007059b802f85e | ||||
| github.com/yvasiyarov/gorelic a9bba5b9ab508a086f9a12b8c51fab68478e2128 | ||||
| github.com/yvasiyarov/newrelic_platform_go b21fdbd4370f3717f3bbd2bf41c223bc273068e6 | ||||
| golang.org/x/crypto c10c31b5e94b6f7a0283272dc2bb27163dcea24b | ||||
| golang.org/x/net 4876518f9e71663000c348837735820161a42df7 | ||||
| golang.org/x/oauth2 045497edb6234273d67dbc25da3f2ddbc4c4cacf | ||||
| golang.org/x/time a4bde12657593d5e90d0533a3e4fd95e635124cb | ||||
| google.golang.org/api 9bf6e6e569ff057f75d9604a46c52928f17d2b54 | ||||
| google.golang.org/appengine 12d5545dc1cfa6047a286d5e853841b6471f4c19 | ||||
| google.golang.org/cloud 975617b05ea8a58727e6c1a06b6161ff4185a9f2 | ||||
| google.golang.org/grpc d3ddb4469d5a1b949fc7a7da7c1d6a0d1b6de994 | ||||
| gopkg.in/check.v1 64131543e7896d5bcc6bd5a76287eb75ea96c673 | ||||
| gopkg.in/square/go-jose.v1 40d457b439244b546f023d056628e5184136899b | ||||
| gopkg.in/yaml.v2 v2.2.1 | ||||
| rsc.io/letsencrypt e770c10b0f1a64775ae91d240407ce00d1a5bdeb https://github.com/dmcgowan/letsencrypt.git | ||||
| github.com/opencontainers/go-digest a6d0ee40d4207ea02364bd3b9e8e77b9159ba1eb | ||||
| github.com/opencontainers/image-spec ab7389ef9f50030c9b245bc16b981c7ddf192882 | ||||
							
								
								
									
										1
									
								
								vendor/github.com/opencontainers/go-digest/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/github.com/opencontainers/go-digest/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -176,6 +176,7 @@ | ||||
|  | ||||
|    END OF TERMS AND CONDITIONS | ||||
|  | ||||
|    Copyright 2019, 2020 OCI Contributors | ||||
|    Copyright 2016 Docker, Inc. | ||||
|  | ||||
|    Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|   | ||||
							
								
								
									
										70
									
								
								vendor/github.com/opencontainers/go-digest/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										70
									
								
								vendor/github.com/opencontainers/go-digest/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -8,20 +8,16 @@ Please see the [godoc](https://godoc.org/github.com/opencontainers/go-digest) fo | ||||
|  | ||||
| # What is a digest? | ||||
|  | ||||
| A digest is just a hash. | ||||
| A digest is just a [hash](https://en.wikipedia.org/wiki/Hash_function). | ||||
|  | ||||
| The most common use case for a digest is to create a content | ||||
| identifier for use in [Content Addressable Storage](https://en.wikipedia.org/wiki/Content-addressable_storage) | ||||
| systems: | ||||
| The most common use case for a digest is to create a content identifier for use in [Content Addressable Storage](https://en.wikipedia.org/wiki/Content-addressable_storage) systems: | ||||
|  | ||||
| ```go | ||||
| id := digest.FromBytes([]byte("my content")) | ||||
| ``` | ||||
|  | ||||
| In the example above, the id can be used to uniquely identify  | ||||
| the byte slice "my content". This allows two disparate applications | ||||
| to agree on a verifiable identifier without having to trust one | ||||
| another. | ||||
| In the example above, the id can be used to uniquely identify the byte slice "my content". | ||||
| This allows two disparate applications to agree on a verifiable identifier without having to trust one another. | ||||
|  | ||||
| An identifying digest can be verified, as follows: | ||||
|  | ||||
| @@ -31,8 +27,7 @@ if id != digest.FromBytes([]byte("my content")) { | ||||
| } | ||||
| ``` | ||||
|  | ||||
| A `Verifier` type can be used to handle cases where an `io.Reader` | ||||
| makes more sense: | ||||
| A `Verifier` type can be used to handle cases where an `io.Reader` makes more sense: | ||||
|  | ||||
| ```go | ||||
| rd := getContent() | ||||
| @@ -44,33 +39,28 @@ if !verifier.Verified() { | ||||
| } | ||||
| ``` | ||||
|  | ||||
| Using [Merkle DAGs](https://en.wikipedia.org/wiki/Merkle_tree), this | ||||
| can power a rich, safe, content distribution system. | ||||
| Using [Merkle DAGs](https://en.wikipedia.org/wiki/Merkle_tree), this can power a rich, safe, content distribution system. | ||||
|  | ||||
| # Usage | ||||
|  | ||||
| While the [godoc](https://godoc.org/github.com/opencontainers/go-digest) is | ||||
| considered the best resource, a few important items need to be called  | ||||
| out when using this package. | ||||
| While the [godoc](https://godoc.org/github.com/opencontainers/go-digest) is considered the best resource, a few important items need to be called out when using this package. | ||||
|  | ||||
| 1. Make sure to import the hash implementations into your application | ||||
|     or the package will panic. You should have something like the  | ||||
|     following in the main (or other entrypoint) of your application: | ||||
| 1. Make sure to import the hash implementations into your application or the package will panic. | ||||
|     You should have something like the following in the main (or other entrypoint) of your application: | ||||
|     | ||||
|     ```go | ||||
|     import ( | ||||
|         _ "crypto/sha256" | ||||
|    	    _ "crypto/sha512" | ||||
|         _ "crypto/sha512" | ||||
|     ) | ||||
|     ``` | ||||
|     This may seem inconvenient but it allows you replace the hash  | ||||
|     implementations with others, such as https://github.com/stevvooe/resumable. | ||||
|   | ||||
| 2. Even though `digest.Digest` may be assemable as a string, _always_  | ||||
|     verify your input with `digest.Parse` or use `Digest.Validate` | ||||
|     when accepting untrusted input. While there are measures to  | ||||
|     avoid common problems, this will ensure you have valid digests | ||||
|     in the rest of your application. | ||||
| 2. Even though `digest.Digest` may be assemblable as a string, _always_ verify your input with `digest.Parse` or use `Digest.Validate` when accepting untrusted input. | ||||
|     While there are measures to avoid common problems, this will ensure you have valid digests in the rest of your application. | ||||
|  | ||||
| 3. While alternative encodings of hash values (digests) are possible (for example, base64), this package deals exclusively with hex-encoded digests. | ||||
|  | ||||
| # Stability | ||||
|  | ||||
| @@ -80,25 +70,27 @@ As always, before using a package export, read the [godoc](https://godoc.org/git | ||||
|  | ||||
| # Contributing | ||||
|  | ||||
| This package is considered fairly complete. It has been in production | ||||
| in thousands (millions?) of deployments and is fairly battle-hardened. | ||||
| New additions will be met with skepticism. If you think there is a  | ||||
| missing feature, please file a bug clearly describing the problem and  | ||||
| the alternatives you tried before submitting a PR. | ||||
| This package is considered fairly complete. | ||||
| It has been in production in thousands (millions?) of deployments and is fairly battle-hardened. | ||||
| New additions will be met with skepticism. | ||||
| If you think there is a missing feature, please file a bug clearly describing the problem and the alternatives you tried before submitting a PR. | ||||
|  | ||||
| # Reporting security issues | ||||
| ## Code of Conduct | ||||
|  | ||||
| Please DO NOT file a public issue, instead send your report privately to | ||||
| security@opencontainers.org. | ||||
| Participation in the OpenContainers community is governed by [OpenContainer's Code of Conduct][code-of-conduct]. | ||||
|  | ||||
| The maintainers take security seriously. If you discover a security issue, | ||||
| please bring it to their attention right away! | ||||
| ## Security | ||||
|  | ||||
| If you are reporting a security issue, do not create an issue or file a pull | ||||
| request on GitHub. Instead, disclose the issue responsibly by sending an email | ||||
| to security@opencontainers.org (which is inhabited only by the maintainers of | ||||
| the various OCI projects). | ||||
| If you find an issue, please follow the [security][security] protocol to report it. | ||||
|  | ||||
| # Copyright and license | ||||
|  | ||||
| Copyright © 2016 Docker, Inc. All rights reserved, except as follows. Code is released under the [Apache 2.0 license](LICENSE). This `README.md` file and the [`CONTRIBUTING.md`](CONTRIBUTING.md) file are licensed under the Creative Commons Attribution 4.0 International License under the terms and conditions set forth in the file [`LICENSE.docs`](LICENSE.docs). You may obtain a duplicate copy of the same license, titled CC BY-SA 4.0, at http://creativecommons.org/licenses/by-sa/4.0/. | ||||
| Copyright © 2019, 2020 OCI Contributors | ||||
| Copyright © 2016 Docker, Inc. | ||||
| All rights reserved, except as follows. | ||||
| Code is released under the [Apache 2.0 license](LICENSE). | ||||
| This `README.md` file and the [`CONTRIBUTING.md`](CONTRIBUTING.md) file are licensed under the Creative Commons Attribution 4.0 International License under the terms and conditions set forth in the file [`LICENSE.docs`](LICENSE.docs). | ||||
| You may obtain a duplicate copy of the same license, titled CC BY-SA 4.0, at http://creativecommons.org/licenses/by-sa/4.0/. | ||||
|  | ||||
| [security]: https://github.com/opencontainers/org/blob/master/security | ||||
| [code-of-conduct]: https://github.com/opencontainers/org/blob/master/CODE_OF_CONDUCT.md | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/github.com/opencontainers/go-digest/algorithm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/github.com/opencontainers/go-digest/algorithm.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,3 +1,4 @@ | ||||
| // Copyright 2019, 2020 OCI Contributors | ||||
| // Copyright 2017 Docker, Inc. | ||||
| // | ||||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/github.com/opencontainers/go-digest/digest.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/github.com/opencontainers/go-digest/digest.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,3 +1,4 @@ | ||||
| // Copyright 2019, 2020 OCI Contributors | ||||
| // Copyright 2017 Docker, Inc. | ||||
| // | ||||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|   | ||||
							
								
								
									
										1
									
								
								vendor/github.com/opencontainers/go-digest/digester.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/github.com/opencontainers/go-digest/digester.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,3 +1,4 @@ | ||||
| // Copyright 2019, 2020 OCI Contributors | ||||
| // Copyright 2017 Docker, Inc. | ||||
| // | ||||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|   | ||||
| @@ -1,3 +1,18 @@ | ||||
| // Copyright 2020, 2020 OCI Contributors | ||||
| // Copyright 2017 Docker, Inc. | ||||
| // | ||||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| // you may not use this file except in compliance with the License. | ||||
| // You may obtain a copy of the License at | ||||
| // | ||||
| //     https://www.apache.org/licenses/LICENSE-2.0 | ||||
| // | ||||
| // Unless required by applicable law or agreed to in writing, software | ||||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| // See the License for the specific language governing permissions and | ||||
| // limitations under the License. | ||||
| 
 | ||||
| package digestset | ||||
| 
 | ||||
| import ( | ||||
							
								
								
									
										10
									
								
								vendor/github.com/opencontainers/go-digest/doc.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								vendor/github.com/opencontainers/go-digest/doc.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,3 +1,4 @@ | ||||
| // Copyright 2019, 2020 OCI Contributors | ||||
| // Copyright 2017 Docker, Inc. | ||||
| // | ||||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| @@ -29,8 +30,13 @@ | ||||
| // | ||||
| // 	sha256:7173b809ca12ec5dee4506cd86be934c4596dd234ee82c0662eac04a8c2c71dc | ||||
| // | ||||
| // In this case, the string "sha256" is the algorithm and the hex bytes are | ||||
| // the "digest". | ||||
| // The "algorithm" portion defines both the hashing algorithm used to calculate | ||||
| // the digest and the encoding of the resulting digest, which defaults to "hex" | ||||
| // if not otherwise specified. Currently, all supported algorithms have their | ||||
| // digests encoded in hex strings. | ||||
| // | ||||
| // In the example above, the string "sha256" is the algorithm and the hex bytes | ||||
| // are the "digest". | ||||
| // | ||||
| // Because the Digest type is simply a string, once a valid Digest is | ||||
| // obtained, comparisons are cheap, quick and simple to express with the | ||||
|   | ||||
							
								
								
									
										3
									
								
								vendor/github.com/opencontainers/go-digest/go.mod
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								vendor/github.com/opencontainers/go-digest/go.mod
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| module github.com/opencontainers/go-digest | ||||
|  | ||||
| go 1.13 | ||||
							
								
								
									
										1
									
								
								vendor/github.com/opencontainers/go-digest/verifiers.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								vendor/github.com/opencontainers/go-digest/verifiers.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,3 +1,4 @@ | ||||
| // Copyright 2019, 2020 OCI Contributors | ||||
| // Copyright 2017 Docker, Inc. | ||||
| // | ||||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sebastiaan van Stijn
					Sebastiaan van Stijn