github.com/werf/oras@v0.4.0/pkg/content/consts.go (about)

     1  package content
     2  
     3  import ocispec "github.com/opencontainers/image-spec/specs-go/v1"
     4  
     5  const (
     6  	// DefaultBlobMediaType specifies the default blob media type
     7  	DefaultBlobMediaType = ocispec.MediaTypeImageLayer
     8  	// DefaultBlobDirMediaType specifies the default blob directory media type
     9  	DefaultBlobDirMediaType = ocispec.MediaTypeImageLayerGzip
    10  )
    11  
    12  const (
    13  	// TempFilePattern specifies the pattern to create temporary files
    14  	TempFilePattern = "oras"
    15  )
    16  
    17  const (
    18  	// AnnotationDigest is the annotation key for the digest of the uncompressed content
    19  	AnnotationDigest = "io.deis.oras.content.digest"
    20  	// AnnotationUnpack is the annotation key for indication of unpacking
    21  	AnnotationUnpack = "io.deis.oras.content.unpack"
    22  )