types

package
v0.0.0-...-234771b Latest Latest
Warning

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

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

Documentation

Overview

Package types holds sbom related types

Index

Constants

View Source
const (
	ScanFilesystemType = "filesystem" // ScanFilesystemType defines the type for file-system scan
	ScanDaemonType     = "daemon"     // ScanDaemonType defines the type for daemon scan
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ScanOptions

type ScanOptions struct {
	Analyzers        []string
	CheckDiskUsage   bool
	MinAvailableDisk uint64
	Timeout          time.Duration
	WaitAfter        time.Duration
	Fast             bool
	UseMount         bool
	OverlayFsScan    bool
}

ScanOptions defines the scan options

type ScanRequest

type ScanRequest interface {
	Collector() string
	Type(ScanOptions) string
	ID() string
}

ScanRequest defines the scan request interface

Jump to

Keyboard shortcuts

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