command

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

func NewListCommand

func NewListCommand() *cobra.Command

func NewValidateCommand

func NewValidateCommand() *cobra.Command

Types

type Command

type Command struct {
	// contains filtered or unexported fields
}

func New

func New() *Command

func (*Command) Cleanup added in v0.3.2

func (*Command) Cleanup()

func (*Command) GetCobraCommand

func (p *Command) GetCobraCommand() *cobra.Command

func (*Command) Init

func (*Command) Init() (plugin.Config, error)

func (*Command) PluginInfo

func (p *Command) PluginInfo() *api.PluginInfo

func (*Command) Type

func (p *Command) Type() plugin.Type

Jump to

Keyboard shortcuts

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