bugreport

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: UPL-1.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandName = "bug-report"
)

Variables

This section is empty.

Functions

func AutoBugReport added in v1.6.0

func AutoBugReport(cmd *cobra.Command, vzHelper helpers.VZHelper, err error) error

AutoBugReport checks that AutoBugReportFlag is set and then kicks off vz bugreport CLI command. It returns the same error that is passed in

func CallVzBugReport added in v1.6.0

func CallVzBugReport(cmd *cobra.Command, vzHelper helpers.VZHelper, err error) (string, error)

CallVzBugReport creates a new bug-report cobra command, initializes and sets the required flags, and runs the new command. Returns the original error that's passed in as a parameter to preserve the error received from previous cli command failure.

func NewCmdBugReport

func NewCmdBugReport(vzHelper helpers.VZHelper) *cobra.Command

NewCmdBugReport - creates cobra command for bug-report

Types

This section is empty.

Jump to

Keyboard shortcuts

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