sbom

package
v1.225.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package sbom provides lock-file-backed software bill of materials commands.

Index

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.

Jump to

Keyboard shortcuts

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