You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by st...@apache.org on 2020/08/24 01:36:55 UTC
[openwhisk-client-go] branch master updated: Add DelAnnotations
field to support del annotation (#137)
This is an automated email from the ASF dual-hosted git repository.
style95 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 44551f1 Add DelAnnotations field to support del annotation (#137)
44551f1 is described below
commit 44551f1f3b715e87c0319b55762d50c71d214460
Author: ningyougang <41...@qq.com>
AuthorDate: Mon Aug 24 09:36:30 2020 +0800
Add DelAnnotations field to support del annotation (#137)
Co-authored-by: ning.yougang <ni...@navercorp.com>
---
whisk/action.go | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/whisk/action.go b/whisk/action.go
index 9935871..5ee755f 100644
--- a/whisk/action.go
+++ b/whisk/action.go
@@ -31,17 +31,18 @@ type ActionService struct {
}
type Action struct {
- Namespace string `json:"namespace,omitempty"`
- Name string `json:"name,omitempty"`
- Version string `json:"version,omitempty"`
- Exec *Exec `json:"exec,omitempty"`
- Annotations KeyValueArr `json:"annotations,omitempty"`
- Parameters KeyValueArr `json:"parameters,omitempty"`
- Limits *Limits `json:"limits,omitempty"`
- Error string `json:"error,omitempty"`
- Code int `json:"code,omitempty"`
- Publish *bool `json:"publish,omitempty"`
- Updated int64 `json:"updated,omitempty"`
+ Namespace string `json:"namespace,omitempty"`
+ Name string `json:"name,omitempty"`
+ Version string `json:"version,omitempty"`
+ Exec *Exec `json:"exec,omitempty"`
+ Annotations KeyValueArr `json:"annotations,omitempty"`
+ DelAnnotations []string `json:"delAnnotations,omitempty"`
+ Parameters KeyValueArr `json:"parameters,omitempty"`
+ Limits *Limits `json:"limits,omitempty"`
+ Error string `json:"error,omitempty"`
+ Code int `json:"code,omitempty"`
+ Publish *bool `json:"publish,omitempty"`
+ Updated int64 `json:"updated,omitempty"`
}
type Exec struct {