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.3 (latest)
Published
Jan 15, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
17 hours ago

Tools for package owners.