installers.virt.youki #
youki
To get started
import freeflowuniverse.crystallib.installers.virt.youki
mut youki_installer:= youki.get()!
youki_installer.install()!
example heroscript
!!youki.install
homedir: '/home/user/youki'
username: 'admin'
password: 'secretpassword'
title: 'Some Title'
host: 'localhost'
port: 8888
Constants #
const version = '1.14.3'
fn get #
fn get(args_ ArgsGet) !&YoukiInstaller
fn switch #
fn switch(name string)
switch instance to be used for youki
struct ArgsGet #
@[params]
struct ArgsGet {
pub mut:
name string
}
///////FACTORY
struct InstallArgs #
@[params]
struct InstallArgs {
pub mut:
reset bool
}
struct YoukiInstaller #
struct YoukiInstaller {
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 (YoukiInstaller) build #
fn (mut self YoukiInstaller) build() !
fn (YoukiInstaller) destroy #
fn (mut self YoukiInstaller) destroy() !
fn (YoukiInstaller) install #
fn (mut self YoukiInstaller) install(args InstallArgs) !