Rename prepare to unpack and init to prepare
Unpack and prepare better map to the actions done by rootfs. Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
parent
340e56ecd0
commit
b1bc82726f
8 changed files with 164 additions and 158 deletions
|
@ -16,8 +16,8 @@ import (
|
|||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
type Preparer interface {
|
||||
Prepare(ctx context.Context, layers []ocispec.Descriptor) (digest.Digest, error)
|
||||
type Unpacker interface {
|
||||
Unpack(ctx context.Context, layers []ocispec.Descriptor) (digest.Digest, error)
|
||||
}
|
||||
|
||||
type Mounter interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue