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 PrintExecutionURIs(execution *testkube.Execution, dashboardURI string)
- func PrintTestSuiteExecutionURIs(execution *testkube.TestSuiteExecution, dashboardURI string)
- func RenderExecutionResult(client client.Client, execution *testkube.Execution, logsOnly bool) error
- 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 PrintExecutionURIs ¶ added in v1.15.0
func PrintTestSuiteExecutionURIs ¶ added in v1.15.0
func PrintTestSuiteExecutionURIs(execution *testkube.TestSuiteExecution, dashboardURI string)
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.