Documentation ¶
Index ¶
- func GetInstallDir(pluginName, version string) (string, error)
- func GetLanguageJSONFilePath(language string) (string, error)
- func GetLatestInstalledPluginVersionPath(pluginDir string) (string, error)
- func GetPluginDescriptor(pluginID, pluginVersion string) (*pluginDescriptor, error)
- func GetPluginDescriptorFromJSON(pluginJSON string) (*pluginDescriptor, error)
- func IsPluginAdded(manifest *manifest.Manifest, descriptor *pluginDescriptor) bool
- func IsPluginInstalled(pluginName, pluginVersion string) bool
- func SetEnvForPlugin(action string, pd *pluginDescriptor, manifest *manifest.Manifest, ...) error
- func StartPlugin(pd *pluginDescriptor, action string) (*plugin, error)
- type ByPluginName
- type Handler
- type PluginInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInstallDir ¶ added in v0.3.0
func GetLanguageJSONFilePath ¶ added in v0.3.0
func GetLatestInstalledPluginVersionPath ¶ added in v0.3.0
func GetPluginDescriptor ¶
func GetPluginDescriptorFromJSON ¶ added in v0.3.0
func IsPluginAdded ¶
func IsPluginInstalled ¶
func SetEnvForPlugin ¶
func StartPlugin ¶
Types ¶
type ByPluginName ¶ added in v0.3.0
type ByPluginName []PluginInfo
func (ByPluginName) Len ¶ added in v0.3.0
func (a ByPluginName) Len() int
func (ByPluginName) Less ¶ added in v0.3.0
func (a ByPluginName) Less(i, j int) bool
func (ByPluginName) Swap ¶ added in v0.3.0
func (a ByPluginName) Swap(i, j int)
type Handler ¶ added in v0.3.0
type Handler struct {
// contains filtered or unexported fields
}
func StartPlugins ¶
func (*Handler) GracefullyKillPlugins ¶ added in v0.3.0
func (handler *Handler) GracefullyKillPlugins()
func (*Handler) NotifyPlugins ¶ added in v0.3.0
func (handler *Handler) NotifyPlugins(message *gauge_messages.Message)
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
Click to show internal directories.
Click to hide internal directories.