Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetVersionInfo ¶
func SetVersionInfo(v, c, d string)
Types ¶
type ErrCIFailed ¶ added in v1.2.2
type ErrCIFailed struct{}
ErrCIFailed signals that one or more CI rules did not pass. main.go maps this sentinel to exit code 1; any other non-nil error returned from cobra exits 2. The report has already been printed to stdout by the time this is returned, so the caller should not print the error message itself.
func (*ErrCIFailed) Error ¶ added in v1.2.2
func (e *ErrCIFailed) Error() string
Click to show internal directories.
Click to hide internal directories.