summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-22 19:34:50 -0500
committerJeff Carr <[email protected]>2024-10-22 19:34:50 -0500
commit525362fcc772f8edfa5fe3aada91fc7fe17c8030 (patch)
tree05e3d228a4c34706addfe15bd25c0231c73430f5 /structs.go
parent448f4a0649d99c3d04096a6488193545751955ec (diff)
deprecate hypervisor file. yay!
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/structs.go b/structs.go
index b8584e4..392238b 100644
--- a/structs.go
+++ b/structs.go
@@ -35,14 +35,14 @@ type HyperT struct {
Dog *time.Ticker // the watchdog timer itself
lastpoll time.Time // the last time the hypervisor polled
killcount int
- Scan func() // the function to run to scan the hypervisor
+ Scan func() // the function to run to scan the hypervisor
}
// the stuff that is needed for a hypervisor
type DropletT struct {
- pb *pb.Droplet // the Droplet protobuf
- CurrentState string // what the state of the droplet is ACTUALLY IS
- h *HyperT // the hypervisor it's currently running on
- lastpoll time.Time // the last time the droplet was seen running
- starts int // how many times a start event has been attempted
+ pb *pb.Droplet // the Droplet protobuf
+ CurrentState string // what the state of the droplet is ACTUALLY IS
+ h *HyperT // the hypervisor it's currently running on
+ lastpoll time.Time // the last time the droplet was seen running
+ starts int // how many times a start event has been attempted
}