cycle

package
v0.0.0-...-758a821 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cycle

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

func NewCycle

func NewCycle(ctx *cmdutil.CmdContext) *Cycle

func (*Cycle) AddNode

func (c *Cycle) AddNode(newNode *CycleNode)

func (*Cycle) Run

func (c *Cycle) Run(t CycleNodeType)

Run function runs specific type nodes

type CycleNode

type CycleNode struct {
	Type CycleNodeType
	Name string
	// contains filtered or unexported fields
}

func NewCycleNode

func NewCycleNode() *CycleNode

func (*CycleNode) AddExe

func (cn *CycleNode) AddExe(exe func(ctx *cmdutil.CmdContext) error)

func (*CycleNode) Run

func (cn *CycleNode) Run(ctx *cmdutil.CmdContext) (err error)

type CycleNodeType

type CycleNodeType uint

Jump to

Keyboard shortcuts

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