Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogOptions ¶
type LogOptions struct {
Verbose bool
}
func (*LogOptions) RegisterFlags ¶
func (l *LogOptions) RegisterFlags(fs *flag.FlagSet)
type OutputOptions ¶
OutputOptions provides options for customizing the output.
func (*OutputOptions) RegisterFlags ¶
func (o *OutputOptions) RegisterFlags(fs *flag.FlagSet)
func (OutputOptions) Validate ¶
func (o OutputOptions) Validate() error
type SBOMOptions ¶
type SBOMOptions struct { IncludeStd bool NoSerialNumber bool Reproducible bool ResolveLicenses bool SerialNumber string }
SBOMOptions provides options for customizing the SBOM.
func (*SBOMOptions) RegisterFlags ¶
func (s *SBOMOptions) RegisterFlags(fs *flag.FlagSet)
func (SBOMOptions) Validate ¶
func (s SBOMOptions) Validate() error
type ValidationError ¶
type ValidationError struct {
Errors []error
}
ValidationError represents a validation error for options. It can contain multiple errors with details about which validation operations failed. The Errors slice should never be empty.
func (ValidationError) Error ¶
func (e ValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.