pachyderm: Index | Files

package pretty

import ""


Package Files



const (
    //TransactionHeader is the header for transactions.
    TransactionHeader = "TRANSACTION\tSTARTED\tOPS\t\n"

func PrintDetailedTransactionInfo Uses

func PrintDetailedTransactionInfo(info *PrintableTransactionInfo) error

PrintDetailedTransactionInfo prints detailed information about a transaction to stdout.

func PrintTransactionInfo Uses

func PrintTransactionInfo(w io.Writer, info *transaction.TransactionInfo, fullTimestamps bool)

PrintTransactionInfo prints a short summary of a transaction to the provided device.

type PrintableTransactionInfo Uses

type PrintableTransactionInfo struct {
    FullTimestamps bool

PrintableTransactionInfo wraps a transaction.TransactionInfo with the information needed to format it when printing.

Package pretty imports 9 packages (graph) and is imported by 1 packages. Updated 2020-01-08. Refresh now. Tools for package owners.