plugins

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package plugins provides commands for managing scafctl plugins.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandInstall

func CommandInstall(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command

CommandInstall creates the install subcommand.

func CommandList

func CommandList(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command

CommandList creates the list subcommand.

func CommandPlugins

func CommandPlugins(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command

CommandPlugins creates the plugins command group.

func CommandPrune added in v0.17.0

func CommandPrune(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command

CommandPrune creates the prune subcommand.

func CommandUpdate added in v0.17.0

func CommandUpdate(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command

CommandUpdate creates the update subcommand.

Types

type InstallOptions

type InstallOptions struct {
	CliParams *settings.Run
	IOStreams *terminal.IOStreams
	File      string
	Platform  string
	CacheDir  string
	NoCache   bool
	Kind      string
	Version   string
	DryRun    bool
}

InstallOptions holds options for the install command.

type ListOptions

type ListOptions struct {
	BinaryName string
	CliParams  *settings.Run
	IOStreams  *terminal.IOStreams
	CacheDir   string
	flags.KvxOutputFlags
}

ListOptions holds options for the list command.

type PruneOptions added in v0.17.0

type PruneOptions struct {
	CliParams *settings.Run
	IOStreams *terminal.IOStreams
	CacheDir  string
	Keep      int
	All       bool
	Force     bool
	DryRun    bool
	flags.KvxOutputFlags
}

PruneOptions holds options for the prune command.

type UpdateOptions added in v0.17.0

type UpdateOptions struct {
	CliParams *settings.Run
	IOStreams *terminal.IOStreams
	CacheDir  string
	Target    string
	Platform  string
	NoCache   bool
	DryRun    bool
	All       bool
	flags.KvxOutputFlags
}

UpdateOptions holds options for the update command.

Jump to

Keyboard shortcuts

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