list

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCreate

func NewCmdCreate(f env.Factory) *cobra.Command

NewCmdCreate returns new initialized instance of create sub command

Types

type ListOptions

type ListOptions struct {
	options.IOStreams

	Remote     bool
	Upgradable bool
	All        bool
}

func NewListOptions

func NewListOptions(ioStreams options.IOStreams) *ListOptions

NewListOptions returns an initialized ListOptions instance

func (*ListOptions) Complete

func (o *ListOptions) Complete(f env.Factory, cmd *cobra.Command) error

Complete completes all the required options

func (*ListOptions) Run

func (o *ListOptions) Run(f env.Factory, cmd *cobra.Command) error

Run performs the listing of plugins

func (*ListOptions) ValidateArgs

func (o *ListOptions) ValidateArgs(cmd *cobra.Command, args []string) error

ValidateArgs makes sure there is no discrepancy in command options

Jump to

Keyboard shortcuts

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