Upgrade containerd/imgcrypt and opencontainers/image-spec
- Upgrade github.com/containerd/imgcrypt to prepare for typeurl upgrade (see https://github.com/containerd/imgcrypt/pull/72) - Upgrade github.com/opencontainers/image-spec since imgcrypto needs at least 1.0.2. Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
		
							
								
								
									
										5
									
								
								vendor/github.com/opencontainers/image-spec/specs-go/v1/descriptor.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								vendor/github.com/opencontainers/image-spec/specs-go/v1/descriptor.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -35,6 +35,11 @@ type Descriptor struct {
 | 
			
		||||
	// Annotations contains arbitrary metadata relating to the targeted content.
 | 
			
		||||
	Annotations map[string]string `json:"annotations,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// Data is an embedding of the targeted content. This is encoded as a base64
 | 
			
		||||
	// string when marshalled to JSON (automatically, by encoding/json). If
 | 
			
		||||
	// present, Data can be used directly to avoid fetching the targeted content.
 | 
			
		||||
	Data []byte `json:"data,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// Platform describes the platform which the image in the manifest runs on.
 | 
			
		||||
	//
 | 
			
		||||
	// This should only be used when referring to a manifest.
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								vendor/github.com/opencontainers/image-spec/specs-go/v1/index.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/github.com/opencontainers/image-spec/specs-go/v1/index.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -21,7 +21,7 @@ import "github.com/opencontainers/image-spec/specs-go"
 | 
			
		||||
type Index struct {
 | 
			
		||||
	specs.Versioned
 | 
			
		||||
 | 
			
		||||
	// MediaType specificies the type of this document data structure e.g. `application/vnd.oci.image.index.v1+json`
 | 
			
		||||
	// MediaType specifies the type of this document data structure e.g. `application/vnd.oci.image.index.v1+json`
 | 
			
		||||
	MediaType string `json:"mediaType,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// Manifests references platform specific manifests.
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								vendor/github.com/opencontainers/image-spec/specs-go/v1/manifest.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/github.com/opencontainers/image-spec/specs-go/v1/manifest.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -20,7 +20,7 @@ import "github.com/opencontainers/image-spec/specs-go"
 | 
			
		||||
type Manifest struct {
 | 
			
		||||
	specs.Versioned
 | 
			
		||||
 | 
			
		||||
	// MediaType specificies the type of this document data structure e.g. `application/vnd.oci.image.manifest.v1+json`
 | 
			
		||||
	// MediaType specifies the type of this document data structure e.g. `application/vnd.oci.image.manifest.v1+json`
 | 
			
		||||
	MediaType string `json:"mediaType,omitempty"`
 | 
			
		||||
 | 
			
		||||
	// Config references a configuration object for a container, by digest.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user