Skip to content

Commit

Permalink
Add DelAnnotations field to support del annotation (#137)
Browse files Browse the repository at this point in the history
Co-authored-by: ning.yougang <ning.yougang@navercorp.com>
  • Loading branch information
ningyougang and ningyougang authored Aug 24, 2020
1 parent d725034 commit 44551f1
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions whisk/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 44551f1

Please sign in to comment.