package
0.0.0-20181029175427-e830cc0dd7b0
Repository: https://github.com/soltysh/cli-runtime.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
NewDiscardingPrinter is a printer that discards all objects.
No description provided by the author
No description provided by the author
NewTypeSetter constructs a wrapping printer with required params.
# Variables
No description provided by the author
No description provided by the author
# Structs
GoTemplatePrinter is an implementation of ResourcePrinter which formats data with a Go Template.
JSONPathPrinter is an implementation of ResourcePrinter which formats data with jsonpath expression.
JSONPrinter is an implementation of ResourcePrinter which outputs an object as JSON.
NamePrinter is an implementation of ResourcePrinter which outputs "resource/name" pair of an object.
TypeSetterPrinter is an implementation of ResourcePrinter wraps another printer with types set on the objects.
YAMLPrinter is an implementation of ResourcePrinter which outputs an object as YAML.
# Interfaces
ResourcePrinter is an interface that knows how to print runtime objects.
# Type aliases
ResourcePrinterFunc is a function that can print objects.