# Functions
CountBytesPrintWidth counts the number of printed characters a byte array will take.
ExecutionStatus returns the icon (with color) for a given ExecutionState's status.
FmtDuration produces a string for a given duration, rounding to the most reasonable timeframe.
FmtTimeSince returns a string representing the difference it time between start and close (or start and now).
GetExitCode returns the exit code for a given workflow execution status.
GetWorkflowExecutionUpdates gets workflow execution updates for a particular workflow - workflow ID of the workflow - runID can be default (empty string) - depth of child workflows to request updates for (-1 for unlimited depth) - concurrency of requests (non-zero positive integer) Returns iterator (see client.GetWorkflowHistory) that provides updated WorkflowExecutionState snapshots.
LineHeight returns the number of lines a string is going to take.
No description provided by the author
No description provided by the author
NewExecutionTemplate initializes the templates with the necessary functions.
NewTailBoxBoundBuffer returns trims a buffer to fit into the box defined by maxLines and maxWidth and the number of lines printing the buffer will take.
NewTermWriter returns a new TermWriter set to output to Stdout.
No description provided by the author
NewWorkflowStateJob returns a new WorkflowStateJob.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ShouldFoldStatus returns a predicate that will return true when the workflow status can be folded for a given depth.
StripBytesAnsi removes all ansi codes from a byte array.
WithInterrupts sets the signals that will interrupt the tracer.
WithOptions sets the view options for the tracer.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
ActivityExecutionState is a snapshot of the state of an Activity's Execution.
ExecutionTemplate contains the necessary templates and utilities to render WorkflowExecutionState and its child states.
No description provided by the author
StatusIcon has names for each status (useful for help messages).
No description provided by the author
TimerExecutionState contains information about a Timer as an execution.
WorkflowExecutionState is a snapshot of the state of a WorkflowExecution.
No description provided by the author
WorkflowExecutionUpdateIteratorImpl implements the iterator interface.
WorkflowStateJob implements a WorkerJob to retrieve updates for a WorkflowExecutionState and its child workflows.
No description provided by the author
No description provided by the author
# Interfaces
ExecutionState provides a common interface to any execution (Workflows, Activities and Timers in this case) updated through HistoryEvents.
WorkflowExecutionUpdateIterator is the interface the provides iterative updates, analogous to the HistoryEventIterator interface.
# Type aliases
ActivityExecutionStatus is the Status of an ActivityExecution, analogous to enums.WorkflowExecutionStatus.
TimerExecutionStatus is the Status of a TimerExecution, analogous to enums.WorkflowExecutionStatus.