package
17.12.1-ce-rc2+incompatible
Repository: https://github.com/mirantis/cli.git
Documentation: pkg.go.dev
# Functions
FormatError formats the error as a JSON object.
FormatStatus formats the specified objects according to the specified format (and id).
NewJSONProgressOutput returns a progress.Output that that formats output using JSON objects.
NewProgressOutput returns a progress.Output object that can be passed to progress.NewProgressReader.
NewStderrWriter returns a writer which formats the output as json message representing stderr lines.
NewStdoutWriter returns a writer which formats the output as json message representing stdout lines.
# Structs
AuxFormatter is a streamFormatter that writes aux progress messages.