Documentation ¶
Index ¶
- func HandlePluginCommand(args []string)
- type Index
- type Plugin
- type PluginController
- func (pc *PluginController) AddRepo(repoJsonURL string) error
- func (pc *PluginController) DeletePlugin(pluginName string) error
- func (pc *PluginController) DeleteRepo(repoName string) error
- func (pc *PluginController) FindExecutorPlugin(data interface{}) (v1.Executor, error)
- func (pc *PluginController) InitPluginController(pluginsPath string, repoPath string, defaultRepo string) (*PluginController, error)
- func (pc *PluginController) InstallPlugin(pluginName string, repositoryURL string) error
- func (pc *PluginController) SearchPlugin(pluginName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlePluginCommand ¶
func HandlePluginCommand(args []string)
HandlePluginCommand обрабатывает команды для управления плагинами
Types ¶
type PluginController ¶
type PluginController struct { ControllerVersion string ExecutorPluginRegistry map[string]v1.Executor PluginRepositoryMap map[string]string LocalRepositoryPath string DefaultRepository string }
func (*PluginController) AddRepo ¶
func (pc *PluginController) AddRepo(repoJsonURL string) error
func (*PluginController) DeletePlugin ¶
func (pc *PluginController) DeletePlugin(pluginName string) error
func (*PluginController) DeleteRepo ¶
func (pc *PluginController) DeleteRepo(repoName string) error
func (*PluginController) FindExecutorPlugin ¶
func (pc *PluginController) FindExecutorPlugin(data interface{}) (v1.Executor, error)
func (*PluginController) InitPluginController ¶
func (pc *PluginController) InitPluginController(pluginsPath string, repoPath string, defaultRepo string) (*PluginController, error)
func (*PluginController) InstallPlugin ¶
func (pc *PluginController) InstallPlugin(pluginName string, repositoryURL string) error
func (*PluginController) SearchPlugin ¶
func (pc *PluginController) SearchPlugin(pluginName string) error
Click to show internal directories.
Click to hide internal directories.