Extract sdk into its own lib

This had some side effects:

 - Have to add some utils from the kairos/machine modules, which IMHO
   should not be there, they should be here if the are generic enough
 - Dropping the sdk dir, just have the modules in the root dir

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
Itxaka
2023-03-15 10:56:11 +01:00
parent 227677ba92
commit 3163cfbac0
22 changed files with 468 additions and 53 deletions

9
clusterplugin/init.go Normal file
View File

@@ -0,0 +1,9 @@
package clusterplugin
import "github.com/twpayne/go-vfs"
var filesystem vfs.FS
func init() {
filesystem = vfs.OSFS
}