Documentation ¶
Index ¶
- type HelloWorldPlugin
- func (self *HelloWorldPlugin) Configure(map[string]interface{}) error
- func (self *HelloWorldPlugin) GetAPIHandler() http.Handler
- func (self *HelloWorldPlugin) GetPanelConfig() (*plugin.PanelConfig, error)
- func (hwp *HelloWorldPlugin) GetUIHandler() http.Handler
- func (self *HelloWorldPlugin) Name() string
- func (self *HelloWorldPlugin) NewCommand(cmdName string) (plugin.Command, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelloWorldPlugin ¶
type HelloWorldPlugin struct{}
GitPlugin handles fetching source code and applying patches using the git version control system.
func (*HelloWorldPlugin) Configure ¶
func (self *HelloWorldPlugin) Configure(map[string]interface{}) error
func (*HelloWorldPlugin) GetAPIHandler ¶
func (self *HelloWorldPlugin) GetAPIHandler() http.Handler
GetRoutes returns an API route for serving patch data.
func (*HelloWorldPlugin) GetPanelConfig ¶
func (self *HelloWorldPlugin) GetPanelConfig() (*plugin.PanelConfig, error)
GetPanelConfig is required to fulfill the Plugin interface. This plugin does not have any UI hooks.
func (*HelloWorldPlugin) GetUIHandler ¶
func (hwp *HelloWorldPlugin) GetUIHandler() http.Handler
func (*HelloWorldPlugin) Name ¶
func (self *HelloWorldPlugin) Name() string
Name implements Plugin Interface.
func (*HelloWorldPlugin) NewCommand ¶
func (self *HelloWorldPlugin) NewCommand(cmdName string) (plugin.Command, error)
NewCommand returns requested commands by name. Fulfills the Plugin interface.
Click to show internal directories.
Click to hide internal directories.