manifest

package
v0.0.0-...-ee3d319 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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