summaryrefslogtreecommitdiffstats
path: root/internal/state
diff options
context:
space:
mode:
Diffstat (limited to 'internal/state')
-rw-r--r--internal/state/state.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/state/state.go b/internal/state/state.go
index c7c7dd4..eb1dee8 100644
--- a/internal/state/state.go
+++ b/internal/state/state.go
@@ -20,10 +20,12 @@ type Host struct {
20 20
21// App represents a deployed application or static site 21// App represents a deployed application or static site
22type App struct { 22type App struct {
23 Type string `json:"type"` // "app" or "static" 23 Type string `json:"type"` // "app" or "static"
24 Domain string `json:"domain"` 24 Domain string `json:"domain"`
25 Port int `json:"port,omitempty"` // only for type="app" 25 Port int `json:"port,omitempty"` // only for type="app"
26 Env map[string]string `json:"env,omitempty"` // only for type="app" 26 Env map[string]string `json:"env,omitempty"` // only for type="app"
27 Args string `json:"args,omitempty"` // only for type="app"
28 Files []string `json:"files,omitempty"` // only for type="app"
27} 29}
28 30
29const ( 31const (