plugins

package
v2.42.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPluginRunner

func NewPluginRunner(cmd *cobra.Command, args []string, f *cmdutil.Factory, managerOptions *PluginCmd, opts ...flags.GetOption) func() error

Types

type ExtensionReference

type ExtensionReference struct {
	ContextPath string
	Version     string
	Modules     []string
}

func (*ExtensionReference) Key

func (r *ExtensionReference) Key() string

type PluginCmd

type PluginCmd struct {
	*subcommand.SubCommand

	Factory *cmdutil.Factory

	Application   string
	Remove        []string
	Add           []string
	ReplaceAll    bool
	UpdateAll     bool
	RemoveInvalid bool
}

Jump to

Keyboard shortcuts

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