(c *gin.Context)
| 209 | } |
| 210 | |
| 211 | func GetTaskPluginVersions(c *gin.Context) { |
| 212 | plugins, err := model.ListTaskPluginVersions(c.Param("key")) |
| 213 | if err != nil { |
| 214 | common.ApiError(c, err) |
| 215 | return |
| 216 | } |
| 217 | common.ApiSuccess(c, plugins) |
| 218 | } |
| 219 | |
| 220 | type taskPluginListItem struct { |
| 221 | Meta jsplugin.Meta `json:"meta"` |
nothing calls this directly
no test coverage detected