Documentation ¶
Index ¶
- Constants
- type ManifestPlugin
- func (m *ManifestPlugin) Configure(conf map[string]interface{}) error
- func (m *ManifestPlugin) GetManifest(w http.ResponseWriter, r *http.Request)
- func (m *ManifestPlugin) GetPanelConfig() (*plugin.PanelConfig, error)
- func (m *ManifestPlugin) GetUIHandler() http.Handler
- func (m *ManifestPlugin) Name() string
Constants ¶
View Source
const ( ManifestLoadCmd = "load" ManifestAttachCmd = "attach" ManifestPluginName = "manifest" ManifestLoadAPIEndpoint = "load" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManifestPlugin ¶
type ManifestPlugin struct{}
ManifestPlugin handles the creation of a Build Manifest associated with a version.
func (*ManifestPlugin) Configure ¶
func (m *ManifestPlugin) Configure(conf map[string]interface{}) error
func (*ManifestPlugin) GetManifest ¶
func (m *ManifestPlugin) GetManifest(w http.ResponseWriter, r *http.Request)
func (*ManifestPlugin) GetPanelConfig ¶
func (m *ManifestPlugin) GetPanelConfig() (*plugin.PanelConfig, error)
GetPanelConfig returns a pointer to a plugin's UI configuration. or an error, if an error occur while trying to generate the config A nil pointer represents a plugin without a UI presence, and is not an error. GetPanelConfig returns a plugin.PanelConfig struct representing panels that will be added to the Version page.
func (*ManifestPlugin) GetUIHandler ¶
func (m *ManifestPlugin) GetUIHandler() http.Handler
func (*ManifestPlugin) Name ¶
func (m *ManifestPlugin) Name() string
Name returns the name of this plugin - satisfies 'Plugin' interface
Click to show internal directories.
Click to hide internal directories.