Files
herolib/lib/installers/sysadmintools/prometheus/prometheus_installer_factory.v
2025-10-13 11:41:26 +04:00

37 lines
959 B
V

module prometheus
import incubaid.herolib.osal.core as osal
import incubaid.herolib.ui.console
import incubaid.herolib.core.texttools
import incubaid.herolib.core.pathlib
import incubaid.herolib.core.httpconnection
import incubaid.herolib.osal.startupmanager
import os
import time
// @[params]
// pub struct InstallArgs {
// pub mut:
// // homedir string
// // configpath string
// // username string = "admin"
// // password string @[secret]
// // secret string @[secret]
// // title string = 'My Hero DAG'
// reset bool
// start bool = true
// stop bool
// restart bool
// uninstall bool
// // host string = 'localhost' // server host (default is localhost)
// // port int = 8888
// }
// pub fn install(args_ InstallArgs) ! {
// install_prometheus(args_)!
// install_alertmanager(args_)!
// install_node_exporter(args_)!
// install_blackbox_exporter(args_)!
// install_prom2json(args_)!
// }