func (c Cache) ListPlugins() []*models.Plugin {
	var ret []*models.Plugin
	for _, s := range c.plugins {
		ret = append(ret, s.toPlugin())
	}

	return ret
}
// ListPlugins returns plugin details for all of the loaded plugins.
ListPlugins returns plugin details for all of the loaded plugins.
// ListPlugins returns plugin details for all of the loaded plugins .
func (c Cache) ListPlugins() []*models.Plugin {
	var ret []*models.Plugin
	for _, s := range c.plugins {
		ret = append(ret, s.toPlugin())
	}
	return ret
}
func ( c Cache ) ListPlugins ( ) [ ] * models . Plugin { var ret [ ] * models . Plugin for _ , s := range c . plugins { ret = append ( ret , s . toPlugin ( ) ) } return ret }
ListPlugins returns plugin details for all of the loaded plugins.
ListPlugins returns plugin details for all of the loaded plugins .