- Added a Buildah installer to the project. - The installer can install and remove Buildah. - Updated the installer to use the latest Buildah version. Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com> Co-authored-by: mariobassem <mariobassem12@gmail.com>
23 lines
490 B
V
23 lines
490 B
V
module buildah
|
|
|
|
const singleton = true
|
|
const default = true
|
|
|
|
// THIS THE THE SOURCE OF THE INFORMATION OF THIS FILE, HERE WE HAVE THE CONFIG OBJECT CONFIGURED AND MODELLED
|
|
@[heap]
|
|
pub struct BuildahInstaller {
|
|
pub mut:
|
|
name string = 'default'
|
|
}
|
|
|
|
fn obj_init(obj_ BuildahInstaller) !BuildahInstaller {
|
|
// never call get here, only thing we can do here is work on object itself
|
|
mut obj := obj_
|
|
return obj
|
|
}
|
|
|
|
// called before start if done
|
|
fn configure() ! {
|
|
// mut installer := get()!
|
|
}
|