This is an automated email from the ASF dual-hosted git repository. rabbah pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openwhisk-client-go.git
The following commit(s) were added to refs/heads/master by this push: new a804fb8 Add `updated` field on package, rule, and trigger entity (#135) a804fb8 is described below commit a804fb82d10586dc3e1060142db371000a941a6f Author: Seonghyun Oh <seonghyu...@gmail.com> AuthorDate: Sat Feb 1 23:32:23 2020 +0900 Add `updated` field on package, rule, and trigger entity (#135) --- whisk/package.go | 1 + whisk/rule.go | 1 + whisk/trigger.go | 1 + 3 files changed, 3 insertions(+) diff --git a/whisk/package.go b/whisk/package.go index dcb7e21..a138126 100644 --- a/whisk/package.go +++ b/whisk/package.go @@ -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 { diff --git a/whisk/rule.go b/whisk/rule.go index 9850948..e52d41f 100644 --- a/whisk/rule.go +++ b/whisk/rule.go @@ -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 { diff --git a/whisk/trigger.go b/whisk/trigger.go index d4091ae..bda970d 100644 --- a/whisk/trigger.go +++ b/whisk/trigger.go @@ -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 {