package static

import "github.com/google/go-containerregistry/pkg/v1/static"

Index

Functions

func NewLayer

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.

Source Files

layer.go

Version
v0.20.5 (latest)
Published
May 21, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
1 hour ago

Tools for package owners.