Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJUnitError ¶
NewJUnitError returns a simple instance of JUnitError wrapping systemOut
Types ¶
type CustomJSON ¶
type CustomJSON struct {
// contains filtered or unexported fields
}
func NewCustomJSON ¶
func NewCustomJSON(from io.Reader) (*CustomJSON, error)
func (*CustomJSON) Add ¶
func (m *CustomJSON) Add(key, value string) error
type JUnitError ¶
type JUnitError interface { error // this should be the command output (stdout/stderr) SystemOut() string }
JUnitError represents an error with extra metadata suitable for structured (JUnit.xml) output written by kubetest2 If this type is returned as an error by a Deployer, kubetest2 may write the metadata to the output junit_runner.xml
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer manages writing out kubetest2 metadata, namely JUnit
func NewWriter ¶
NewWriter constructs a new writer, the junit_runner.xml contents will be written to runnerOut, with the top level kubetest2 stages as metadata (Up, Down, etc.)
Click to show internal directories.
Click to hide internal directories.