summaryrefslogtreecommitdiff
path: root/digitalocean/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'digitalocean/structs.go')
-rw-r--r--digitalocean/structs.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/digitalocean/structs.go b/digitalocean/structs.go
index cfd400d..bfb607f 100644
--- a/digitalocean/structs.go
+++ b/digitalocean/structs.go
@@ -18,8 +18,10 @@ type DigitalOcean struct {
token string // You're Digital Ocean API key
dpolled []godo.Droplet
+ sshKeys []godo.Key
dropMap map[int]*Droplet
+ create *windowCreate
parent *gui.Node // should be the root of the 'gui' package binary tree
window *gui.Node // our window for displaying digital ocean droplets
@@ -35,6 +37,20 @@ type DigitalOcean struct {
statusIPv6 *gadgets.OneLiner
}
+type windowCreate struct {
+ ready bool
+ hidden bool
+ err error
+
+ parent *gui.Node // should be the root of the 'gui' package binary tree
+ window *gui.Node // our window for displaying digital ocean droplets
+ group *gui.Node
+ grid *gui.Node
+
+ tag *gadgets.OneLiner
+ name *gadgets.BasicEntry
+}
+
type ipButton struct {
ip *gui.Node
c *gui.Node