Documentation ¶
Index ¶
- func GenerateDoc(pluginName string, specDirs []string, port int)
- func GetInstallDir(pluginName, version string) (string, error)
- func GetLanguageJSONFilePath(language string) (string, error)
- func GetPluginDescriptor(pluginID, pluginVersion string) (*pluginDescriptor, error)
- func GetPluginDescriptorFromJSON(pluginJSON string) (*pluginDescriptor, error)
- func IsLanguagePlugin(plugin string) bool
- func IsPluginAdded(manifest *manifest.Manifest, descriptor *pluginDescriptor) bool
- func IsPluginInstalled(pluginName, pluginVersion string) bool
- func QueryParams() string
- func SetEnvForPlugin(action string, pd *pluginDescriptor, manifest *manifest.Manifest, ...) error
- func StartPlugin(pd *pluginDescriptor, action string) (*plugin, error)
- type GaugePlugins
- type Handler
- type PluginInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDoc ¶ added in v0.5.0
func GetInstallDir ¶ added in v0.3.0
GetInstallDir returns the install directory of given plugin and a given version.
func GetLanguageJSONFilePath ¶ added in v0.3.0
func GetPluginDescriptor ¶
func GetPluginDescriptorFromJSON ¶ added in v0.3.0
func IsLanguagePlugin ¶ added in v0.9.0
func IsPluginAdded ¶
func IsPluginInstalled ¶
func QueryParams ¶ added in v0.4.0
func QueryParams() string
func SetEnvForPlugin ¶
func StartPlugin ¶
Types ¶
type GaugePlugins ¶ added in v0.8.5
type GaugePlugins struct {
// contains filtered or unexported fields
}
func (*GaugePlugins) GracefullyKillPlugins ¶ added in v0.8.5
func (gp *GaugePlugins) GracefullyKillPlugins()
func (*GaugePlugins) NotifyPlugins ¶ added in v0.8.5
func (gp *GaugePlugins) NotifyPlugins(message *gauge_messages.Message)
type Handler ¶ added in v0.3.0
type Handler interface { NotifyPlugins(*gauge_messages.Message) GracefullyKillPlugins() }
func StartPlugins ¶
type PluginInfo ¶ added in v0.3.0
func GetAllInstalledPluginsWithVersion ¶ added in v0.3.0
func GetAllInstalledPluginsWithVersion() ([]PluginInfo, error)
func GetPluginsInfo ¶ added in v0.3.0
func GetPluginsInfo() []PluginInfo
func PluginsWithoutScope ¶ added in v0.9.3
func PluginsWithoutScope() (infos []PluginInfo)
Click to show internal directories.
Click to hide internal directories.