Help us shape the future of Go! Take the 2026 Go Developer Survey

resetfailure

package
v1.25.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:     "reset-failure",
	Short:   "Add an empty Failure entry to the junit report",
	Long:    `Add an empty Failure entry to the junit report`,
	Example: `junit-report reset-failure --path /logs/artifacts/junit_report.xml`,
	Args:    cobra.ExactArgs(0),
	RunE: func(cmd *cobra.Command, _ []string) error {
		cmd.SilenceUsage = true
		return ResetFailure(reportFile)
	},
}

Cmd is the Cobra object representing the junit-report reset-failure command

Functions

func ResetFailure

func ResetFailure(path string) error

ResetFailure adds a Failure entry to the report.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL