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
Click to show internal directories.
Click to hide internal directories.