Documentation
¶
Index ¶
- func ApplyLayers(ctx context.Context, layers []Layer, sn snapshot.Snapshotter, a Applier) (digest.Digest, error)
- func Diff(ctx context.Context, snapshotID, contentRef string, sn snapshot.Snapshotter, ...) (ocispec.Descriptor, error)
- func InitRootFS(ctx context.Context, name string, parent digest.Digest, readonly bool, ...) ([]mount.Mount, error)
- type Applier
- type DiffOptions
- type Layer
- type MountDiffer
- type Mounter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyLayers ¶
func Diff ¶
func Diff(ctx context.Context, snapshotID, contentRef string, sn snapshot.Snapshotter, md MountDiffer) (ocispec.Descriptor, error)
Types ¶
type Applier ¶
type Applier interface {
Apply(context.Context, ocispec.Descriptor, []mount.Mount) (ocispec.Descriptor, error)
}
type DiffOptions ¶
type DiffOptions struct {
MountDiffer
content.Store
snapshot.Snapshotter
}
type Layer ¶
type Layer struct {
Diff ocispec.Descriptor
Blob ocispec.Descriptor
}
type MountDiffer ¶
Click to show internal directories.
Click to hide internal directories.