Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Error ¶
func Error(twigoError TwigoError) error
func GenerateExitCodeDocs ¶
GenerateExitCodeDocs will generate documentation for the exit codes that the cosign application will throw. Inspired by elemental-cli who convieniently solved this problem prior: https://github.com/rancher/elemental-cli/blob/main/docs/generate_docs.go there was no need to change (apart from some file paths) due to it giving us exactly what we want without error.
Types ¶
type TwigoError ¶
func (*TwigoError) ExitCode ¶
func (te *TwigoError) ExitCode() int
Click to show internal directories.
Click to hide internal directories.