summaryrefslogtreecommitdiff
path: root/cluster.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-22 15:23:40 -0600
committerJeff Carr <[email protected]>2025-02-22 15:23:40 -0600
commit2381c65887caa779b2aecf2c9626de5d17e59536 (patch)
treea8e901235323c0498eb7a91302eb3af9b941a1cc /cluster.go
parentddc0410126f6da0165f48f9023526dc47de52e5b (diff)
cleanups for gui pb tables
Diffstat (limited to 'cluster.go')
-rw-r--r--cluster.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cluster.go b/cluster.go
index a2c2391..da2fe58 100644
--- a/cluster.go
+++ b/cluster.go
@@ -18,6 +18,10 @@ type Cluster struct {
UnstableTimeout *durationpb.Duration
}
+func (c *Cluster) GetDropletsPB() *Droplets {
+ return c.d
+}
+
// adds a new droplet. enforce unique hostnames
func (c *Cluster) AddDroplet(newd *Droplet) bool {
c.Lock()