diff options
| author | Jeff Carr <[email protected]> | 2024-10-13 00:57:29 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-13 00:57:29 -0500 |
| commit | 7a4bc0b5d6fea7f8d036b36279564dc065e74301 (patch) | |
| tree | efe77a45fe34d13eaccd01ddd32efa993cde6e3f /structs.go | |
| parent | 62e9d8cfb1563ea7dbedf26a0dc593e4227cf413 (diff) | |
track hypervisor daemon kill count
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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 |
