Documentation ¶
Index ¶
- Constants
- func PrintDatumInfo(w io.Writer, datumInfo *ppsclient.DatumInfo)
- func PrintDatumInfoHeader(w io.Writer)
- func PrintDetailedDatumInfo(w io.Writer, datumInfo *ppsclient.DatumInfo)
- func PrintDetailedJobInfo(jobInfo *ppsclient.JobInfo) error
- func PrintDetailedPipelineInfo(pipelineInfo *ppsclient.PipelineInfo) error
- func PrintFile(w io.Writer, file *pfsclient.File)
- func PrintFileHeader(w io.Writer)
- func PrintJobHeader(w io.Writer)
- func PrintJobInfo(w io.Writer, jobInfo *ppsclient.JobInfo)
- func PrintPipelineHeader(w io.Writer)
- func PrintPipelineInfo(w io.Writer, pipelineInfo *ppsclient.PipelineInfo)
- func PrintWorkerStatus(w io.Writer, workerStatus *ppsclient.WorkerStatus)
- func PrintWorkerStatusHeader(w io.Writer)
- func ShorthandInput(input *ppsclient.Input) string
Constants ¶
const ( // PipelineHeader is the header for pipelines. PipelineHeader = "NAME\tINPUT\tOUTPUT\tCREATED\tSTATE\t\n" // JobHeader is the header for jobs JobHeader = "ID\tOUTPUT COMMIT\tSTARTED\tDURATION\tRESTART\tPROGRESS\tDL\tUL\tSTATE\t\n" // DatumHeader is the header for datums DatumHeader = "ID\tSTATUS\tTIME\t\n" )
Variables ¶
This section is empty.
Functions ¶
func PrintDatumInfo ¶ added in v1.5.2
PrintDatumInfo pretty-prints file info. If recurse is false and directory size is 0, display "-" instead If fast is true and file size is 0, display "-" instead
func PrintDatumInfoHeader ¶ added in v1.5.2
PrintDatumInfoHeader prints a file info header.
func PrintDetailedDatumInfo ¶ added in v1.5.2
PrintDetailedDatumInfo pretty-prints detailed info about a datum
func PrintDetailedJobInfo ¶ added in v1.1.0
PrintDetailedJobInfo pretty-prints detailed job info.
func PrintDetailedPipelineInfo ¶ added in v1.1.0
func PrintDetailedPipelineInfo(pipelineInfo *ppsclient.PipelineInfo) error
PrintDetailedPipelineInfo pretty-prints detailed pipeline info.
func PrintFileHeader ¶ added in v1.7.0
PrintFileHeader prints the header for a pfs file.
func PrintJobInfo ¶
PrintJobInfo pretty-prints job info.
func PrintPipelineHeader ¶
PrintPipelineHeader prints a pipeline header.
func PrintPipelineInfo ¶
func PrintPipelineInfo(w io.Writer, pipelineInfo *ppsclient.PipelineInfo)
PrintPipelineInfo pretty-prints pipeline info.
func PrintWorkerStatus ¶ added in v1.4.4
func PrintWorkerStatus(w io.Writer, workerStatus *ppsclient.WorkerStatus)
PrintWorkerStatus pretty prints a worker status.
func PrintWorkerStatusHeader ¶ added in v1.4.4
PrintWorkerStatusHeader pretty prints a worker status header.
func ShorthandInput ¶ added in v1.7.0
ShorthandInput renders a pps.Input as a short, readable string
Types ¶
This section is empty.