Documentation ¶
Overview ¶
TODO will be moved to testkube lib when completed
Index ¶
Constants ¶
View Source
const TypeError = "error"
View Source
const TypeLogEvent = "event"
View Source
const TypeLogLine = "line"
View Source
const TypeResult = "result"
Variables ¶
This section is empty.
Functions ¶
func PrintError ¶
func PrintError(err error)
func PrintEvent ¶
func PrintEvent(message string, obj ...interface{})
func PrintResult ¶
func PrintResult(result testkube.ExecutionResult)
Types ¶
type JSONWrapWriter ¶
type JSONWrapWriter struct {
// contains filtered or unexported fields
}
func NewJSONWrapWriter ¶
func NewJSONWrapWriter(writer io.Writer) *JSONWrapWriter
type Output ¶
type Output struct { Type string `json:"type,omitempty"` Message string `json:"message,omitempty"` Content interface{} `json:"content,omitempty"` }
func NewOutputError ¶
func NewOutputEvent ¶
func NewOutputLine ¶
func NewOutputResult ¶
func NewOutputResult(result testkube.ExecutionResult) Output
Click to show internal directories.
Click to hide internal directories.