From e5987cfbc3219c57a16387ce45b0597bb6707bf3 Mon Sep 17 00:00:00 2001 From: Dimitris Karakasilis Date: Thu, 31 Aug 2023 15:33:33 +0300 Subject: [PATCH] WIP Signed-off-by: Dimitris Karakasilis --- tools-image/enki/pkg/action/converter.go | 13 +++++++++++++ tools-image/enki/pkg/action/converter_test.go | 11 +++++++++++ 2 files changed, 24 insertions(+) create mode 100644 tools-image/enki/pkg/action/converter.go create mode 100644 tools-image/enki/pkg/action/converter_test.go diff --git a/tools-image/enki/pkg/action/converter.go b/tools-image/enki/pkg/action/converter.go new file mode 100644 index 0000000..aaea97d --- /dev/null +++ b/tools-image/enki/pkg/action/converter.go @@ -0,0 +1,13 @@ +package action + +// ConverterAction is the action that converts a non-kairos image to a Kairos one. +// The conversion happens in a best-effort manner. It's not guaranteed that +// any distribution will successfully be converted to a Kairos flavor. See +// the Kairos releases for known-to-work flavors. +type ConverterAction struct { + rootFSPath string +} + +func NewConverterAction() *ConverterAction { + return &ConverterAction{} +} diff --git a/tools-image/enki/pkg/action/converter_test.go b/tools-image/enki/pkg/action/converter_test.go new file mode 100644 index 0000000..caedb78 --- /dev/null +++ b/tools-image/enki/pkg/action/converter_test.go @@ -0,0 +1,11 @@ +package action_test + +import ( + . "github.com/onsi/ginkgo/v2" + //. "github.com/onsi/gomega" +) + +var _ = Describe("BuildISOAction", func() { + It("adds the framework bits", func() { + }) +})