Documentation
¶
Index ¶
- type Store
- func (s *Store) FilterPlugins(category, search string, tags []string) []StorePlugin
- func (s *Store) GetCategories() []string
- func (s *Store) GetPlugin(name string) *StorePlugin
- func (s *Store) GetPlugins() []StorePlugin
- func (s *Store) GetTags() []string
- func (s *Store) LoadFromCache() error
- func (s *Store) Refresh() error
- func (s *Store) UpdateInstalledStatus(installedPlugins map[string]bool, enabledPlugins map[string]bool)
- type StorePlugin
- type StoreUI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store represents the plugin store
func (*Store) FilterPlugins ¶
func (s *Store) FilterPlugins(category, search string, tags []string) []StorePlugin
FilterPlugins filters plugins by category, tags, or search term
func (*Store) GetCategories ¶
GetCategories returns all available categories
func (*Store) GetPlugin ¶
func (s *Store) GetPlugin(name string) *StorePlugin
GetPlugin returns a specific plugin
func (*Store) GetPlugins ¶
func (s *Store) GetPlugins() []StorePlugin
GetPlugins returns all plugins
func (*Store) LoadFromCache ¶
LoadFromCache loads plugins from cache
type StorePlugin ¶
type StorePlugin struct {
Name string `json:"name"`
Version string `json:"version"`
Description string `json:"description"`
Author string `json:"author"`
License string `json:"license"`
Repository string `json:"repository,omitempty"`
Homepage string `json:"homepage,omitempty"`
DownloadURL string `json:"download_url"`
Checksum string `json:"checksum,omitempty"`
Category string `json:"category"`
Tags []string `json:"tags"`
Installed bool `json:"-"`
Enabled bool `json:"-"`
Commands []sdk.PluginCommand `json:"commands"`
}
StorePlugin represents a plugin in the store
Click to show internal directories.
Click to hide internal directories.