plugin

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2015 License: GPL-3.0, GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPluginDescriptor

func GetPluginDescriptor(pluginId, pluginVersion string) (*pluginDescriptor, error)

func GetPluginDescriptorFromJson

func GetPluginDescriptorFromJson(pluginJson string) (*pluginDescriptor, error)

func IsPluginAdded

func IsPluginAdded(manifest *manifest.Manifest, descriptor *pluginDescriptor) bool

func IsPluginInstalled

func IsPluginInstalled(pluginName, pluginVersion string) bool

func SetEnvForPlugin

func SetEnvForPlugin(action string, pd *pluginDescriptor, manifest *manifest.Manifest, pluginEnvVars map[string]string) error

func StartPlugin

func StartPlugin(pd *pluginDescriptor, action string, wait bool) (*exec.Cmd, error)

Types

type PluginHandler

type PluginHandler struct {
	// contains filtered or unexported fields
}

func StartPlugins

func StartPlugins(manifest *manifest.Manifest) *PluginHandler

func (*PluginHandler) GracefullyKillPlugins

func (handler *PluginHandler) GracefullyKillPlugins()

func (*PluginHandler) NotifyPlugins

func (handler *PluginHandler) NotifyPlugins(message *gauge_messages.Message)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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