idb

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDB

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

IDB treats the APK installed DB as an SBOM, which can be used with `apk audit` to check an image for runtime deviations.

func New

func New(fs apkfs.FullFS) IDB

func (*IDB) Ext

func (i *IDB) Ext() string

func (*IDB) Generate

func (i *IDB) Generate(opts *options.Options, path string) error

Generate copies the IDB from the work directory and saves it as an SBOM.

func (*IDB) GenerateIndex added in v0.5.0

func (i *IDB) GenerateIndex(opts *options.Options, path string) error

func (*IDB) Key

func (i *IDB) Key() string

Jump to

Keyboard shortcuts

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