Skip to content

Commit

Permalink
feature(app): Add Limits field to App
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-welsch committed Mar 11, 2021
1 parent cbee437 commit 1015411
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## To Be Released

* Add `Limits` field to `App`

## 4.11.1

* Rename `DeployEvent*` structures to `DeploymentEvent*` [#201](https://github.com/Scalingo/go-scalingo/pull/201)
Expand Down
29 changes: 15 additions & 14 deletions apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,20 +94,21 @@ type App struct {
Username string `json:"username"`
Email string `json:"email"`
} `json:"owner"`
GitUrl string `json:"git_url"`
Url string `json:"url"`
BaseURL string `json:"base_url"`
Status AppStatus `json:"status"`
LastDeployedAt *time.Time `json:"last_deployed_at"`
LastDeployedBy string `json:"last_deployed_by"`
CreatedAt *time.Time `json:"created_at"`
UpdatedAt *time.Time `json:"update_at"`
Links *AppLinks `json:"links"`
StackID string `json:"stack_id"`
StickySession bool `json:"sticky_session"`
ForceHTTPS bool `json:"force_https"`
RouterLogs bool `json:"router_logs"`
Flags map[string]bool `json:"flags"`
GitUrl string `json:"git_url"`
Url string `json:"url"`
BaseURL string `json:"base_url"`
Status AppStatus `json:"status"`
LastDeployedAt *time.Time `json:"last_deployed_at"`
LastDeployedBy string `json:"last_deployed_by"`
CreatedAt *time.Time `json:"created_at"`
UpdatedAt *time.Time `json:"update_at"`
Links *AppLinks `json:"links"`
StackID string `json:"stack_id"`
StickySession bool `json:"sticky_session"`
ForceHTTPS bool `json:"force_https"`
RouterLogs bool `json:"router_logs"`
Flags map[string]bool `json:"flags"`
Limits map[string]int64 `json:"limits"`
}

func (app App) String() string {
Expand Down

0 comments on commit 1015411

Please sign in to comment.