Documentation ¶
Index ¶
- type EchelonNode
- func (node *EchelonNode) AddNewChild(child *EchelonNode)
- func (node *EchelonNode) AppendDescription(text string)
- func (node *EchelonNode) ClearAllChildren()
- func (node *EchelonNode) ClearDescription()
- func (node *EchelonNode) Complete()
- func (node *EchelonNode) CompleteWithColor(status string, titleColor int)
- func (node *EchelonNode) DescriptionLength() int
- func (node *EchelonNode) ExecutionDuration() time.Duration
- func (node *EchelonNode) FindOrCreateChild(childTitle string) *EchelonNode
- func (node *EchelonNode) GetChildren() []*EchelonNode
- func (node *EchelonNode) HasCompleted() bool
- func (node *EchelonNode) HasStarted() bool
- func (node *EchelonNode) IsRunning() bool
- func (node *EchelonNode) Render() []string
- func (node *EchelonNode) SetDescription(description []string)
- func (node *EchelonNode) SetStatus(text string)
- func (node *EchelonNode) SetTitleColor(ansiColor int)
- func (node *EchelonNode) SetVisibleDescriptionLines(count int)
- func (node *EchelonNode) Start()
- func (node *EchelonNode) StartNewChild(childName string) *EchelonNode
- func (node *EchelonNode) UpdateConfig(config *config.InteractiveRendererConfig)
- func (node *EchelonNode) UpdateTitle(text string)
- func (node *EchelonNode) WaitCompletion()
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()
Click to show internal directories.
Click to hide internal directories.