Merge pull request #2703 from shaowenchen/fix_to_json

add parameter for to_json
This commit is contained in:
KubeSphere CI Bot
2020-07-30 09:52:52 +08:00
committed by GitHub

View File

@@ -1008,6 +1008,18 @@ type ResJson struct {
} `json:"value,omitempty"`
} `json:"arguments,omitempty"`
} `json:"agent,omitempty"`
Parameters struct {
Parameters []struct {
Name string `json:"name,omitempty" description:"name"`
Arguments []struct {
Key string `json:"key,omitempty" description:"key"`
Value struct {
IsLiteral bool `json:"isLiteral,omitempty" description:"is literal or not"`
Value string `json:"value,omitempty" description:"value"`
} `json:"value,omitempty"`
} `json:"arguments,omitempty"`
} `json:"parameters,omitempty"`
} `json:"parameters,omitempty"`
} `json:"pipeline,omitempty"`
} `json:"json,omitempty"`
} `json:"data,omitempty"`