plugin

package
v6.35.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package plugin should not be imported by external consumers. It was not designed for external use.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddPluginRepoActor

type AddPluginRepoActor interface {
	AddPluginRepository(repoName string, repoURL string) error
}

type AddPluginRepoCommand

type AddPluginRepoCommand struct {
	RequiredArgs flag.AddPluginRepoArgs `positional-args:"yes"`

	SkipSSLValidation bool `short:"k" hidden:"true" description:"Skip SSL certificate validation"`
	UI                command.UI
	Config            command.Config
	Actor             AddPluginRepoActor
	// contains filtered or unexported fields
}

func (AddPluginRepoCommand) Execute

func (cmd AddPluginRepoCommand) Execute(args []string) error

func (*AddPluginRepoCommand) Setup

func (cmd *AddPluginRepoCommand) Setup(config command.Config, ui command.UI) error

type ListPluginReposCommand

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

func (ListPluginReposCommand) Execute

func (ListPluginReposCommand) Execute(args []string) error

func (ListPluginReposCommand) Setup

type PluginsActor

type PluginsActor interface {
	GetOutdatedPlugins() ([]pluginaction.OutdatedPlugin, error)
}

type PluginsCommand

type PluginsCommand struct {
	Checksum bool `long:"checksum" description:"Compute and show the sha1 value of the plugin binary file"`
	Outdated bool `long:"outdated" description:"Search the plugin repositories for new versions of installed plugins"`

	SkipSSLValidation bool `short:"k" hidden:"true" description:"Skip SSL certificate validation"`
	UI                command.UI
	Config            command.Config
	Actor             PluginsActor
	// contains filtered or unexported fields
}

func (PluginsCommand) Execute

func (cmd PluginsCommand) Execute([]string) error

func (*PluginsCommand) Setup

func (cmd *PluginsCommand) Setup(config command.Config, ui command.UI) error

type RemovePluginRepoCommand

type RemovePluginRepoCommand struct {
	RequiredArgs flag.PluginRepoName `positional-args:"yes"`
	// contains filtered or unexported fields
}

func (RemovePluginRepoCommand) Execute

func (RemovePluginRepoCommand) Execute(args []string) error

func (RemovePluginRepoCommand) Setup

type RepoPluginsCommand

type RepoPluginsCommand struct {
	RegisteredRepository string `short:"r" description:"Name of a registered repository"`
	// contains filtered or unexported fields
}

func (RepoPluginsCommand) Execute

func (RepoPluginsCommand) Execute(args []string) error

func (RepoPluginsCommand) Setup

func (RepoPluginsCommand) Setup(config command.Config, ui command.UI) error

type UninstallPluginActor

type UninstallPluginActor interface {
	UninstallPlugin(uninstaller pluginaction.PluginUninstaller, name string) error
}

type UninstallPluginCommand

type UninstallPluginCommand struct {
	RequiredArgs flag.PluginName `positional-args:"yes"`

	Config command.Config
	UI     command.UI
	Actor  UninstallPluginActor
	// contains filtered or unexported fields
}

func (UninstallPluginCommand) Execute

func (cmd UninstallPluginCommand) Execute(args []string) error

func (*UninstallPluginCommand) Setup

func (cmd *UninstallPluginCommand) Setup(config command.Config, ui command.UI) error

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.
Package shared should not be imported by external consumers.
Package shared should not be imported by external consumers.

Jump to

Keyboard shortcuts

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