Documentation
¶
Overview ¶
Package sbom provides lock-file-backed software bill of materials commands.
Index ¶
- func SetAtmosConfig(config *schema.AtmosConfiguration)
- type CommandProvider
- func (CommandProvider) GetAliases() []internal.CommandAlias
- func (CommandProvider) GetCommand() *cobra.Command
- func (CommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
- func (CommandProvider) GetFlagsBuilder() flags.Builder
- func (CommandProvider) GetGroup() string
- func (CommandProvider) GetName() string
- func (CommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
- func (CommandProvider) IsExperimental() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAtmosConfig ¶
func SetAtmosConfig(config *schema.AtmosConfiguration)
SetAtmosConfig provides the initialized project configuration to SBOM commands.
Types ¶
type CommandProvider ¶
type CommandProvider struct{}
CommandProvider registers the SBOM command with the command registry.
func (CommandProvider) GetAliases ¶
func (CommandProvider) GetAliases() []internal.CommandAlias
GetAliases returns no aliases.
func (CommandProvider) GetCommand ¶
func (CommandProvider) GetCommand() *cobra.Command
GetCommand returns the SBOM root command.
func (CommandProvider) GetCompatibilityFlags ¶
func (CommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag
GetCompatibilityFlags returns no compatibility flags.
func (CommandProvider) GetFlagsBuilder ¶
func (CommandProvider) GetFlagsBuilder() flags.Builder
GetFlagsBuilder returns no shared flags.
func (CommandProvider) GetGroup ¶
func (CommandProvider) GetGroup() string
GetGroup returns the command help group.
func (CommandProvider) GetName ¶
func (CommandProvider) GetName() string
GetName returns the command name.
func (CommandProvider) GetPositionalArgsBuilder ¶
func (CommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder
GetPositionalArgsBuilder returns no positional argument builder.
func (CommandProvider) IsExperimental ¶
func (CommandProvider) IsExperimental() bool
IsExperimental reports that the command is experimental until the lock-file contract has completed its first compatibility cycle.