summaryrefslogtreecommitdiff
path: root/helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'helpers.go')
-rw-r--r--helpers.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/helpers.go b/helpers.go
index 72d4008..0ecbb64 100644
--- a/helpers.go
+++ b/helpers.go
@@ -9,6 +9,15 @@ import (
"google.golang.org/protobuf/proto"
)
+func InitCluster() *NewCluster {
+ var c *NewCluster
+ c = new(NewCluster)
+ c.d = new(Droplets)
+ c.h = new(Hypervisors)
+ c.e = new(Events)
+ return c
+}
+
// human readable JSON
func (d *Droplets) FormatJSON() string {
return protojson.Format(d)