Backend nows must expose a way to unpack rootfs of images

This commit is contained in:
Ettore Di Giacinto
2019-11-10 10:47:28 +01:00
parent fc93c9e3ea
commit c51c6264d7
3 changed files with 76 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ type CompilerBackend interface {
RemoveImage(CompilerBackendOptions) error
Changes(fromImage, toImage string) ([]ArtifactLayer, error)
ImageDefinitionToTar(CompilerBackendOptions) error
ExtractRootfs(opts CompilerBackendOptions, keepPerms bool) error
}
type Artifact interface {