Documentation ¶
Index ¶
- func CalculateRuntime(s v1alpha1.ExecutableNodeStatus) string
- func CalculateWorkflowRuntime(s v1alpha1.ExecutableWorkflowStatus) string
- func ColorizeNodePhase(p v1alpha1.NodePhase) string
- func ColorizeWorkflowPhase(p v1alpha1.WorkflowPhase) string
- type NodePrinter
- type NodeStatusPrinter
- func (p NodeStatusPrinter) BaseNodeInfo(node v1alpha1.BaseNode, nodeStatus v1alpha1.ExecutableNodeStatus) []string
- func (p NodeStatusPrinter) NodeInfo(wName string, node v1alpha1.BaseNode, nodeStatus v1alpha1.ExecutableNodeStatus) []string
- func (p NodeStatusPrinter) PrintRecursive(tree gotree.Tree, wfName string, s v1alpha1.ExecutableNodeStatus) error
- type WorkflowPrinter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateRuntime ¶
func CalculateRuntime(s v1alpha1.ExecutableNodeStatus) string
func CalculateWorkflowRuntime ¶
func CalculateWorkflowRuntime(s v1alpha1.ExecutableWorkflowStatus) string
func ColorizeNodePhase ¶
func ColorizeWorkflowPhase ¶
func ColorizeWorkflowPhase(p v1alpha1.WorkflowPhase) string
Types ¶
type NodePrinter ¶
type NodePrinter struct {
NodeStatusPrinter
}
func (NodePrinter) BranchNodeInfo ¶
func (p NodePrinter) BranchNodeInfo(node v1alpha1.ExecutableNode, nodeStatus v1alpha1.ExecutableNodeStatus) []string
func (NodePrinter) PrintList ¶
func (p NodePrinter) PrintList(ctx context.Context, tree gotree.Tree, w v1alpha1.ExecutableWorkflow, nodes []v1alpha1.ExecutableNode) error
type NodeStatusPrinter ¶
type NodeStatusPrinter struct { }
func (NodeStatusPrinter) BaseNodeInfo ¶
func (p NodeStatusPrinter) BaseNodeInfo(node v1alpha1.BaseNode, nodeStatus v1alpha1.ExecutableNodeStatus) []string
func (NodeStatusPrinter) NodeInfo ¶
func (p NodeStatusPrinter) NodeInfo(wName string, node v1alpha1.BaseNode, nodeStatus v1alpha1.ExecutableNodeStatus) []string
func (NodeStatusPrinter) PrintRecursive ¶
func (p NodeStatusPrinter) PrintRecursive(tree gotree.Tree, wfName string, s v1alpha1.ExecutableNodeStatus) error
type WorkflowPrinter ¶
type WorkflowPrinter struct { }
func (WorkflowPrinter) Print ¶
func (p WorkflowPrinter) Print(ctx context.Context, tree gotree.Tree, w v1alpha1.ExecutableWorkflow) error
func (WorkflowPrinter) PrintShort ¶
func (p WorkflowPrinter) PrintShort(tree gotree.Tree, w v1alpha1.ExecutableWorkflow) error
Click to show internal directories.
Click to hide internal directories.