summaryrefslogtreecommitdiff
path: root/cluster.go
diff options
context:
space:
mode:
Diffstat (limited to 'cluster.go')
-rw-r--r--cluster.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/cluster.go b/cluster.go
new file mode 100644
index 0000000..97da63a
--- /dev/null
+++ b/cluster.go
@@ -0,0 +1,19 @@
+package virtbuf
+
+import (
+ sync "sync"
+
+ durationpb "google.golang.org/protobuf/types/known/durationpb"
+ "google.golang.org/protobuf/types/known/timestamppb"
+)
+
+type Cluster struct {
+ sync.RWMutex
+
+ Dirs []string
+ d *Droplets
+ H *Hypervisors
+ e *Events
+ Unstable *timestamppb.Timestamp
+ UnstableTimeout *durationpb.Duration
+}