summaryrefslogtreecommitdiffstats
path: root/internal/state
diff options
context:
space:
mode:
authorbndw <ben@bdw.to>2025-12-28 09:59:56 -0800
committerbndw <ben@bdw.to>2025-12-28 09:59:56 -0800
commitae384f0860c7ef98cc3de1763886566dc6ca903c (patch)
tree30d539af1a9e7b459f6822743b2bc08d1425e120 /internal/state
parent13c2f9cffa624fdf498f3b61fab9d809b92e026e (diff)
files
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 (