summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-27 02:55:08 -0500
committerJeff Carr <[email protected]>2024-10-27 02:55:08 -0500
commit71f83d400048f6d4219793a76a3ffce16b8c63d8 (patch)
tree5e1935b34d87cf27adfce3cb58140cb1059b7e87 /structs.go
parentd0767eb9843fcdb9ab0e73200d8a9516e28c200c (diff)
prepare to validate spice ports
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 81d4d00..19b5c86 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
- delay time.Duration // how often to poll the hypervisors
- 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
- unstableTimeout time.Duration // how long a droplet can be missing until it's declared dead
+ cluster *pb.Cluster // basic cluster settings
+ delay time.Duration // how often to poll the hypervisors
+ 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
+ unstableTimeout time.Duration // how long a droplet can be missing until it's declared dead
clusterStableDuration time.Duration // how long the cluster must be stable before new droplets can be started
}