diff options
Diffstat (limited to 'internal/state/state.go')
| -rw-r--r-- | internal/state/state.go | 4 |
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 |
| 22 | type App struct { | 22 | type 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 | ||
| 29 | const ( | 31 | const ( |
