diff options
Diffstat (limited to 'internal/state/state.go')
| -rw-r--r-- | internal/state/state.go | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/internal/state/state.go b/internal/state/state.go index c6de34a..38657cb 100644 --- a/internal/state/state.go +++ b/internal/state/state.go | |||
| @@ -22,12 +22,14 @@ type Host struct { | |||
| 22 | 22 | ||
| 23 | // App represents a deployed application or static site | 23 | // App represents a deployed application or static site |
| 24 | type App struct { | 24 | type App struct { |
| 25 | Type string `json:"type"` // "app" or "static" | 25 | Type string `json:"type"` // "app" or "static" |
| 26 | Domain string `json:"domain"` | 26 | Domain string `json:"domain"` |
| 27 | Port int `json:"port,omitempty"` // only for type="app" | 27 | Port int `json:"port,omitempty"` // only for type="app" |
| 28 | Env map[string]string `json:"env,omitempty"` // only for type="app" | 28 | Env map[string]string `json:"env,omitempty"` // only for type="app" |
| 29 | Args string `json:"args,omitempty"` // only for type="app" | 29 | Args string `json:"args,omitempty"` // only for type="app" |
| 30 | Files []string `json:"files,omitempty"` // only for type="app" | 30 | Files []string `json:"files,omitempty"` // only for type="app" |
| 31 | Memory string `json:"memory,omitempty"` // only for type="app" | ||
| 32 | CPU string `json:"cpu,omitempty"` // only for type="app" | ||
| 31 | } | 33 | } |
| 32 | 34 | ||
| 33 | const ( | 35 | const ( |
