Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add updated field on package, rule, and trigger entity #135

Merged
merged 1 commit into from
Feb 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions whisk/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ type Package struct {
Binding *Binding `json:"binding,omitempty"`
Actions []Action `json:"actions,omitempty"`
Feeds []Action `json:"feeds,omitempty"`
Updated int64 `json:"updated,omitempty"`
}

func (p *Package) GetName() string {
Expand Down
1 change: 1 addition & 0 deletions whisk/rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ type Rule struct {
Trigger interface{} `json:"trigger"`
Action interface{} `json:"action"`
Publish *bool `json:"publish,omitempty"`
Updated int64 `json:"updated,omitempty"`
}

type RuleListOptions struct {
Expand Down
1 change: 1 addition & 0 deletions whisk/trigger.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ type Trigger struct {
Limits *Limits `json:"limits,omitempty"`
Publish *bool `json:"publish,omitempty"`
Rules map[string]interface{} `json:"rules,omitempty"`
Updated int64 `json:"updated,omitempty"`
}

type TriggerListOptions struct {
Expand Down