Documentation ¶
Index ¶
- func List(cmd *cobra.Command, obj interface{}, w io.Writer) error
- func Obj(cmd *cobra.Command, obj interface{}, w io.Writer, renderer ...CliObjRenderer) error
- func RenderExecutionResult(execution *testkube.Execution)
- func RenderGoTemplate(item interface{}, w io.Writer, tpl string) error
- func RenderGoTemplateList(list []interface{}, w io.Writer, tpl string) error
- func RenderJSON(obj interface{}, w io.Writer) error
- func RenderPrettyList(obj ui.TableData, w io.Writer) error
- func RenderYaml(obj interface{}, w io.Writer) error
- type CliObjRenderer
- type OutputType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderExecutionResult ¶ added in v1.6.25
func RenderGoTemplateList ¶
func RenderJSON ¶
func RenderYaml ¶
Types ¶
type CliObjRenderer ¶
type OutputType ¶
type OutputType string
const ( OutputGoTemplate OutputType = "go" OutputJSON OutputType = "json" OutputYAML OutputType = "yaml" OutputPretty OutputType = "pretty" )
Click to show internal directories.
Click to hide internal directories.