Documentation ¶
Index ¶
- Constants
- Variables
- func InstallPlugin(pluginName, version string, c CommandLine) error
- func PermissionsError(err error) bool
- func RemoveGitBuildFromName(pluginName, filename string) string
- func SelectVersion(plugin m.Plugin, version string) (m.Version, error)
- func ShouldUpgrade(installed string, remote m.Plugin) bool
- type CommandLine
Constants ¶
View Source
const AdminUserId = 1
Variables ¶
Functions ¶
func InstallPlugin ¶
func InstallPlugin(pluginName, version string, c CommandLine) error
Types ¶
type CommandLine ¶
type CommandLine interface { ShowHelp() ShowVersion() Application() *cli.App Args() cli.Args Bool(name string) bool Int(name string) int String(name string) string StringSlice(name string) []string GlobalString(name string) string FlagNames() (names []string) Generic(name string) interface{} PluginDirectory() string RepoDirectory() string }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.