From e8834578fbecc48b133e6550829de4766bc309a8 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 31 Oct 2024 13:12:11 -0500 Subject: example runs Signed-off-by: Jeff Carr --- helpers.go | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'helpers.go') 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) -- cgit v1.2.3