diff options
| author | Jeff Carr <[email protected]> | 2024-10-31 05:02:20 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-31 05:02:20 -0500 |
| commit | 748f9b4608ccc03f71f40bf961948816a662b1ba (patch) | |
| tree | e24f78109e3eb9a221e73125b9b54602b82df82b /structs.go | |
| parent | 123f64f56c480c9b40eb88010fe91701c33de0af (diff) | |
compiles. maybe works on some stuff still
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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 } |
