Implement compilation with images

A compilespec with an image defined (and no seed) can now be compiled,
and an artifact delta is provided at the end of the process.
This commit is contained in:
Ettore Di Giacinto
2019-11-10 10:48:07 +01:00
parent c51c6264d7
commit ea2a51ce66
6 changed files with 232 additions and 21 deletions

View File

@@ -20,7 +20,7 @@ import (
)
type Compiler interface {
Compile(CompilationSpec) (Artifact, error)
Compile(int, bool, CompilationSpec) (Artifact, error)
FromPackage(pkg.Package) (CompilationSpec, error)
SetBackend(CompilerBackend)