diff options
| author | Jeff Carr <[email protected]> | 2024-10-22 17:59:27 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-22 17:59:27 -0500 |
| commit | 3ba9a5da209bf070a268b20df48a5a41f7b31109 (patch) | |
| tree | 68fce648e4d64cbf72fa230c282cad41ce278822 /structs.go | |
| parent | 673bcc6cc9e4504ff707d6cef7575eb1ce152e7c (diff) | |
compiles
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -31,19 +31,17 @@ type virtigoT struct { // the stuff that is needed for a hypervisor type HyperT struct { pb *pb.Hypervisor // the Hypervisor protobuf - Active bool // is allowed to start new droplets - 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 + 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 - ConfigState string // what the state of the droplet is SUPPOSED TO BE + // ConfigState string // what the state of the droplet is SUPPOSED TO BE CurrentState string // what the state of the droplet is ACTUALLY IS hyperPreferred string // the hypervisor to prefer to run the droplet on hname string // the hypervisor it's currently running on |
