dodo

package
v0.0.0-...-83b6cba Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExitCodeInternalError = 1
	DefaultCommand        = "run"
)
View Source
const Name = "dodo"

Variables

View Source
var (
	ErrInvalidConfiguration = errors.New("invalid configuration")
)

Functions

func ExecuteDodoMain

func ExecuteDodoMain(m plugin.Manager) int

Types

type Command

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

func New

func New(m plugin.Manager, defaultCmd string) *Command

func (*Command) Cleanup

func (*Command) Cleanup()

func (*Command) GetCobraCommand

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

func (*Command) Init

func (*Command) Init() (plugin.PluginConfig, 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