recorder

package
Version: v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: Apache-2.0 Imports: 22 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL