summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-31 05:02:20 -0500
committerJeff Carr <[email protected]>2024-10-31 05:02:20 -0500
commit748f9b4608ccc03f71f40bf961948816a662b1ba (patch)
treee24f78109e3eb9a221e73125b9b54602b82df82b /structs.go
parent123f64f56c480c9b40eb88010fe91701c33de0af (diff)
compiles. maybe works on some stuff still
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/structs.go b/structs.go
index 715231a..edd304b 100644
--- a/structs.go
+++ b/structs.go
@@ -20,15 +20,15 @@ func (b *virtigoT) Enable() {
// this app's variables
type virtigoT struct {
- cluster *pb.Cluster // basic cluster settings
- hmap map[*pb.Hypervisor]*HyperT // map to the local struct
- names []string
- hypers []*HyperT
- killcount int
- unstable time.Time // the last time the cluster was incorrect
- changed bool
- hyperPollDelay time.Duration // how often to poll the hypervisors
- unstableTimeout time.Duration // how long a droplet can be unstable until it's declared dead
+ cluster *pb.Cluster // basic cluster settings
+ hmap map[*pb.Hypervisor]*HyperT // map to the local struct
+ names []string
+ hypers []*HyperT
+ killcount int
+ unstable time.Time // the last time the cluster was incorrect
+ changed bool
+ // hyperPollDelay time.Duration // how often to poll the hypervisors
+ // unstableTimeout time.Duration // how long a droplet can be unstable until it's declared dead
clusterStableDuration time.Duration // how long the cluster must be stable before new droplets can be started
missingDropletTimeout time.Duration // how long a droplet can be missing for
}