kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/plugin/plugin.go

var pluginLong

var pluginExample

var pluginListLong

var ValidPluginFilenamePrefixes

func NewCmdPlugin(streams genericiooptions.IOStreams) *cobra.Command {}

type PluginListOptions

// NewCmdPluginList provides a way to list all plugin executables visible to kubectl
func NewCmdPluginList(streams genericiooptions.IOStreams) *cobra.Command {}

func (o *PluginListOptions) Complete(cmd *cobra.Command) error {}

func (o *PluginListOptions) Run() error {}

// ListPlugins returns list of plugin paths.
func (o *PluginListOptions) ListPlugins() ([]string, []error) {}

type PathVerifier

type CommandOverrideVerifier

// Verify implements PathVerifier and determines if a given path
// is valid depending on whether or not it overwrites an existing
// kubectl command path, or a previously seen plugin.
func (v *CommandOverrideVerifier) Verify(path string) []error {}

func isExecutable(fullPath string) (bool, error) {}

// uniquePathsList deduplicates a given slice of strings without
// sorting or otherwise altering its order in any way.
func uniquePathsList(paths []string) []string {}

func hasValidPrefix(filepath string, validPrefixes []string) bool {}