Documentation
¶
Index ¶
- Constants
- type Inventory
- func (i *Inventory) AddPackage(ctx context.Context, pkg *models.PackageInsights, workdir string) error
- func (i *Inventory) Findings(ctx context.Context) (*opa.FindingsResult, error)
- func (i *Inventory) Purls() []string
- func (i *Inventory) Reputation(ctx context.Context) (*pkgsupply.ReputationResponse, error)
- type ReputationClient
- type Scanner
Constants ¶
View Source
const MAX_DEPTH = 150
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inventory ¶
type Inventory struct {
Packages []*models.PackageInsights
// contains filtered or unexported fields
}
func NewInventory ¶
func (*Inventory) AddPackage ¶
func (*Inventory) Reputation ¶
type ReputationClient ¶
Click to show internal directories.
Click to hide internal directories.