Help us shape the future of Go! Take the 2026 Go Developer Survey

commands

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: AGPL-3.0 Imports: 50 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRootCmd added in v1.0.0

func GetRootCmd() *cobra.Command

func NewDaemonCommand added in v0.17.0

func NewDaemonCommand() *cobra.Command

func NewEncryptionCommand added in v1.6.0

func NewEncryptionCommand() *cobra.Command

func NewGenAdminKeyCommand added in v1.6.1

func NewGenAdminKeyCommand() *cobra.Command

func NewLicensesCommand added in v0.17.0

func NewLicensesCommand() *cobra.Command

func NewMigrateCommand added in v1.0.0

func NewMigrateCommand() *cobra.Command

func NewSBOMCommand added in v1.0.0

func NewSBOMCommand() *cobra.Command

func NewTrustScoreCommand added in v1.2.0

func NewTrustScoreCommand() *cobra.Command

func NewVulndbCommand

func NewVulndbCommand() *cobra.Command

Types

type CrowdResult added in v1.2.0

type CrowdResult struct {
	ConfidenceScore float64
	Rule            string
}

func CalculateConfidenceScoreForPath added in v1.2.0

func CalculateConfidenceScoreForPath(ctx context.Context, rules []models.VEXRule, markedAsAffected []models.VEXRule, trustedEntities []models.TrustedEntity) ([]CrowdResult, error)

type PackageMapping added in v1.0.0

type PackageMapping struct {
	Debian map[string]string `json:"debian"`
	Alpine map[string]string `json:"alpine"`
}

Jump to

Keyboard shortcuts

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