osbuild2: add xz stage implementation

Add support for osbuild `org.osbuild.xz` stage. The stage accepts Files
inputs.

Add unit tests for the added functionality.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2021-07-29 14:49:09 +02:00 committed by Ondřej Budai
parent 8271910051
commit 52ccf1d6ef
5 changed files with 101 additions and 0 deletions

View file

@ -21,6 +21,9 @@ func NewFilesInputs(references FilesInputReferences) *FilesInputs {
// IMPLEMENTED INTERFACES OF STAGES ACCEPTING THIS INPUTS TYPE
// inputs accepted by the XZ stage
func (FilesInputs) isXzStageInputs() {}
// SPECIFIC INPUT STRUCTURE
type FilesInput struct {