This commit is contained in:
2025-08-28 16:02:28 +02:00
parent d52aa5dbd4
commit fb87adf87d
44 changed files with 480 additions and 507 deletions

View File

@@ -8,9 +8,9 @@ import freeflowuniverse.herolib.installers.virt.podman as podman_installer
pub struct PodmanFactory {
pub mut:
// sshkeys_allowed []string // all keys here have access over ssh into the machine, when ssh enabled
images []Image
containers []Container
buildpath string
images []Image
containers []Container
buildpath string
// cache bool = true
// push bool
// platform []BuildPlatformType // used to build
@@ -18,7 +18,6 @@ pub mut:
prefix string
}
@[params]
pub struct NewArgs {
pub mut:
@@ -27,12 +26,10 @@ pub mut:
herocompile bool
}
if args.install {
mut podman_installer0 := podman_installer.get()!
podman_installer0.install()!
}
if args.install {
mut podman_installer0 := podman_installer.get()!
podman_installer0.install()!
}
fn (mut e PodmanFactory) init() ! {
if e.buildpath == '' {