node

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EchelonNode

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

func NewEchelonNode

func NewEchelonNode(title string, config *config.InteractiveRendererConfig) *EchelonNode

func StartNewEchelonNode

func StartNewEchelonNode(title string, config *config.InteractiveRendererConfig) *EchelonNode

func (*EchelonNode) AddNewChild

func (node *EchelonNode) AddNewChild(child *EchelonNode)

func (*EchelonNode) AppendDescription

func (node *EchelonNode) AppendDescription(text string)

func (*EchelonNode) ClearAllChildren

func (node *EchelonNode) ClearAllChildren()

func (*EchelonNode) ClearDescription

func (node *EchelonNode) ClearDescription()

func (*EchelonNode) Complete

func (node *EchelonNode) Complete()

func (*EchelonNode) CompleteWithColor

func (node *EchelonNode) CompleteWithColor(status string, titleColor int)

func (*EchelonNode) DescriptionLength

func (node *EchelonNode) DescriptionLength() int

func (*EchelonNode) ExecutionDuration

func (node *EchelonNode) ExecutionDuration() time.Duration

func (*EchelonNode) FindOrCreateChild

func (node *EchelonNode) FindOrCreateChild(childTitle string) *EchelonNode

func (*EchelonNode) GetChildren

func (node *EchelonNode) GetChildren() []*EchelonNode

func (*EchelonNode) HasCompleted

func (node *EchelonNode) HasCompleted() bool

func (*EchelonNode) HasStarted

func (node *EchelonNode) HasStarted() bool

func (*EchelonNode) IsRunning

func (node *EchelonNode) IsRunning() bool

func (*EchelonNode) Render

func (node *EchelonNode) Render() []string

func (*EchelonNode) SetDescription

func (node *EchelonNode) SetDescription(description []string)

func (*EchelonNode) SetStatus

func (node *EchelonNode) SetStatus(text string)

func (*EchelonNode) SetTitleColor

func (node *EchelonNode) SetTitleColor(ansiColor int)

func (*EchelonNode) SetVisibleDescriptionLines

func (node *EchelonNode) SetVisibleDescriptionLines(count int)

func (*EchelonNode) Start

func (node *EchelonNode) Start()

func (*EchelonNode) StartNewChild

func (node *EchelonNode) StartNewChild(childName string) *EchelonNode

func (*EchelonNode) UpdateConfig

func (node *EchelonNode) UpdateConfig(config *config.InteractiveRendererConfig)

func (*EchelonNode) UpdateTitle

func (node *EchelonNode) UpdateTitle(text string)

func (*EchelonNode) WaitCompletion

func (node *EchelonNode) WaitCompletion()

Jump to

Keyboard shortcuts

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