target

package
v0.3.12 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// BQType is the BigQuery importer type
	BQType = "bq"
	// StdoutType is the stdout importer type
	ConsoleType = "console"
	// FileType is the file importer type
	FileType = "file"
)

Variables

View Source
var (
	// ImporterTypes is the list of supported importer types.
	ImporterTypes = []string{BQType, ConsoleType, FileType}
)

Functions

This section is empty.

Types

type Importer

type Importer func(uri string, vuls []*data.ImageVulnerability) error

Importer is the interface for importers.

func GetImporter

func GetImporter(uri string) (Importer, error)

GetImporter returns importer for the given target.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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