Documentation ¶
Index ¶
- func CalculateRuntime(s v1alpha1.ExecutableNodeStatus) string
- func CalculateWorkflowRuntime(s v1alpha1.ExecutionTimeInfo) string
- func ColorizeNodePhase(p v1alpha1.NodePhase) string
- func ColorizeWorkflowPhase(p v1alpha1.WorkflowPhase) string
- type ContextualWorkflow
- 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
- func (p WorkflowPrinter) Print(ctx context.Context, tree gotree.Tree, w v1alpha1.ExecutableWorkflow) error
- func (p WorkflowPrinter) PrintShort(tree gotree.Tree, w v1alpha1.ExecutableWorkflow) error
- func (p WorkflowPrinter) PrintSubWorkflow(ctx context.Context, tree gotree.Tree, w v1alpha1.ExecutableWorkflow, ...) error
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.ExecutionTimeInfo) string
func ColorizeNodePhase ¶
func ColorizeWorkflowPhase ¶
func ColorizeWorkflowPhase(p v1alpha1.WorkflowPhase) string
Types ¶
type ContextualWorkflow ¶ added in v0.2.28
type ContextualWorkflow struct { v1alpha1.MetaExtended v1alpha1.ExecutableSubWorkflow v1alpha1.NodeStatusGetter }
func (*ContextualWorkflow) GetExecutionConfig ¶ added in v0.3.17
func (w *ContextualWorkflow) GetExecutionConfig() v1alpha1.ExecutionConfig
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
func (WorkflowPrinter) PrintSubWorkflow ¶ added in v0.2.28
func (p WorkflowPrinter) PrintSubWorkflow(ctx context.Context, tree gotree.Tree, w v1alpha1.ExecutableWorkflow, swf v1alpha1.ExecutableSubWorkflow, ns v1alpha1.ExecutableNodeStatus) error
Click to show internal directories.
Click to hide internal directories.