printers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 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.ExecutableWorkflowStatus) string

func ColorizeNodePhase

func ColorizeNodePhase(p v1alpha1.NodePhase) string

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

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

Jump to

Keyboard shortcuts

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