Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Age ¶
func Age(timestamp *timestamppb.Timestamp, c clockwork.Clock) string
Age returns the age of the given timestamp in a human-readable format.
func Duration ¶
func Duration(timestamp1, timestamp2 *timestamppb.Timestamp) string
Duration returns the duration between two timestamps in a human-readable format.
func PrintProto ¶
PrintProto prints the given proto message to the given writer in the given format. Valid formats are: tab, textproto, json
func Status ¶
func Status(status pb.RecordSummary_Status) string
Status returns the status of the given record summary in a human-readable format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.