diff options
| author | Jeff Carr <[email protected]> | 2024-10-31 13:12:11 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-31 13:12:11 -0500 |
| commit | e8834578fbecc48b133e6550829de4766bc309a8 (patch) | |
| tree | 87c812f1e056debab780b2c8b83d46a62b3eda2f /helpers.go | |
| parent | 10793e365d594e98bbc8e04251cfbc6b6b3ddbea (diff) | |
example runs
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'helpers.go')
| -rw-r--r-- | helpers.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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) |
