output

package
v0.0.0-...-02c6b06 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStatusTableRows

func GetStatusTableRows(steps []*tmv1beta1.StepStatus) [][]string

func RenderStatusTable

func RenderStatusTable(writer io.Writer, steps []*tmv1beta1.StepStatus)

RenderStatusTable creates a human readable table for testrun status steps. The steps are ordered by starttime and step name.

func RenderTestflowTable

func RenderTestflowTable(writer io.Writer, flow tmv1beta1.TestFlow)

RenderTestflowTable creates a human readable table of a testflow.

Types

type StepStatusList

type StepStatusList []*tmv1beta1.StepStatus

func (StepStatusList) Len

func (s StepStatusList) Len() int

func (StepStatusList) Less

func (s StepStatusList) Less(a, b int) bool

func (StepStatusList) Swap

func (s StepStatusList) Swap(a, b int)

Jump to

Keyboard shortcuts

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