hub

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2016 License: GPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTag

func ParseTag(tag string) (service, namespace, name, version string, err error)

Types

type PluginHub

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

func New

func New() (*PluginHub, error)

func (*PluginHub) GetPluginInfo

func (hub *PluginHub) GetPluginInfo(tag string) (*manifest.Plugin, error)

func (*PluginHub) GetPluginPath

func (hub *PluginHub) GetPluginPath(tag string) (string, error)

func (*PluginHub) InstallPlugin

func (hub *PluginHub) InstallPlugin(namespace string, path string) (err error)

func (*PluginHub) ListPlugins

func (hub *PluginHub) ListPlugins(namespace string, category manifest.Category) []*manifest.Plugin

func (*PluginHub) RemoveNamespace

func (hub *PluginHub) RemoveNamespace(namespace string)

func (*PluginHub) RemovePlugin

func (hub *PluginHub) RemovePlugin(tag string) error

Jump to

Keyboard shortcuts

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