Documentation
¶
Index ¶
- type GitClient
- type Manager
- func (m *Manager) GetPluginsDir() string
- func (m *Manager) HasUpdates(pluginID string, plugin Plugin) (bool, error)
- func (m *Manager) Install(plugin Plugin) error
- func (m *Manager) IsInstalled(plugin Plugin) (bool, error)
- func (m *Manager) ListInstalled() ([]string, error)
- func (m *Manager) Uninstall(plugin Plugin) error
- func (m *Manager) Update(plugin Plugin) error
- type Plugin
- func FilterByCapability(capability string, plugins []Plugin) []Plugin
- func FilterByCategory(category string, plugins []Plugin) []Plugin
- func FilterByCompositor(compositor string, plugins []Plugin) []Plugin
- func FuzzySearch(query string, plugins []Plugin) []Plugin
- func SortByFirstParty(plugins []Plugin) []Plugin
- type Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) GetPluginsDir ¶
func (*Manager) HasUpdates ¶ added in v0.2.0
func (*Manager) ListInstalled ¶
type Plugin ¶
type Plugin struct {
ID string `json:"id"`
Name string `json:"name"`
Capabilities []string `json:"capabilities"`
Category string `json:"category"`
Repo string `json:"repo"`
Path string `json:"path,omitempty"`
Author string `json:"author"`
Description string `json:"description"`
Dependencies []string `json:"dependencies,omitempty"`
Compositors []string `json:"compositors"`
Distro []string `json:"distro"`
Screenshot string `json:"screenshot,omitempty"`
}
func FilterByCapability ¶
func FilterByCategory ¶
func FilterByCompositor ¶
func FuzzySearch ¶
func SortByFirstParty ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
Click to show internal directories.
Click to hide internal directories.