printers

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 ColorizeNodePhase(p v1alpha1.NodePhase) string

func ColorizeWorkflowPhase

func ColorizeWorkflowPhase(p v1alpha1.WorkflowPhase) string

Types

type ContextualWorkflow added in v0.2.28

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

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 (WorkflowPrinter) PrintShort

func (WorkflowPrinter) PrintSubWorkflow added in v0.2.28

Jump to

Keyboard shortcuts

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