edit

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SBOMASM         = "sbomasm"
	SBOMASM_VERSION = "0.1.9"
)

Variables

This section is empty.

Functions

func Edit

func Edit(eParams *EditParams) error

func NewCdxEditDoc

func NewCdxEditDoc(b *cydx.BOM, c *configParams) *cdxEditDoc

func NewSpdxEditDoc

func NewSpdxEditDoc(bom *spdx.Document, c *configParams) *spdxEditDoc

Types

type EditParams

type EditParams struct {
	Ctx *context.Context

	Input  string
	Output string

	Subject string
	Search  string

	Append  bool
	Missing bool

	Name        string
	Version     string
	Supplier    string
	Timestamp   bool
	Authors     []string
	Purl        string
	Cpe         string
	Licenses    []string
	Hashes      []string
	Tools       []string
	CopyRight   string
	Lifecycles  []string
	Description string
	Repository  string
	Type        string
}

EditParams represents the parameters for the edit command

func NewEditParams

func NewEditParams() *EditParams

type SearchParams

type SearchParams struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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