git

package
v0.0.0-...-eeee692 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL