recorder

package
v0.16.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageRecorder

type ImageRecorder struct {
	// contains filtered or unexported fields
}

ImageRecorder is a wrapper of recorder.Recroder. This holds the relationship between files and layer index in the specified image. So the client can record files without knowing about which layer this file belongs to.

func NewImageRecorder

func NewImageRecorder(ctx context.Context, cs content.Store, img images.Image, platformMC platforms.MatchComparer) (*ImageRecorder, error)

func (*ImageRecorder) Close

func (r *ImageRecorder) Close() error

func (*ImageRecorder) Commit

func (r *ImageRecorder) Commit(ctx context.Context) (digest.Digest, error)

func (*ImageRecorder) Record

func (r *ImageRecorder) Record(name string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL