summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-13 00:57:29 -0500
committerJeff Carr <[email protected]>2024-10-13 00:57:29 -0500
commit7a4bc0b5d6fea7f8d036b36279564dc065e74301 (patch)
treeefe77a45fe34d13eaccd01ddd32efa993cde6e3f /structs.go
parent62e9d8cfb1563ea7dbedf26a0dc593e4227cf413 (diff)
track hypervisor daemon kill count
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/structs.go b/structs.go
index 02d1b7f..7d9d2cc 100644
--- a/structs.go
+++ b/structs.go
@@ -23,12 +23,13 @@ type virtigoT struct {
// the stuff that is needed for a hypervisor
type HyperT struct {
- Hostname string // the hypervisor hostname
- Scan func() // the function to run to scan the hypervisor
- Autoscan bool // to scan or not to scan
- Delay time.Duration // how often to poll the hypervisor
- Dog *time.Ticker // the watchdog timer itself
- lastpoll time.Time // the last time the hypervisor polled
+ Hostname string // the hypervisor hostname
+ Scan func() // the function to run to scan the hypervisor
+ Autoscan bool // to scan or not to scan
+ Delay time.Duration // how often to poll the hypervisor
+ Dog *time.Ticker // the watchdog timer itself
+ lastpoll time.Time // the last time the hypervisor polled
+ killcount int
}
// the stuff that is needed for a hypervisor