cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyCmd

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

func NewApplyCmd

func NewApplyCmd(instrumenter tracing.CodeInstrumenter, importsGroomer tracing.ImportsGroomer) *ApplyCmd

func (*ApplyCmd) Prepare

func (ac *ApplyCmd) Prepare() *cobra.Command

func (*ApplyCmd) Run

func (ac *ApplyCmd) Run() error

type Command

type Command interface {
	Prepare() *cobra.Command
	Run() error
}

type CommandWithArgs

type CommandWithArgs interface {
	Validate([]string) error
}

type RevertCmd

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

func NewRevertCmd

func NewRevertCmd(deinstrumenter tracing.CodeDeinstrumenter, importsGroomer tracing.ImportsGroomer) *RevertCmd

func (*RevertCmd) Prepare

func (rc *RevertCmd) Prepare() *cobra.Command

func (*RevertCmd) Run

func (rc *RevertCmd) Run() error

type RootCmd

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

func NewRootCmd

func NewRootCmd() *RootCmd

func (*RootCmd) Prepare

func (rc *RootCmd) Prepare() *cobra.Command

func (*RootCmd) Run

func (rc *RootCmd) Run() error

type VisualizeCmd

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

func NewVisualizeCmd

func NewVisualizeCmd(parser parser.Parser, visualizer vis.Visualizer) *VisualizeCmd

func (*VisualizeCmd) Prepare

func (vc *VisualizeCmd) Prepare() *cobra.Command

func (*VisualizeCmd) Run

func (vc *VisualizeCmd) Run() error

func (*VisualizeCmd) Validate

func (vc *VisualizeCmd) Validate(args []string) error

Jump to

Keyboard shortcuts

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