inspector

package
v0.0.0-...-05fba6c Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InspectNode

func InspectNode(gCtx *snippet.Context, nodeID string) error

func NewCmdExecutor

func NewCmdExecutor(register *executor.Register) *cobra.Command

func Strip

func Strip(str string) string

Types

type BlockAction

type BlockAction struct {
	Action BlockActionType
	Args   []string
}

func NewBlockAction

func NewBlockAction(name string) *BlockAction

type BlockActionType

type BlockActionType int
const (
	BlockActionNone BlockActionType = iota
	BlockActionNext
	BlockActionPrev
	BlockActionJump
	BlockActionQuit
	BlockActionExecutionDone
)

type NodeInspector

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

func NewNodeInspector

func NewNodeInspector(graphCtx *snippet.Context, nodeID string) (*NodeInspector, error)

func (*NodeInspector) HistoryAppend

func (n *NodeInspector) HistoryAppend(cmd string) error

func (*NodeInspector) IterateLogEntries

func (n *NodeInspector) IterateLogEntries(limit int) error

func (*NodeInspector) NewRootCmd

func (n *NodeInspector) NewRootCmd() *cobra.Command

func (*NodeInspector) ResultLog

func (n *NodeInspector) ResultLog() (log.ResultLog, error)

Jump to

Keyboard shortcuts

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