...
Package static
import "github.com/google/go-containerregistry/pkg/v1/static"
- Overview
- Index
func NewLayer(b []byte, mt types.MediaType) v1.Layer
NewLayer returns a layer containing the given bytes, with the given mediaType.
Contents will not be compressed.