summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-26 05:17:51 -0500
committerJeff Carr <[email protected]>2024-10-26 05:17:51 -0500
commit0dc393896c640d220a0825b56cc991e91963b7f9 (patch)
tree3c3bd515e61c86bd66a764a740159deda66ce9d3 /structs.go
parent11f0cd97b596c2b08936edc2a99c5dac38df7637 (diff)
still works
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/structs.go b/structs.go
index 7232eec..c62b422 100644
--- a/structs.go
+++ b/structs.go
@@ -21,12 +21,14 @@ func (b *virtigoT) Enable() {
// this app's variables
type virtigoT struct {
- cluster *pb.Cluster
- events *pb.Events
+ cluster *pb.Cluster // basic cluster settings
+ delay time.Duration // how often to poll the hypervisors
+ pbdrop *pb.Droplets // the protobuf droplets
+ events *pb.Events // cluster events
+ dmap map[*pb.Droplet]*DropletT // map to the local struct
names []string
hypers []*HyperT
- droplets []*DropletT
- delay time.Duration // how often to poll the hypervisors
+ droplets []*DropletT
killcount int
unstable time.Time // the last time the cluster was incorrect
changed bool