-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6ca1c1
commit 743b9bf
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package structs | ||
|
||
// Env defines the structure for a single environment | ||
type Env struct { | ||
Bucket string `json:"bucket"` | ||
Cluster string `json:"cluster"` | ||
} | ||
|
||
// Project defines the overall structure for a project deployment. | ||
type Project struct { | ||
Name string `json:"name"` | ||
Platform string `json:"platform"` | ||
Profile string `json:"profile"` | ||
Region string `json:"region"` | ||
Type string `json:"type"` | ||
DistDir string `json:"distDir"` | ||
SlackURL string `json:"slackURL"` | ||
Port string `json:"port"` | ||
DockerFilePath string `json:"dockerFilePath"` | ||
HealthCheckPath string `json:"healthCheckPath"` | ||
Env map[string]Env `json:"env"` | ||
} |