summaryrefslogtreecommitdiff
path: root/digitalocean/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-12-31 18:27:19 -0600
committerJeff Carr <[email protected]>2023-12-31 18:27:19 -0600
commit0f4e3483331bc2504d330c07d86f79cb64416c88 (patch)
tree080049485e89b6fc1891929207784d27fd961b54 /digitalocean/structs.go
parent55c9d4b0c4c60e55a0c13d20eacec5b6c86a1beb (diff)
display droplet works betterv0.2.5
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'digitalocean/structs.go')
-rw-r--r--digitalocean/structs.go11
1 files changed, 8 insertions, 3 deletions
diff --git a/digitalocean/structs.go b/digitalocean/structs.go
index ac376fc..a18161a 100644
--- a/digitalocean/structs.go
+++ b/digitalocean/structs.go
@@ -65,6 +65,9 @@ type ipButton struct {
type Droplet struct {
ID int
+ image string
+ memory int
+ disk int
ready bool
hidden bool
@@ -72,9 +75,11 @@ type Droplet struct {
poll *godo.Droplet // store what the digital ocean API returned
- name *gui.Node
- sizeSlug *gui.Node
- status *gui.Node
+ nameN *gui.Node
+ sizeSlugN *gui.Node
+ statusN *gui.Node
+ imageN *gui.Node
+
destroy *gui.Node
connect *gui.Node
poweron *gui.Node