plugin

package
v0.0.0-...-7f57805 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPluginCommand

func NewPluginCommand(settings *environment.Settings) *cobra.Command

NewPluginCommand creates a new "fabric plugin" command

func NewPluginInstallCommand

func NewPluginInstallCommand(settings *environment.Settings) *cobra.Command

NewPluginInstallCommand creates a new "fabric plugin install" command

func NewPluginListCommand

func NewPluginListCommand(settings *environment.Settings) *cobra.Command

NewPluginListCommand creates a new "fabric plugin list" command

func NewPluginUninstallCommand

func NewPluginUninstallCommand(settings *environment.Settings) *cobra.Command

NewPluginUninstallCommand creates a new "fabric plugin uninstall" command

Types

type InstallCommand

type InstallCommand struct {
	common.Command
	Handler plugin.Handler

	Path string
}

InstallCommand implements the plugin install command

func (*InstallCommand) Complete

func (c *InstallCommand) Complete() error

Complete initializes the plugin handler

func (*InstallCommand) Run

func (c *InstallCommand) Run() error

Run executes the command

func (*InstallCommand) Validate

func (c *InstallCommand) Validate() error

Validate checks the required parameters for run

type ListCommand

type ListCommand struct {
	common.Command
	Handler plugin.Handler
}

ListCommand implements the plugin list command

func (*ListCommand) Complete

func (c *ListCommand) Complete() error

Complete initializes the plugin handler

func (*ListCommand) Run

func (c *ListCommand) Run() error

Run executes the command

type UninstallCommand

type UninstallCommand struct {
	common.Command
	Handler plugin.Handler

	Name string
}

UninstallCommand implements the plugin uninstall command

func (*UninstallCommand) Complete

func (c *UninstallCommand) Complete() error

Complete initializes the plugin handler

func (*UninstallCommand) Run

func (c *UninstallCommand) Run() error

Run executes the command

func (*UninstallCommand) Validate

func (c *UninstallCommand) Validate() error

Validate checks the required parameters for run

Jump to

Keyboard shortcuts

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