Skip to content

installers.virt.podman #

podman

To get started



import freeflowuniverse.crystallib.installers.virt.podman as podman_installer

mut podman_installer0:= podman_installer.get()!

podman_installer0.destroy()! //will remove all
podman_installer0.install()!

Constants #

const version = '5.2.3'

fn get #

fn get(args_ ArgsGet) !&PodmanInstaller

fn switch #

fn switch(name string)

switch instance to be used for podman

struct ArgsGet #

@[params]
struct ArgsGet {
pub mut:
	name string
}

///////FACTORY

struct InstallArgs #

@[params]
struct InstallArgs {
pub mut:
	reset bool
}

struct PodmanInstaller #

struct PodmanInstaller {
pub mut:
	name string = 'default'
}

THIS THE THE SOURCE OF THE INFORMATION OF THIS FILE, HERE WE HAVE THE CONFIG OBJECT CONFIGURED AND MODELLED

fn (PodmanInstaller) build #

fn (mut self PodmanInstaller) build() !

fn (PodmanInstaller) destroy #

fn (mut self PodmanInstaller) destroy() !

fn (PodmanInstaller) install #

fn (mut self PodmanInstaller) install(args InstallArgs) !