format

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dependencies

func Dependencies(dependencies map[string]proto.TaskRequiredParentState) []string

func Duration

func Duration(start, end int64) string

Duration returns a humanized duration time for two epoch milli second times.

func Health

func Health(states []string, emoji bool) string

func PipelineState

func PipelineState(state string) string

func PipelineTriggerConfigState added in v0.0.3

func PipelineTriggerConfigState(state string) string

func RunState

func RunState(state string) string

func SliceJoin

func SliceJoin(slice []string, msg string) string

func TaskRunState

func TaskRunState(state string) string

func TriggerState

func TriggerState(state string) string

func UnixMilli

func UnixMilli(unix int64, zeroMsg string, detail bool) string

UnixMilli returns a humanized version of time given in unix millisecond. The zeroMsg is the string returned when the time is 0 and assumed to be not set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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