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