Skip to content

Commit

Permalink
Move core structs to core
Browse files Browse the repository at this point in the history
  • Loading branch information
pratishshr committed Oct 16, 2019
1 parent e6ca1c1 commit 743b9bf
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions core/structs/structs.go
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"`
}

0 comments on commit 743b9bf

Please sign in to comment.