From 4cb0a4e85cf25244e1e7bbd8d9ef8135582c7ee9 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 19 Oct 2025 06:22:22 -0500 Subject: new argv --- argv.custom.go | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 argv.custom.go (limited to 'argv.custom.go') diff --git a/argv.custom.go b/argv.custom.go new file mode 100644 index 0000000..04835d7 --- /dev/null +++ b/argv.custom.go @@ -0,0 +1,24 @@ +package main + +var VERSION string +var BUILDTIME string + +var APPNAME string = "virtigod" + +func (a args) Description() string { + return ` + this daemon talks to virtigo talks to libvirt and/or qemu + +This sends data back to virtigo. It helps read out the libvirtxml +and convert it to protobuf. +The name is odd, it's virtigo-D not virti-god. + +You can query the status directly: + + # the list of running vms: + curl --silent http://localhost:2520/vms + + # information about libvirt domain for vm 'coriolis': + curl --silent http://localhost:2520/dumpdomain?domain=coriolis +` +} -- cgit v1.2.3