summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
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