pachyderm: github.com/pachyderm/pachyderm/src/server/transaction/pretty Index | Files

package pretty

import "github.com/pachyderm/pachyderm/src/server/transaction/pretty"

Index

Package Files

pretty.go

Constants

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 {
    *transaction.TransactionInfo
    FullTimestamps bool
}

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

Package pretty imports 8 packages (graph) and is imported by 1 packages. Updated 2019-12-14. Refresh now. Tools for package owners.